Understanding navigation stack
Hi,
I have trouble of understanding how navigation stack works. After days of debugging code to work with navigation stack I have concluded that its either problem in tf or I dont really understand how navigation stack work. Specifically I have a couple of questions/problems:
- When I change tf to some reasonable parameters from my initial parameter, that should work, I get that my laser sensor is out of range, exactly - on some negative x or y positions. Does navigation work only with positive x and y?
- My simulation is left oriented, so this might be problem with getting to work with navigation. But, when I left x an y signed positive or negative as I get from my odometry or change x to -x to compensate left-right orientation my robot's footprint moves in rviz always in the same direction. Should't be that in opposite direction? Is navigation right oriented? What problem I might get with left-right orientations?
- My main problem is that when the robot in, let's say, position (x,y,orient)=(5,5,0) /map frame, and I send goal from rviz in /map frame to (6,5,0), robot gets positive x command velocity from navigation, but when the goal point is reached robot remains to move in +x direction, the output from navigation (cmd_vel) remains the same as before reaching goal. Same problem with y direction, both + and -y.
Some help needed, thanks.