@@ -53,15 +53,18 @@ struct TrajOptCartesianWaypointConfig
5353 * This is useful if you want to have a smaller tolerance for the cost than the constraint.*/
5454 bool use_tolerance_override{ false };
5555
56- /* * @brief Distance below waypoint that is allowed. Should be size = 6. First 3 elements are dx, dy, dz. The last 3
57- * elements are angle axis error allowed (Eigen::AngleAxisd.axis() * Eigen::AngleAxisd.angle()) */
58- Eigen::Matrix<double , 6 , 1 > lower_tolerance{ Eigen::VectorXd::Zero (6 ) };
59- /* * @brief Distance above waypoint that is allowed. Should be size = 6. First 3 elements are dx, dy, dz. The last 3
60- * elements are angle axis error allowed (Eigen::AngleAxisd.axis() * Eigen::AngleAxisd.angle())*/
61- Eigen::Matrix<double , 6 , 1 > upper_tolerance{ Eigen::VectorXd::Zero (6 ) };
62-
63- /* * @brief coefficients corresponsing to dx, dy, dz, rx, ry, rz*/
64- Eigen::Matrix<double , 6 , 1 > coeff{ Eigen::VectorXd::Constant (6 , 5 ) };
56+ /* * @brief Distance below waypoint that is allowed. Should be size = 6 or 1, if size = 1 the value is replicated.
57+ * First 3 elements are dx, dy, dz. The last 3 elements are angle axis error allowed:
58+ * (Eigen::AngleAxisd.axis() * Eigen::AngleAxisd.angle()) */
59+ Eigen::VectorXd lower_tolerance{ Eigen::VectorXd::Zero (6 ) };
60+ /* * @brief Distance above waypoint that is allowed. Should be size = 6 or 1, if size = 1 the value is replicated.
61+ * First 3 elements are dx, dy, dz. The last 3 elements are angle axis error allowed:
62+ * (Eigen::AngleAxisd.axis() * Eigen::AngleAxisd.angle()) */
63+ Eigen::VectorXd upper_tolerance{ Eigen::VectorXd::Zero (6 ) };
64+
65+ /* * @brief coefficients corresponsing to dx, dy, dz, rx, ry, rz.
66+ * Should be size = 6 or 1, if size = 1 the value is replicated. */
67+ Eigen::VectorXd coeff{ Eigen::VectorXd::Constant (6 , 5 ) };
6568
6669protected:
6770 friend class boost ::serialization::access;
0 commit comments