TASK 3. AUTOPARKING
INTRODUCTION The objective of this practice is to implement the logic that allows an Ackermann car to park in line autonomously. In this post I am going to include just solutions with Ackermann car using RADI ROS2 since the difference with the Holonomic car are its movement dynamics; which are easier to work with using Holonomic car. Along this explanation, I am going to cover the following topics: Parse laser State 1: Align State 2: Find space State 3: Move ahead State 4: Turn State 5: Go back State 6 and 7: Park maneuvers PARSE LASER Throughout the entire exercise, it will be necessary to handle the three lasers in different stages to successfully execute the task assigned to them. Therefore, I have deemed it necessary that within the laser values, if they fall within the minimum and maximum range, they should be stored in a secondary array that includes, at a position, (dist, angle), where "dist" represents the laser distance , and "angle...