How to set up robot_localization config when using differential: true
I was reading the robot_localization docs and it says that when setting the differential parameter to true:
all pose (position and orientation) data is converted to a velocity by calculating the change in the measurement value between two consecutive time steps. The data is then fused as a velocity.
Does this mean that my config should set the position data to true or the velocity data to true?
i.e.
odom1_config: [true, true, false, # X Y Z
true, true, true, # ROLL PITCH YAW
false, false, false, # VX VY VZ
false, false, false, # VR VP VY
false, false, false] # AX AY AZ
or
odom1_config: [false, false, false, # X Y Z
false, false, false, # ROLL PITCH YAW
true, true, false, # VX VY VZ
true, true, true, # VR VP VY
false, false, false] # AX AY AZ
This is for an outdoor skid steer robot (two_d_mode false), with the odometry source described above coming from a ZED camera. The ZED odom topic only provides pose data, no Twist.