Replies: 4 comments 3 replies
-
You could probably use wb_supervisor_node_add_force to achieve this, or use a Propeller device mounted on a pan-tilt motor system. |
Beta Was this translation helpful? Give feedback.
-
@omichel Thank you for the suggestion! My end goal is to feed the simulator XYZ values for acceleration (accelerometer) and rotation (gyro) and kind of visualize what would happen to the car during each set of values. Maybe that clears up my question. Thanks! |
Beta Was this translation helpful? Give feedback.
-
In that case, you may want to give a try to the other approach I suggested with the propeller. |
Beta Was this translation helpful? Give feedback.
-
@omichel Thank you. I was able to set up a pan-tilt motor system (I think). Here is my object tree: As for my controller code, I tried to set the acceleration to 100 as a test.
When I run the simulation, I see that the motor1's acceleration changing to 100, but the car does not move. Thank you so much. |
Beta Was this translation helpful? Give feedback.
-
Hi guys,
Is it possible to set the acceleration to a specific XYZ value?
I have a scene with a stationary vehicle. I want to set it's acceleration to, for example, X: 5.0, Y: 0.0, Z: 1.0. Is that possible?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions