personalrobotics / ada_feeding

Robot-assisted feeding demos and projects for the ADA robot
4 stars 4 forks source link

Keep adding collision objects until MoveIt processes them #179

Closed amalnanavati closed 5 months ago

amalnanavati commented 5 months ago

Description

Currently, ada_planning_scene.py sends one message to the /collision_objects topic per collision object it is initializing in the planning scene. However, it is possible that that message gets dropped, which results in the planning scene not being fully initialized. This PR addresses that, by subscribing to the /monitored_planning_scene topic and continuing to publish messages until that object is confirmed to be added by the /monitored_planning_scene topic.

Testing procedure

Before opening a pull request

Before Merging