@@ -25,63 +25,63 @@ class DebugVisualiser
2525public:
2626 // / Constructor for debug output class. Sets up publishers for the visualisation markers and initialises odometry.
2727 DebugVisualiser (void );
28-
28+
2929 // / Modifier for the time_delta_ member variable.
30- inline void setTimeDelta (const double & time_delta) { time_delta_ = time_delta; };
30+ inline void setTimeDelta (const double & time_delta) { time_delta_ = time_delta; };
3131
3232 // / Publishes visualisation markers which represent the robot model for display in RVIZ. Consists of line segments.
3333 // / linking the origin points of each joint and tip of each leg.
3434 // / @param[in] model A pointer to the robot model object
3535 void generateRobotModel (std::shared_ptr<Model> model);
36-
36+
3737 // / Publishes visualisation markers which represent the estimated walking plane.
3838 // / @param[in] walk_plane A Vector representing the walk plane
3939 // / @param[in] walk_plane_normal A Vector of the normal to the walk plane
40- void generateWalkPlane (const Eigen::Vector3d& walk_plane, const Eigen::Vector3d& walk_plane_normal);
40+ void generateWalkPlane (const Eigen::Vector3d & walk_plane, const Eigen::Vector3d & walk_plane_normal);
4141
4242 // / Publishes visualisation markers which represent the trajectory of the tip of the input leg.
4343 // / @param[in] leg A pointer to the leg associated with the tip trajectory that is to be published
4444 void generateTipTrajectory (std::shared_ptr<Leg> leg);
45-
45+
4646 // / Publishes visualisation markers which represent an estimate of the terrain being traversed.
4747 // / @param[in] model A pointer to the robot model object
4848 void generateTerrainEstimate (std::shared_ptr<Model> model);
49-
49+
5050 // / Publishes visualisation markers which represent the control nodes of the three bezier curves used to control tip.
5151 // / trajectory of the input leg.
5252 // / @param[in] leg A pointer to the leg associated with the tip trajectory that is to be published
5353 void generateBezierCurves (std::shared_ptr<Leg> leg);
54-
54+
5555 // / Publishes visualisation markers which represent the default tip position of the leg.
5656 // / @param[in] leg A pointer to a leg of the robot model object
5757 void generateDefaultTipPositions (std::shared_ptr<Leg> leg);
58-
58+
5959 // / Publises visualisation markers which represent the target tip position of the leg.
6060 // / @param[in] leg A pointer to a leg of the robot model object
6161 void generateTargetTipPositions (std::shared_ptr<Leg> leg);
62-
62+
6363 // / Publishes visualisation markers which represent the 2D walkspace for each leg.
6464 // / @param[in] leg A pointer to a leg of the robot model object
6565 // / @param[in] walkspace A map of walkspace radii for a range of bearings to be visualised
66- void generateWalkspace (std::shared_ptr<Leg> leg, const LimitMap& walkspace);
67-
66+ void generateWalkspace (std::shared_ptr<Leg> leg, const LimitMap & walkspace);
67+
6868 // / Publishes visualisation markers which represent the 3D workspace for each leg.
6969 // / @param[in] leg A pointer to a leg of the robot model object
7070 // / @param[in] body_clearance The vertical offset of the body above the walk plane
71- void generateWorkspace (std::shared_ptr<Leg> leg, const double & body_clearance);
72-
71+ void generateWorkspace (std::shared_ptr<Leg> leg, const double & body_clearance);
72+
7373 // / Publishes visualisation markers which represent requested stride vector for each leg.
7474 // / @param[in] leg A pointer to the leg associated with the tip trajectory that is to be published
7575 void generateStride (std::shared_ptr<Leg> leg);
76-
76+
7777 // / Publishes visualisation markers which represent the estimated tip force vector for input leg.
7878 // / @param[in] leg A pointer to the leg associated with the tip trajectory that is to be published
7979 void generateTipForce (std::shared_ptr<Leg> leg);
80-
80+
8181 // / Publishes visualisation markers which represent the estimated percentage of max torque in each joint.
8282 // / @param[in] leg A pointer to the leg associated with the tip trajectory that is to be published
8383 void generateJointTorques (std::shared_ptr<Leg> leg);
84-
84+
8585 // / Publishes visualisation markers which represent the estimate of the gravitational acceleration vector.
8686 // / @param[in] gravity_estimate An estimate of the gravitational acceleration vector
8787 void generateGravity (const Eigen::Vector3d& gravity_estimate);
@@ -106,7 +106,7 @@ class DebugVisualiser
106106 int tip_position_id_ = 0 ; // /< Id for tip trajectory markers
107107 int terrain_marker_id_ = 0 ; // /< Id for terrain markers
108108 double marker_scale_ = 0.0 ; // /< Value used to scale marker sizes based on estimate of robot 'size'
109-
109+
110110public:
111111 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
112112};
0 commit comments