Abstract¶
The physics of a task dictate how fast a controller should run to perform it. Balancing, in particular, is a rather low-frequency task: it was demonstrated (in theory and on real hardware) that a DCM-based controller can balance an adult-size humanoid while running at only 10 Hz. In this talk, we will discuss how this property allows us to write more control-critical code in a high-level language like Python. We will illustrate our points with practical sub-modules from two controllers: the LIPM walking controller for HRP humanoids, implemented with mc_rtc, and the Pink controller for the Upkie wheeled-biped, implemented with Vulp (🦊).
Content¶
Slides | |
Python code from the slides | |
Motion control software for the Upkie wheeled biped |
Discussion ¶
You can subscribe to this Discussion's atom feed to stay tuned.
-
Yuichi Tazaki
Posted on
Does Vulp run on Windows? This would be helpful when setting up a teaching environment for students.
-
Stéphane
Posted on
Currently Vulp only supports Linux for x86 and ARM architectures, which is Upkie's use case. We can add Windows support to the roadmap: #3.
Note however that Vulp targets mostly researchers, research engineers, or PhD students. It may have some rough edges for students earlier in the learning curve.
-
-
Takumi Kamioka
Posted on
This question is about balancing as a low-frequency task (slide 26 about this work). Isn't this result assuming continuous-time control at some stage?
-
Stéphane
Posted on
We indeed need to specify what is discretized exactly. In this analysis, the continuous-time DCM dynamics are discretized with sampling time . Meanwhile, force control is assumed to run in an underlying continuous process, but its outcome (e.g. delay) is lumped in a ZMP tracking error at the next sampling time.
-
Yuichi Tazaki
Posted on
I have a follow-up question: does this work consider the distance from the ZMP to the edge of its support area?
It seems the maximum sampling period would become smaller as this distance shrinks.
-
Stéphane
Posted on
Indeed, this analysis does not consider the distance to the edge of the support area.
I agree with you that the maximum sampling period should be affected by the position of the ZMP within its support area.
-
-
-
Yuki Onishi
Posted on
You mentioned Rust and Julia. Do you have plans to extend Vulp to these languages?
-
Stéphane
Posted on
Vulp being a protocol, it is open to implementation in either Rust or Julia. Rust has proper safety guarantees compared to C++, and Julia performs faster than Python with roughly the same level of abstraction—although, regarding this last point, we saw in this presentation that the current performance of Python is already sufficient for many balancing use cases. Personally I'm interested in Rust's guarantees and type system.
-
Yuki Onishi
Posted on
That's good to hear! I contribute to OpenRR, the Open Rust Robotics platform. You should check it out.
-
-
-
Feel free to post a comment by e-mail using the form below. Your e-mail address will not be disclosed.