Skip to content

Commit

Permalink
Initalize RobotState in Ruckig test (#1032)
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Weaver <tyler@picknik.ai>
  • Loading branch information
tylerjw authored Jan 27, 2022
1 parent 4c6dcbe commit 4e65a4f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ TEST_F(RuckigTests, empty_trajectory)
TEST_F(RuckigTests, not_enough_waypoints)
{
moveit::core::RobotState robot_state(robot_model_);
robot_state.setToDefaultValues();
// First waypoint is default joint positions
trajectory_->addSuffixWayPoint(robot_state, DEFAULT_TIMESTEP);

Expand All @@ -82,6 +83,7 @@ TEST_F(RuckigTests, not_enough_waypoints)
TEST_F(RuckigTests, basic_trajectory)
{
moveit::core::RobotState robot_state(robot_model_);
robot_state.setToDefaultValues();
// First waypoint is default joint positions
trajectory_->addSuffixWayPoint(robot_state, DEFAULT_TIMESTEP);

Expand Down

0 comments on commit 4e65a4f

Please sign in to comment.