Hello,
I want to set the group of distance sensors, so every of them has his own publishing topic; this is my current px4_config.yaml setup
sonar_fwd_pub:
id: 0
# frame_id: "hrlv_ez4_sonar"
frame_id: "sonar_fwd"
orientation: NONE #PITCH_270 # RPY:{0.0, 270.0, 0.0} - downward-facing
field_of_view: 0.0 # XXX TODO
send_tf: true
sensor_position: {x: 0.0, y: 0.0, z: -0.1}
sonar_bwd_pub:
id: 1
frame_id: "sonar_bwd"
orientation: YAW_180 #PITCH_270 # RPY:{0.0, 270.0, 0.0} - downward-facing
field_of_view: 0.0 # XXX TODO
send_tf: true
sensor_position: {x: 0.0, y: 0.0, z: -0.1}
sonar_right_pub:
id: 2
frame_id: "sonar_right"
orientation: YAW_90 #PITCH_270 # RPY:{0.0, 270.0, 0.0} - downward-facing
field_of_view: 0.0 # XXX TODO
send_tf: true
sensor_position: {x: 0.0, y: 0.0, z: -0.1}
sonar_left_pub:
id: 3
frame_id: "sonar_left"
orientation: YAW_270 #PITCH_270 # RPY:{0.0, 270.0, 0.0} - downward-facing
field_of_view: 0.0 # XXX TODO
send_tf: true
sensor_position: {x: 0.0, y: 0.0, z: -0.1}
# lidarlite_pub:
# id: 1
# frame_id: "lidarlite_laser"
# orientation: PITCH_270
# field_of_view: 0.0 # XXX TODO
# send_tf: true
# sensor_position: {x: 0.0, y: 0.0, z: -0.1}
sonar_1_sub:
subscriber: true
id: 4
orientation: NONE #PITCH_270
horizontal_fov_ratio: 1.0 # horizontal_fov = horizontal_fov_ratio * msg.field_of_view
vertical_fov_ratio: 1.0 # vertical_fov = vertical_fov_ratio * msg.field_of_view
# custom_orientation: # Used for orientation == CUSTOM
# roll: 0
# pitch: 270
# yaw: 0
# laser_1_sub:
# subscriber: true
# id: 3
# orientation: PITCH_270
the problem is that sonars other then forward (sonar_fwd
) are not publishing to their topics (they asking for clock source, which in my case is provided by simulator); I assume I need to setup something more?