The purpose of this issue is to update the physics engine node (boat_simulator/nodes/physics_engine/physics_engine_node.py) to use the WindSensor class.
Create a new private method: __update_wind_sensor() and update the wind attribute of the WindSensor instance you created in step 1 using the wind generator (self.__wind_generator).
Call this method right before self.__update_boat_state() in the __publish() function.
Update the self.__update_boat_state() method to use the wind sensor data rather than the wind generator so that we introduce noise.
Purpose
The purpose of this issue is to update the physics engine node (
boat_simulator/nodes/physics_engine/physics_engine_node.py
) to use theWindSensor
class.Description
__update_wind_sensor()
and update the wind attribute of theWindSensor
instance you created in step 1 using the wind generator (self.__wind_generator
).self.__update_boat_state()
in the__publish()
function.self.__update_boat_state()
method to use the wind sensor data rather than the wind generator so that we introduce noise.Resources