Skip to content

Commit

Permalink
absolutely essential to have all velocities set to 0 at the start. re…
Browse files Browse the repository at this point in the history
…sults can be somewhat catastropic if uninitialized and used with acceleration limits.
  • Loading branch information
piyushk committed Dec 9, 2012
1 parent 674510b commit b55632b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions segway_rmpX/src/segway_rmp_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ class SegwayRMPNode {
this->odometry_x = 0.0;
this->odometry_y = 0.0;
this->odometry_w = 0.0;
this->linear_vel = 0.0;
this->angular_vel = 0.0;
this->target_linear_vel = 0.0;
this->target_angular_vel = 0.0;
this->count = 0;
}

Expand Down

0 comments on commit b55632b

Please sign in to comment.