@@ -29,13 +29,13 @@ struct TRAJOPT_DLLEXPORT DifferentialDrivetrain {
2929 // / The moment of inertia of the robot about the origin (kg−m²).
3030 double moi;
3131
32- // / Radius of wheel (m).
32+ // / Radius of the wheels (m).
3333 double wheelRadius;
3434
35- // / Maximum angular velocity of wheel (rad/s).
35+ // / Maximum angular velocity of the wheels (rad/s).
3636 double wheelMaxAngularVelocity;
3737
38- // / Maximum torque applied to wheel (N−m).
38+ // / Maximum torque applied to the wheels (N−m).
3939 double wheelMaxTorque;
4040
4141 // / The Coefficient of Friction (CoF) of the wheels.
@@ -97,22 +97,22 @@ class TRAJOPT_DLLEXPORT DifferentialTrajectorySample {
9797 // / The heading.
9898 double heading = 0.0 ;
9999
100- // / The left wheel velocity.
100+ // / The left wheel's velocity.
101101 double velocityL = 0.0 ;
102102
103- // / The right wheel velocity.
103+ // / The right wheel's velocity.
104104 double velocityR = 0.0 ;
105105
106- // / The left wheel acceleration.
106+ // / The left wheel's acceleration.
107107 double accelerationL = 0.0 ;
108108
109- // / The right wheel acceleration.
109+ // / The right wheel's acceleration.
110110 double accelerationR = 0.0 ;
111111
112- // / The left wheel force.
112+ // / The left wheel's force.
113113 double forceL = 0.0 ;
114114
115- // / The right wheel force.
115+ // / The right wheel's force.
116116 double forceR = 0.0 ;
117117
118118 DifferentialTrajectorySample () = default ;
@@ -152,15 +152,15 @@ class TRAJOPT_DLLEXPORT DifferentialTrajectorySample {
152152 */
153153class TRAJOPT_DLLEXPORT DifferentialTrajectory {
154154 public:
155- // / Trajectory samples.
155+ // / The samples that make up the trajectory .
156156 std::vector<DifferentialTrajectorySample> samples;
157157
158158 DifferentialTrajectory () = default ;
159159
160160 /* *
161161 * Construct a DifferentialTrajectory from samples.
162162 *
163- * @param samples The samples.
163+ * @param samples The samples that make up the trajectory .
164164 */
165165 explicit DifferentialTrajectory (
166166 std::vector<DifferentialTrajectorySample> samples)
0 commit comments