Teleop Consumers Lookup - umrover/mrover-ros2 GitHub Wiki
Consumers handle communication to ROS2 topics and services, as well as frontend websockets
With the 25' school year, we have switched from one main consumers.py file to multiple consumers to increase the bandwidth and reduce latency to the frontend.
Each consumer corresponds to a core function of the rover, such as the robotic arm, autonomous navigation, etc.
Check which websockets a certain mission uses
autondrivenavsciencewaypoints
armdrivemastnavwaypoints
science
armmastnavsciencewaypoints
Check below to see which consumer handles a topic or service
websocket: arm
arm_throttle_cmdee_pos_cmdee_vel_cmdcontroller_cmd_velsa_throttle_cmd
arm_controller_statearm_joint_data
ra_controllerra_modesa_controllersa_mode
websocket: auton
enable_teleopenable_auton
teleop_enableauton_enable
websocket: drive
joystick_cmd_vel
drive_left_controller_datadrive_right_controller_datadrive_controller_data
joystick
websocket: mast
mast_gimbal_throttle_cmd
mast_keyboard
websocket: nav
nav_stategps/fixbasestation/positiondrone_odometry
websocket: science
ledscience_thermistorsscience_heater_statescience_oxygen_datascience_methane_datascience_uv_datascience_temperature_datascience_humidity_datasa_controller_statesa_gear_diff_position
science_change_heater_auto_shutoff_statesa_enable_limit_switch_sensor_actuatorsa_gear_diff_set_position-
science_enable_heater_<name>(one pernameinheater_names) science_enable_white_led_ascience_enable_white_led_b
heater_enableset_gear_diff_posauto_shutoffwhite_ledsls_toggle
websocket: waypoints
save_auton_waypoint_listsave_basic_waypoint_listsave_current_auton_coursesave_current_basic_coursedelete_auton_waypoint_from_courseget_basic_waypoint_listget_auton_waypoint_listget_current_basic_courseget_current_auton_course