mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
improve comments
This commit is contained in:
parent
f3fec26f5a
commit
9060404037
@ -19,7 +19,7 @@ private:
|
||||
double cost_;
|
||||
};
|
||||
|
||||
/// define cost as execution duration of the whole trajectory
|
||||
/// execution duration of the whole trajectory
|
||||
double PathLengthCost(const SubTrajectory& s);
|
||||
}
|
||||
}
|
||||
|
||||
@ -231,7 +231,7 @@ public:
|
||||
/* \brief set CostTransform to be applied to costs of this stage's solution costs
|
||||
*
|
||||
* This interface can be used to modify the cost associated with each solution of this stage/container.
|
||||
* The most common case would be linear weighting `[=a](double c){ return a*c; }`
|
||||
* The most common case would be linear weighting `[](double cost){ return constant*cost; }`
|
||||
* but any non-linear transform is obviously possible as well.
|
||||
*/
|
||||
void setCostTransform(const CostTransform& transform);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user