Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New implementation for computeCartesianPath() #2916

Merged
merged 9 commits into from
Aug 13, 2024
Prev Previous commit
Next Next commit
Address review: improve comments
  • Loading branch information
rhaschke committed Aug 6, 2024
commit d16d3ec61cd95c2e4a4f9e6367f529baf272b818
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ namespace core
/** Struct defining linear and rotational precision */
struct CartesianPrecision
{
double translational = 0.001;
double rotational = 0.01;
double max_resolution = 1e-5;
double translational = 0.001; //< max deviation in translation (meters)
double rotational = 0.01; //< max deviation in rotation (radians)
double max_resolution = 1e-5; //< max resolution for waypoints (fraction of total path)
};

/** \brief Struct with options for defining joint-space jump thresholds. */
Expand Down Expand Up @@ -166,7 +166,7 @@ class CartesianInterpolator
The struct CartesianPrecision specifies the precision to which the path should follow the Cartesian straight line.
If the deviation at the mid point of two consecutive waypoints is larger than the specified precision, another waypoint
will be inserted at that mid point. The precision is specified separately for translation and rotation.
The maximal resolution to consider (in percentage of the total path length) is specified by max_resolution.
The maximal resolution to consider (as fraction of the total path length) is specified by max_resolution.
*/
static Distance computeCartesianPath(
const RobotState* start_state, const JointModelGroup* group, std::vector<std::shared_ptr<RobotState>>& traj,
Expand Down
Loading