You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example, new sensors are created during PreUpdate (together with the SensorTopic component) and then updated with environmental data during PostUpdate.
In internal systems, sensors are partially created during PostUpdate and then during next PreUpdate all new sensors have SensorTopic component added.
I'm not sure if this is intentional but in my opinion should be either aligned or explained somewhere as it seems quite confusing to determine the correct way.
The text was updated successfully, but these errors were encountered:
Description
Hi, I have noticed that the implementation of the example custom sensor system (https://github.com/gazebosim/gz-sim/blob/gz-sim8/examples/plugin/custom_sensor_system/OdometerSystem.cc) diverges from the implementation used internally in gazebo (https://github.com/gazebosim/gz-sim/blob/gz-sim8/src/systems/altimeter/Altimeter.cc).
In the example, new sensors are created during PreUpdate (together with the SensorTopic component) and then updated with environmental data during PostUpdate.
In internal systems, sensors are partially created during PostUpdate and then during next PreUpdate all new sensors have SensorTopic component added.
I'm not sure if this is intentional but in my opinion should be either aligned or explained somewhere as it seems quite confusing to determine the correct way.
The text was updated successfully, but these errors were encountered: