Skip to content

Commit

Permalink
Fix simulation time rate in test
Browse files Browse the repository at this point in the history
  • Loading branch information
at-wat committed Mar 22, 2024
1 parent 8a1d8b9 commit 6382b0d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/src/joint_trajectory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* * Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived from
* * Neither the name of the copyright holder nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
Expand All @@ -37,7 +37,7 @@

TEST(JointTrajectory, CommandValidation)
{
ros::WallDuration wait(0.005);
ros::WallDuration wait(0.05);
ros::Duration clock_step(0.05);

ros::NodeHandle nh;
Expand All @@ -60,7 +60,7 @@ TEST(JointTrajectory, CommandValidation)
pub_clock.publish(clock);

// Wait until ypspur_ros
for (int i = 0; i < 200 * 30; ++i)
for (int i = 0; i < 20 * 30; ++i)
{
clock.clock += clock_step;
pub_clock.publish(clock);
Expand Down

0 comments on commit 6382b0d

Please sign in to comment.