Robotics StackExchange | Archived questions

How to create sensor that is affected by environment stimuli of simulation?

Hello,

How must I go about creating a sensor plugin that is affected by environment stimuli of the simulation (e.g. a sensor whose values are affected by the wind speed)?

Asked by ymoghadd on 2023-06-27 13:44:34 UTC

Comments

Answers

There is a function Wind() available from the physics::World which gives you the wind used in this world. From that, wind's velocity can be obtained, and even modified.

Asked by Veerachart on 2023-06-28 20:26:26 UTC

Comments