first determine global desired_velocity, calculate position change using it then pass the same global desired_velocity to updatePositionForLaneletTransition()
rotation of NPC is not taken into account, same as in boundingBoxLaneLongitudinalDistance this should be considered to be changed in separate task in the future
If you implement obstacle avoidance for this action, implement this virtual function to return the location of any obstacles blocking the path of this action's actor. However, this virtual function is currently used only for the visualization of obstacle information, so the obstacle avoidance algorithm does not necessarily need to use this virtual function.
If you implement obstacle avoidance for this action, implement this virtual function to return the location of any obstacles blocking the path of this action's actor. However, this virtual function is currently used only for the visualization of obstacle information, so the obstacle avoidance algorithm does not necessarily need to use this virtual function.