You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: include/teb_local_planner/g2o_types/edge_velocity_obstacle_ratio.h
+4-22
Original file line number
Diff line number
Diff line change
@@ -70,8 +70,7 @@ class EdgeVelocityObstacleRatio : public BaseTebMultiEdge<2, const Obstacle*>
70
70
/**
71
71
* @brief Construct edge.
72
72
*/
73
-
EdgeVelocityObstacleRatio() :
74
-
robot_model_(nullptr)
73
+
EdgeVelocityObstacleRatio()
75
74
{
76
75
// The three vertices are two poses and one time difference
77
76
this->resize(3); // Since we derive from a g2o::BaseMultiEdge, set the desired number of vertices
@@ -82,7 +81,7 @@ class EdgeVelocityObstacleRatio : public BaseTebMultiEdge<2, const Obstacle*>
82
81
*/
83
82
voidcomputeError()
84
83
{
85
-
ROS_ASSERT_MSG(cfg_ && _measurement && robot_model_, "You must call setTebConfig(), setObstacle() and setRobotModel() on EdgeVelocityObstacleRatio()");
84
+
ROS_ASSERT_MSG(cfg_ && _measurement, "You must call setTebConfig()and setObstacle() on EdgeVelocityObstacleRatio()");
0 commit comments