Skip to content

Commit

Permalink
Address review: improve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rhaschke committed Aug 6, 2024
1 parent ffc38fb commit d16d3ec
Showing 1 changed file with 4 additions and 4 deletions.
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

0 comments on commit d16d3ec

Please sign in to comment.