ethz-asl / rovio

Other
1.12k stars 504 forks source link

Imu and camera topics can be changed in launch file #237

Closed armankuzembayev closed 3 years ago

armankuzembayev commented 3 years ago

With these changes it is possible to change camera and imu topics in launch file

ethzasl-jenkins commented 3 years ago

Can one of the admins verify this patch?

rikba commented 3 years ago

Thank you for the input. Please use roslaunch remap to change topic names.

<node name="rovio" pkg="rovio" type="rovio_node" output="screen" >
  <param name="filter_config" value="$(find rovio)/cfg/rovio.info"/>
  <param name="camera0_config" value="$(find rovio)/cfg/euroc_cam0.yaml"/>
  <param name="camera1_config" value="$(find rovio)/cfg/euroc_cam1.yaml"/>

  <remap from="cam0/image_raw" to="my_camera/image_mono" />
  <remap from="imu0" to="my_imu/data" />
</node>