webots - 为什么我不能在我的原型的 BallJoint 节点的“设备”字段中插入 RotationalMotor 节点?
问题描述
我想在我的原型中使用 BallJoint 但是,我收到此警告:(PROTO)> Solid > BallJoint:跳过节点:无法在 BallJoint 节点的“设备”字段中插入 RotationalMotor 节点。任何想法如何解决这一问题?我是这样定义它的:
BallJoint {
jointParameters BallJointParameters {
anchor 0 0.05 0
}
device [
RotationalMotor {
name "motor 1"
maxVelocity 1
}
]
device2 [
RotationalMotor {
name "motor 2"
maxVelocity 1
minPosition -1.5707963267948966
maxPosition 1.5707963267948966
}
]
device3 [
RotationalMotor {
name "motor 3"
maxVelocity 1
}
]
endPoint Solid {
translation 0 0.05 0
children [
Shape {
appearance BrushedAluminium {
}
geometry DEF SPHERE Sphere {
radius 0.03
subdivision 32
ico FALSE
}
}
]
boundingObject USE SPHERE
physics Physics {
}
}
}
解决方案
这实际上是一个Webots 错误。你可以在这里找到修复:https ://github.com/omichel/webots/pull/756
推荐阅读
- excel - 在范围内的值上构建组合框列表跳过空单元格
- ios - 是否可以使用 xcodebuild 而完全不使用 Xcode 来开发 iOS 应用程序?
- modelica - 循环使用注释创建和声明对象
- amazon-web-services - Codebuild 没有安装 PHP 包
- python-3.x - 在 Python 中查找任何给定年份的 6 月和 12 月的最后营业日期
- clipboard - 从 Windows 的 linux 子系统中的剪贴板进行管道传输
- javascript - 从 PHP 执行 Puppeteer 突然停止工作
- c++ - 如何保存计时器按钮状态的值?
- spring-amqp - Spring Amqp - DB Batch 运行时动态禁用/启用 RabbitListener
- c - C 编译器如何为位域定义的结构分配结构内存?