ros-drivers / mocap_optitrack

ROS nodes for working with the NaturalPoint Optitrack motion capture setup
99 stars 139 forks source link

avoid high load of loop function because of no sleep in while() #62

Closed tongtybj closed 3 years ago

tongtybj commented 3 years ago

We found two problems when using this package:

We are using this package for Drone in both indoor and outdoor environments, and the high load of mocap_node significantly limits the computation resource to perform other process such as image processing. So, we think this PR is very critical for users who use onboard compact computes.

tonybaltovski commented 3 years ago

@tongtybj Can you fix that minor linting error causing the CI to fail, please?

tongtybj commented 3 years ago

@tonybaltovski

Sorry for the linting error. I have fixed it.

tonybaltovski commented 3 years ago

Thanks @tongtybj !!