Closed MinhxNguyen7 closed 2 weeks ago
@Dat-Bois This is why the PoseProvider
exists. Abstracting the subscription data collection meant that, with dependency injection, I can move the functionality of ImagingNode
to another class, and this new class doesn't even need to know that ROS exists. In the future, we can switch out MAVROS for MAVSDK in the implementation of PoseProvider
, and the perception
module wouldn't have to change at all.
Summary
ProcessPoolExecutor
, which it uses to do inference.get_image_down
asynchronously anyway.Perception
class and make typing more accurate to get rid of type errors in the class.CommanderNode
busy waiting on perception results.Test Plan
Issues