sjwo / path_planner

ROS node to interface with path planner
0 stars 0 forks source link

planned and predicted turn radii differ #12

Closed sjwo closed 3 years ago

sjwo commented 3 years ago
sjwo commented 3 years ago

image image

sjwo commented 3 years ago

Maybe this is related to handling speed?

sjwo commented 3 years ago

Maybe heading is messed up?

sjwo commented 3 years ago

In Alex Walker's pydubins code, rho is described as "the turning radius of the vehicle."

sjwo commented 3 years ago

Ok, this is where I set speed in my BitStarPlanner.cpp:

DubinsWrapper dubins_wrapper = DubinsWrapper();
          // TODO figure out correct speed and start time to set in fill() call:
          dubins_wrapper.fill(
            dubins_path,
            1,
            start_time
          );

I think if I set this speed correctly, the dubins_wrapper.getEndTime() call will return the appropriate time, and that should make the controller happier (or at least less sad).

sjwo commented 3 years ago

image