WEBOTS:两轮平台和稳定设置

WEBOTS: Two-wheeled platform and stabilization setting

我创建了一个我想要稳定的两轮平台。但是我不明白是通过什么设备或者是通过程序代码来实现的。

我希望平台是直立的。

您可能需要添加一个陀螺仪(https://www.cyberbotics.com/doc/reference/gyro) and an Inertial Unit (https://cyberbotics.com/doc/reference/inertialunit)来了解机器人的角度和旋转速度。

您还可以在此处找到这方面的示例(不完全相似,因为它使用位置传感器来了解另一个 Solid 节点的角度): https://robotbenchmark.net/benchmark/inverted_pendulum/