Hardware:pixhawk 2.4.8
Firmware:ardurover 4.3
Radar:rplidar S2M1
The connection with cartograph_ros and mavros has now been successfully established. And the direction of pixhawk is consistent with the direction of rplidar. When I control the rover to move forward, the GCS shows that the vehicle is moving in the opposite direction. At the same time, obstacles are also displayed behind the vehicle.
Then I opened rviz, and the direction of the arrow displayed by tf was exactly the same as the direction of the radar.
Have you tried to rotate the lidar 180deg?
Hey old issue unresolved.Amilcarlucas, do you mean upside down, as setting in apm_config.yaml: orientation :
PITCH_270 implies.
The setting is supposed not to be changed, so it seems the downward facing lidar would be the answer.
Except if that coud be corrected in static translations. If anybody is familiar with that, please explain?
No, I meant YAW_180 not PITCH_270.
Thanks for the answer. I have tried that, turned 180 degrees but it still shows backward movement when going straight.