Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Aug 30, 2024
1 parent 5a656e2 commit e3c08b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion pyrobosim/test/core/test_robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ def test_robot_nav_validation(self):
),
)
robot.world = self.test_world
robot.location = "kitchen"

# Plan a path.
robot.set_pose(init_pose)
Expand Down
5 changes: 5 additions & 0 deletions pyrobosim_ros/pyrobosim_ros/ros_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,11 @@ def set_location_state_callback(self, request, response):
response.result = execution_result_to_ros(result)
return response

# If the command is a no-op, count it as a success.
response.result.status = ExecutionResult.SUCCESS
response.result.message = "No action needed."
return response


def update_world_from_state_msg(world, msg):
"""
Expand Down

0 comments on commit e3c08b3

Please sign in to comment.