I am currently working on a project where ROSbot should successfully find the exit of a maze.
My maze controller initially uses resets the odometry and the map, which set its position to (x=0, y=0, theta=0).
However, The way I actually use the coordinate system is that ROSbot should look along the y-axis, and do its first movement on that axis when having a (x=0, y=1) for instance.
After doing the resets, how can I set my theta to pi/2, to make sure the robot knows its looking along the y-axis?
Thanks in advance,