UBCSailbot / sailbot_workspace

UBC Sailbot's monorepo
https://ubcsailbot.github.io/sailbot_workspace/main/
Apache License 2.0
4 stars 1 forks source link

Publish physics engine data #400

Open eomielan opened 1 month ago

eomielan commented 1 month ago

Purpose

The purpose of this issue is to update the physics engine node to publish real data obtained from the physics engine to the ROS network.

Description

Update the __publish_gps(), __publish_wind_sensors(), and __publish_kinematics() functions to publish real data instead of hardcoded values to the ROS network. You can assume that the boat state (self.__boat_state) and the fluid generators (self.__wind_generator and self.__current_generator) have been updated elsewhere. Take a look at the BoatState class and the FluidGenerator classes to find the information available in each to publish.

Ressources