Moving a mobile base from waypoint to waypoint using aruco markers and possibly making use of a PID controller
The goal is to move a mobile base(which takes cmd_vel) from (x1,y1,theta_1) to (x2,y2,theta_2). I am using aruco_mapping which give the x,y and angle. It should rotate to theta_2 and reach the desired waypoint (x2,y2). I am not sure if its possible to execute a pid controller to minimize overshoots and undershoots.
Is there an existing package to perform these things well or do i have to do it on my own?
Have you seen the ROS Navigation Stack?
It seemed a bit complex and as i am using just the camera/aruco markers to provide feedback and nothing else. Do you know what specifically in navigation i should check out for solving my problem?
Thanks in advance.
Going from (x1, y1) to (x2, y2) is a lot more complex than it seems. You can't rely on PID type controllers as the final position depends on the speed integrated over time, not just the wheel displacement. See the navigation turtorials.
You'll essentially give the nav stack your aruco_mapping estimate of where you are as the
odom
input message. It should handle path planning and produce a cmd_vel. It'll take a while to set up and get working, but there plenty of help and tutorials out there, and it will do exactly what you want.Thanks. I will look into that.