laser scan from LiDAR installed with inverse X
I am trying to obtain odometry from laser scans using rf2o_laser_odometry
package. But in my case LiDAR device is installed on the back side of the robot so the speed on X axis is published with inverse sign. Would you take me an advice about how to specify rotation matrix on twist
component of nav_msgs::Odometry
?
You can use the LIDAR to BASELINK transform to orient the lidar properly so you don't have to do anything funny with your command outputs or ODOM input. I have a robot with the same set up and that is how I fixed it - but at this exact moment do not have access to the TF or I would give it to you. I will admit it took a few tries to get it correct.