Skip to content

Commit

Permalink
Merge pull request #405 from BenBlumer/jade-devel
Browse files Browse the repository at this point in the history
gazebo_packages/gazebo_ros_joint_pose_trajectory.cpp BUG that caused simulated trajectories to run fast
  • Loading branch information
scpeters committed Apr 26, 2016
2 parents cf95acb + da23a04 commit bf61aeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gazebo_plugins/src/gazebo_ros_joint_pose_trajectory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ void GazeboRosJointPoseTrajectory::SetTrajectory(
for (unsigned int i = 0; i < points_size; ++i)
{
this->points_[i].positions.resize(chain_size);
this->points_[i].time_from_start = trajectory->points[i].time_from_start;
for (unsigned int j = 0; j < chain_size; ++j)
{
this->points_[i].positions[j] = trajectory->points[i].positions[j];
Expand Down

0 comments on commit bf61aeb

Please sign in to comment.