diff --git a/fetch_bringup/config/robot_localization.yaml b/fetch_bringup/config/robot_localization.yaml new file mode 100644 index 0000000..335690d --- /dev/null +++ b/fetch_bringup/config/robot_localization.yaml @@ -0,0 +1,27 @@ +frequency: 50 +sensor_timeout: 1.0 +two_d_mode: true +publish_tf: true +publish_acceleration: false +map_frame: map +odom_frame: odom +base_link_frame: base_link +# odom +odom0: /odom +odom0_config: [true, true, false, + false, false, true, + true, true, false, + false, false, true, + false, false, false] +odom0_nodelay: true +odom0_differential: true +# imu +imu0: /imu +imu0_config: [false, false, false, + false, false, true, + false, false, false, + false, false, true, + true, false, false] +imu0_nodelay: true +imu0_differential: true +imu0_remove_gravitational_acceleration: true diff --git a/fetch_bringup/launch/fetch.launch b/fetch_bringup/launch/fetch.launch index 542a3be..1551780 100644 --- a/fetch_bringup/launch/fetch.launch +++ b/fetch_bringup/launch/fetch.launch @@ -20,7 +20,9 @@ - + + + diff --git a/fetch_bringup/launch/include/robot_localization.launch.xml b/fetch_bringup/launch/include/robot_localization.launch.xml new file mode 100644 index 0000000..aa79707 --- /dev/null +++ b/fetch_bringup/launch/include/robot_localization.launch.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/fetch_bringup/package.xml b/fetch_bringup/package.xml index 2caaea8..c1be299 100644 --- a/fetch_bringup/package.xml +++ b/fetch_bringup/package.xml @@ -26,6 +26,7 @@ joy openni2_launch ps3joy + robot_localization robot_state_publisher sensor_msgs sick_tim