How is curvature being calculated in the Autoware Auto pure pursuit controller? and what is the significance of the relative_xy term?

asked 2021-04-08 17:30:45 -0500

abhi46 gravatar image

I'm trying to understand the pure pursuit controller currently in Autoware Auto. In the error calculation, there is a function called compute_relative_xy_offset which gives out relative_x and relative_y. I'm trying to understand the significance of these terms and how the curvature is being calculated based on them

Regards, Abhi

Link to the code -https://gitlab.com/autowarefoundation...

1. code for relative_xy calculation: Line 290 - 303 (function name - compute_relative_xy_offset)

2. code for curvature/steering command calculation: Line 305 - 317 (function name - compute_steering_rad)

edit retag flag offensive close merge delete