Teleop Consumers Lookup
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.
Websocket Usage per Mission
Section titled “Websocket Usage per Mission”Check which websockets a certain mission uses
autondrivenavsciencewaypoints
armdrivemastnavwaypoints
science
armmastnavsciencewaypoints
Topic and Service consumer lookup
Section titled “Topic and Service consumer lookup”Check below to see which consumer handles a topic or service
ArmConsumer
Section titled “ArmConsumer”websocket: arm
Publishing
Section titled “Publishing”arm_throttle_cmdee_pos_cmdee_vel_cmdcontroller_cmd_velsa_throttle_cmd
Forwarding
Section titled “Forwarding”arm_controller_statearm_joint_data
Receiving
Section titled “Receiving”ra_controllerra_modesa_controllersa_mode
AutonConsumer
Section titled “AutonConsumer”websocket: auton
Services
Section titled “Services”enable_teleopenable_auton
Receiving
Section titled “Receiving”teleop_enableauton_enable
DriveConsumer
Section titled “DriveConsumer”websocket: drive
Publishing
Section titled “Publishing”joystick_cmd_vel
Forwarding
Section titled “Forwarding”drive_left_controller_datadrive_right_controller_datadrive_controller_data
Receiving
Section titled “Receiving”joystick
MastConsumer
Section titled “MastConsumer”websocket: mast
Publishing
Section titled “Publishing”mast_gimbal_throttle_cmd
Receiving
Section titled “Receiving”mast_keyboard
NavConsumer
Section titled “NavConsumer”websocket: nav
Forwarding
Section titled “Forwarding”nav_stategps/fixbasestation/positiondrone_odometry
ScienceConsumer
Section titled “ScienceConsumer”websocket: science
Forwarding
Section titled “Forwarding”ledscience_thermistorsscience_heater_statescience_oxygen_datascience_methane_datascience_uv_datascience_temperature_datascience_humidity_datasa_controller_statesa_gear_diff_position
Services
Section titled “Services”science_change_heater_auto_shutoff_statesa_enable_limit_switch_sensor_actuatorsa_gear_diff_set_positionscience_enable_heater_<name>(one pernameinheater_names)science_enable_white_led_ascience_enable_white_led_b
Receiving
Section titled “Receiving”heater_enableset_gear_diff_posauto_shutoffwhite_ledsls_toggle
WaypointsConsumer
Section titled “WaypointsConsumer”websocket: waypoints
Receiving
Section titled “Receiving”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