Skip to content

Commit

Permalink
Fix TB3 adapter initPosition result (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
leandropineda authored Nov 11, 2022
1 parent 9970876 commit a86b98f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions vda5050_tb3_adapter/vda5050_tb3_adapter/tb3_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,14 @@ def process_vda_action_callback(self, goal_handle):

self._init_pose_pub.publish(pose_with_cov_stamped)

self.logger.info(f"Instant action '{action.action_id}' finished")

result.result = VDACurrentAction(
action_id=action.action_id,
action_description=action.action_description,
action_status=VDACurrentAction.FINISHED,
)

else:
self.logger.info(
f"Received unsupported action: '{action.action_type}'. "
Expand Down

0 comments on commit a86b98f

Please sign in to comment.