personalrobotics / ada_feeding

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

Dynamically Compute Workspace Walls #181

Closed amalnanavati closed 4 months ago

amalnanavati commented 4 months ago

Description

This PR moves our system from fixed workspace walls to dynamically-computed workspace walls. Specifically, the workspace walls are computed as the tightest axis-aligned box that: (a) contains all collision objects that were specified as being within the workspace walls; (b) contains all robot arm configurations that are specified are specified as being within the workspace walls; and (c) has a parameter-specified margin to the above objects/configurations. Additionally, this PR introduces an action server that can be called to recompute the workspace walls (e.g., if the robot arm configurations change).

In the process of creating this PR, it was discovered that ada_planning_scene is becoming too long of a node to easily contain in a single file. Thus, this PR also refactors ada_planning_scene into its own package, and divides functionality into their own classes.

Testing procedure

Future Work

Before opening a pull request

Before Merging