我想在我的proto中使用一个设备,但是,我得到了这样的警告:(PROTO) > Solid > BallJoint: Skipped : Cannot insert RotationalMotor node in‘BallJoint’in BallJoint node。有什么办法解决这个问题吗?下面是我对它的定义:
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 {
}
}
}发布于 2019-07-25 20:56:05
这实际上是一个Webots bug。你可以在这里找到解决方案:https://github.com/omichel/webots/pull/756
https://stackoverflow.com/questions/57142908
复制相似问题