Browse Source
1. The RTPS IDs are now automatically assigned to the topics 2. Only the topics that get defined to be sent or received in the urtps_bridge_topics.yaml (renamed, since now it doesn't contain IDs) receive the IDs 3. Any addition or removal on the urtps_bridge_topics.yaml file might update the topic IDs - this will require that the agent and the client ID list has to be in sync. This will further require a robustification of the way we check the IDs and the message definitions when starting the bridge.master
TSC21
4 years ago
committed by
Nuno Marques
19 changed files with 225 additions and 801 deletions
@ -1,460 +0,0 @@
@@ -1,460 +0,0 @@
|
||||
rtps: |
||||
- msg: actuator_armed |
||||
id: 0 |
||||
- msg: actuator_controls |
||||
id: 1 |
||||
- msg: actuator_outputs |
||||
id: 3 |
||||
- msg: adc_report |
||||
id: 4 |
||||
- msg: airspeed |
||||
id: 5 |
||||
- msg: battery_status |
||||
id: 6 |
||||
- msg: camera_capture |
||||
id: 7 |
||||
- msg: camera_trigger |
||||
id: 8 |
||||
- msg: collision_report |
||||
id: 9 |
||||
- msg: commander_state |
||||
id: 10 |
||||
- msg: cpuload |
||||
id: 11 |
||||
- msg: debug_array |
||||
id: 12 |
||||
receive: true |
||||
- msg: debug_key_value |
||||
id: 13 |
||||
receive: true |
||||
- msg: debug_value |
||||
id: 14 |
||||
receive: true |
||||
- msg: debug_vect |
||||
id: 15 |
||||
receive: true |
||||
- msg: differential_pressure |
||||
id: 16 |
||||
- msg: distance_sensor |
||||
id: 17 |
||||
- msg: estimator_innovations |
||||
id: 18 |
||||
- msg: ekf2_timestamps |
||||
id: 19 |
||||
- msg: ekf_gps_drift |
||||
id: 20 |
||||
- msg: sensor_gps |
||||
id: 21 |
||||
- msg: esc_report |
||||
id: 22 |
||||
- msg: esc_status |
||||
id: 23 |
||||
- msg: estimator_status |
||||
id: 24 |
||||
- msg: follow_target |
||||
id: 25 |
||||
- msg: geofence_result |
||||
id: 26 |
||||
- msg: gps_dump |
||||
id: 27 |
||||
- msg: gps_inject_data |
||||
id: 28 |
||||
- msg: home_position |
||||
id: 29 |
||||
- msg: input_rc |
||||
id: 30 |
||||
send: true |
||||
- msg: iridiumsbd_status |
||||
id: 31 |
||||
- msg: irlock_report |
||||
id: 32 |
||||
- msg: landing_target_innovations |
||||
id: 33 |
||||
- msg: landing_target_pose |
||||
id: 34 |
||||
- msg: led_control |
||||
id: 35 |
||||
- msg: log_message |
||||
id: 36 |
||||
- msg: manual_control_setpoint |
||||
id: 37 |
||||
- msg: mavlink_log |
||||
id: 38 |
||||
- msg: mission |
||||
id: 39 |
||||
- msg: mission_result |
||||
id: 40 |
||||
- msg: mount_orientation |
||||
id: 41 |
||||
- msg: multirotor_motor_limits |
||||
id: 42 |
||||
- msg: obstacle_distance |
||||
id: 43 |
||||
- msg: offboard_control_mode |
||||
id: 44 |
||||
receive: true |
||||
- msg: optical_flow |
||||
id: 45 |
||||
receive: true |
||||
- msg: parameter_update |
||||
id: 46 |
||||
- msg: ping |
||||
id: 47 |
||||
- msg: position_controller_landing_status |
||||
id: 48 |
||||
- msg: position_controller_status |
||||
id: 49 |
||||
- msg: position_setpoint |
||||
id: 50 |
||||
receive: true |
||||
- msg: position_setpoint_triplet |
||||
id: 51 |
||||
receive: true |
||||
- msg: power_button_state |
||||
id: 52 |
||||
- msg: pwm_input |
||||
id: 53 |
||||
- msg: qshell_req |
||||
id: 54 |
||||
- msg: qshell_retval |
||||
id: 55 |
||||
- msg: radio_status |
||||
id: 56 |
||||
- msg: rate_ctrl_status |
||||
id: 57 |
||||
- msg: rc_channels |
||||
id: 58 |
||||
- msg: rc_parameter_map |
||||
id: 59 |
||||
- msg: safety |
||||
id: 60 |
||||
- msg: satellite_info |
||||
id: 61 |
||||
send: true |
||||
- msg: sensor_accel |
||||
id: 62 |
||||
- msg: sensor_baro |
||||
id: 63 |
||||
- msg: estimator_sensor_bias |
||||
id: 64 |
||||
- msg: sensor_combined |
||||
id: 65 |
||||
send: true |
||||
- msg: sensor_correction |
||||
id: 66 |
||||
- msg: sensor_gyro |
||||
id: 67 |
||||
- msg: sensor_mag |
||||
id: 68 |
||||
- msg: sensors_status_imu |
||||
id: 69 |
||||
- msg: sensor_selection |
||||
id: 70 |
||||
- msg: px4io_status |
||||
id: 71 |
||||
- msg: system_power |
||||
id: 73 |
||||
- msg: task_stack_info |
||||
id: 74 |
||||
- msg: tecs_status |
||||
id: 75 |
||||
- msg: telemetry_status |
||||
id: 76 |
||||
receive: true |
||||
- msg: test_motor |
||||
id: 77 |
||||
- msg: timesync |
||||
id: 78 |
||||
receive: true |
||||
send: true |
||||
- msg: trajectory_waypoint |
||||
id: 79 |
||||
send: true |
||||
- msg: transponder_report |
||||
id: 80 |
||||
- msg: tune_control |
||||
id: 81 |
||||
- msg: uavcan_parameter_request |
||||
id: 82 |
||||
- msg: uavcan_parameter_value |
||||
id: 83 |
||||
- msg: ulog_stream |
||||
id: 84 |
||||
- msg: ulog_stream_ack |
||||
id: 85 |
||||
- msg: vehicle_air_data |
||||
id: 86 |
||||
- msg: vehicle_attitude |
||||
id: 87 |
||||
send: true |
||||
- msg: vehicle_attitude_setpoint |
||||
id: 88 |
||||
- msg: vehicle_command |
||||
id: 89 |
||||
receive: true |
||||
- msg: vehicle_command_ack |
||||
id: 90 |
||||
- msg: vehicle_constraints |
||||
id: 91 |
||||
- msg: vehicle_control_mode |
||||
id: 92 |
||||
send: true |
||||
- msg: vehicle_global_position |
||||
id: 93 |
||||
- msg: vehicle_gps_position |
||||
id: 94 |
||||
- msg: vehicle_land_detected |
||||
id: 95 |
||||
- msg: vehicle_local_position |
||||
id: 96 |
||||
send: true |
||||
- msg: vehicle_local_position_setpoint |
||||
id: 97 |
||||
receive: true |
||||
- msg: vehicle_magnetometer |
||||
id: 98 |
||||
- msg: vehicle_odometry |
||||
id: 99 |
||||
send: true |
||||
- msg: vehicle_rates_setpoint |
||||
id: 100 |
||||
- msg: vehicle_roi |
||||
id: 101 |
||||
- msg: vehicle_status |
||||
id: 102 |
||||
send: true |
||||
- msg: vehicle_status_flags |
||||
id: 103 |
||||
- msg: vehicle_trajectory_waypoint |
||||
id: 104 |
||||
receive: true |
||||
- msg: vtol_vehicle_status |
||||
id: 105 |
||||
- msg: wind |
||||
id: 106 |
||||
- msg: collision_constraints |
||||
id: 107 |
||||
send: true |
||||
- msg: orbit_status |
||||
id: 108 |
||||
- msg: power_monitor |
||||
id: 109 |
||||
- msg: landing_gear |
||||
id: 110 |
||||
- msg: wheel_encoders |
||||
id: 111 |
||||
- msg: vehicle_angular_velocity |
||||
id: 112 |
||||
send: true |
||||
- msg: vehicle_acceleration |
||||
id: 113 |
||||
- msg: airspeed_validated |
||||
id: 115 |
||||
- msg: onboard_computer_status |
||||
id: 116 |
||||
receive: true |
||||
- msg: cellular_status |
||||
id: 117 |
||||
- msg: sensor_accel_fifo |
||||
id: 118 |
||||
- msg: sensor_gyro_fifo |
||||
id: 119 |
||||
- msg: vehicle_imu |
||||
id: 120 |
||||
- msg: vehicle_imu_status |
||||
id: 121 |
||||
- msg: vehicle_angular_acceleration |
||||
id: 122 |
||||
- msg: logger_status |
||||
id: 123 |
||||
- msg: rpm |
||||
id: 124 |
||||
- msg: hover_thrust_estimate |
||||
id: 125 |
||||
- msg: trajectory_bezier |
||||
id: 126 |
||||
receive: true |
||||
- msg: vehicle_trajectory_bezier |
||||
id: 127 |
||||
receive: true |
||||
- msg: timesync_status |
||||
id: 128 |
||||
send: true |
||||
- msg: orb_test |
||||
id: 129 |
||||
- msg: orb_test_medium |
||||
id: 130 |
||||
- msg: orb_test_large |
||||
id: 131 |
||||
- msg: yaw_estimator_status |
||||
id: 132 |
||||
- msg: sensor_preflight_mag |
||||
id: 133 |
||||
- msg: estimator_states |
||||
id: 134 |
||||
- msg: generator_status |
||||
id: 135 |
||||
- msg: sensor_gyro_fft |
||||
id: 136 |
||||
- msg: navigator_mission_item |
||||
id: 137 |
||||
- msg: estimator_optical_flow_vel |
||||
id: 138 |
||||
- msg: estimator_selector_status |
||||
id: 139 |
||||
- msg: manual_control_switches |
||||
id: 140 |
||||
- msg: estimator_status_flags |
||||
id: 141 |
||||
- msg: rtl_flight_time |
||||
id: 142 |
||||
- msg: vehicle_angular_acceleration_setpoint |
||||
id: 143 |
||||
- msg: vehicle_torque_setpoint |
||||
id: 144 |
||||
- msg: vehicle_thrust_setpoint |
||||
id: 145 |
||||
- msg: vehicle_actuator_setpoint |
||||
id: 146 |
||||
- msg: control_allocator_status |
||||
id: 147 |
||||
- msg: mag_worker_data |
||||
id: 148 |
||||
- msg: takeoff_status |
||||
id: 149 |
||||
- msg: heater_status |
||||
id: 150 |
||||
- msg: gimbal_device_attitude_status |
||||
id: 151 |
||||
- msg: gimbal_device_information |
||||
id: 152 |
||||
- msg: gimbal_device_set_attitude |
||||
id: 153 |
||||
- msg: gimbal_manager_information |
||||
id: 154 |
||||
- msg: gimbal_manager_set_attitude |
||||
id: 155 |
||||
- msg: gimbal_manager_status |
||||
id: 156 |
||||
- msg: gimbal_manager_set_manual_control |
||||
id: 157 |
||||
- msg: airspeed_wind |
||||
id: 158 |
||||
- msg: estimator_event_flags |
||||
id: 159 |
||||
- msg: event |
||||
id: 160 |
||||
- msg: estimator_baro_bias |
||||
id: 161 |
||||
- msg: internal_combustion_engine_status |
||||
id: 162 |
||||
- msg: camera_status |
||||
id: 163 |
||||
########## multi topics: begin ########## |
||||
- msg: actuator_controls_0 |
||||
id: 180 |
||||
alias: actuator_controls |
||||
- msg: actuator_controls_1 |
||||
id: 181 |
||||
alias: actuator_controls |
||||
- msg: actuator_controls_2 |
||||
id: 182 |
||||
alias: actuator_controls |
||||
- msg: actuator_controls_3 |
||||
id: 183 |
||||
alias: actuator_controls |
||||
- msg: actuator_controls_virtual_fw |
||||
id: 184 |
||||
alias: actuator_controls |
||||
- msg: actuator_controls_virtual_mc |
||||
id: 185 |
||||
alias: actuator_controls |
||||
- msg: mc_virtual_attitude_setpoint |
||||
id: 186 |
||||
alias: vehicle_attitude_setpoint |
||||
- msg: fw_virtual_attitude_setpoint |
||||
id: 187 |
||||
alias: vehicle_attitude_setpoint |
||||
- msg: vehicle_attitude_groundtruth |
||||
id: 188 |
||||
alias: vehicle_attitude |
||||
- msg: vehicle_global_position_groundtruth |
||||
id: 189 |
||||
alias: vehicle_global_position |
||||
- msg: vehicle_local_position_groundtruth |
||||
id: 190 |
||||
alias: vehicle_local_position |
||||
- msg: vehicle_mocap_odometry |
||||
alias: vehicle_odometry |
||||
id: 191 |
||||
receive: true |
||||
- msg: vehicle_visual_odometry |
||||
id: 192 |
||||
alias: vehicle_odometry |
||||
receive: true |
||||
- msg: vehicle_trajectory_waypoint_desired |
||||
id: 193 |
||||
alias: vehicle_trajectory_waypoint |
||||
send: true |
||||
- msg: obstacle_distance_fused |
||||
id: 194 |
||||
alias: obstacle_distance |
||||
- msg: vehicle_vision_attitude |
||||
id: 195 |
||||
alias: vehicle_attitude |
||||
- msg: trajectory_setpoint |
||||
id: 196 |
||||
alias: vehicle_local_position_setpoint |
||||
receive: true |
||||
- msg: camera_trigger_secondary |
||||
id: 197 |
||||
alias: camera_trigger |
||||
- msg: vehicle_angular_velocity_groundtruth |
||||
id: 198 |
||||
alias: vehicle_angular_velocity |
||||
- msg: estimator_visual_odometry_aligned |
||||
id: 199 |
||||
alias: vehicle_odometry |
||||
- msg: estimator_innovation_variances |
||||
id: 200 |
||||
alias: estimator_innovations |
||||
- msg: estimator_innovation_test_ratios |
||||
id: 201 |
||||
alias: estimator_innovations |
||||
- msg: orb_multitest |
||||
id: 202 |
||||
alias: orb_test |
||||
- msg: orb_test_medium_multi |
||||
id: 203 |
||||
alias: orb_test_medium |
||||
- msg: orb_test_medium_queue |
||||
id: 204 |
||||
alias: orb_test_medium |
||||
- msg: orb_test_medium_queue_poll |
||||
id: 205 |
||||
alias: orb_test_medium |
||||
- msg: orb_test_medium_wrap_around |
||||
id: 206 |
||||
alias: orb_test_medium |
||||
- msg: estimator_local_position |
||||
id: 207 |
||||
alias: vehicle_local_position |
||||
- msg: estimator_global_position |
||||
id: 208 |
||||
alias: vehicle_global_position |
||||
- msg: estimator_attitude |
||||
id: 209 |
||||
alias: vehicle_attitude |
||||
- msg: estimator_odometry |
||||
id: 210 |
||||
alias: vehicle_odometry |
||||
- msg: actuator_controls_4 |
||||
id: 211 |
||||
alias: actuator_controls |
||||
- msg: actuator_controls_5 |
||||
id: 212 |
||||
alias: actuator_controls |
||||
- msg: estimator_wind |
||||
id: 213 |
||||
alias: wind |
||||
########## multi topics: end ########## |
@ -0,0 +1,89 @@
@@ -0,0 +1,89 @@
|
||||
##### |
||||
# |
||||
# This file maps all the topics that are to be used on the microRTPS bridge. |
||||
# When one wants to add a new topic to the bridge, it should add it to this file |
||||
# and mark it to be sent or received from the link. |
||||
# For alias/multi-topic messages (i.e. the ones found on the '#TOPICS' of the |
||||
# uORB messages), these can be also added, requiring an extra entry ('base') to |
||||
# define the base message. |
||||
# |
||||
# IMPORTANT NOTICE: The IDs of the messages sent on the bridge get generated |
||||
# according to the order of the messages in this file. To keep consistency and |
||||
# backwards compatibility, it is recommended that any new message that one wants |
||||
# to be streamed in the bridge gets added to the end of the list. Any changes |
||||
# in the middle of the list (additions, removals, replacements) will change also |
||||
# the current message IDS, which might result with incompatibilities with |
||||
# previous PX4 versions (where the list with this format got introduced or |
||||
# subsisted). |
||||
# |
||||
# Any updates to this file should be mirrored in both sides of the bridge (i.e., |
||||
# PX4 and px4_ros_com), when using it with ROS2. That can be easily done using |
||||
# the 'msg/tools/uorb_to_ros_urtps_topics.py' script to regenerate this same |
||||
# file under 'px4_ros_com/templates/''. The same is not applicable/required if |
||||
# using this bridge with "raw" RTPS/DDS applications, since the microRTPS agent |
||||
# to be used and stored in 'build/<px4_target>/src/modules/micrortps_bridge/'' |
||||
# gets generated using this same list. |
||||
# |
||||
##### |
||||
rtps: |
||||
# topic ID 1 |
||||
- msg: debug_array |
||||
receive: true |
||||
# topic ID 2 |
||||
- msg: debug_key_value |
||||
receive: true |
||||
# topic ID 3 |
||||
- msg: debug_value |
||||
receive: true |
||||
# ... |
||||
- msg: debug_vect |
||||
receive: true |
||||
- msg: offboard_control_mode |
||||
receive: true |
||||
- msg: optical_flow |
||||
receive: true |
||||
- msg: position_setpoint |
||||
receive: true |
||||
- msg: position_setpoint_triplet |
||||
receive: true |
||||
- msg: telemetry_status |
||||
receive: true |
||||
- msg: timesync |
||||
receive: true |
||||
send: true |
||||
- msg: trajectory_waypoint |
||||
send: true |
||||
- msg: vehicle_command |
||||
receive: true |
||||
- msg: vehicle_control_mode |
||||
send: true |
||||
- msg: vehicle_local_position_setpoint |
||||
receive: true |
||||
- msg: trajectory_setpoint # multi-topic / alias of vehicle_local_position_setpoint |
||||
base: vehicle_local_position_setpoint |
||||
receive: true |
||||
- msg: vehicle_odometry |
||||
send: true |
||||
- msg: vehicle_mocap_odometry # multi-topic / alias of vehicle_odometry |
||||
base: vehicle_odometry |
||||
receive: true |
||||
- msg: vehicle_visual_odometry # multi-topic / alias of vehicle_odometry |
||||
base: vehicle_odometry |
||||
receive: true |
||||
- msg: vehicle_status |
||||
send: true |
||||
- msg: vehicle_trajectory_waypoint |
||||
receive: true |
||||
- msg: vehicle_trajectory_waypoint_desired # multi-topic / alias of vehicle_trajectory_waypoint |
||||
base: vehicle_trajectory_waypoint |
||||
send: true |
||||
- msg: collision_constraints |
||||
send: true |
||||
- msg: onboard_computer_status |
||||
receive: true |
||||
- msg: trajectory_bezier |
||||
receive: true |
||||
- msg: vehicle_trajectory_bezier |
||||
receive: true |
||||
- msg: timesync_status |
||||
send: true |
Loading…
Reference in new issue