-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fall and wave detection ROS nodes #423
Conversation
…ges are published in both modes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Everything seems fine.
I just have a couple of very minor comments.
projects/opendr_ws/src/opendr_perception/scripts/fall_detection_node.py
Outdated
Show resolved
Hide resolved
projects/opendr_ws/src/opendr_perception/scripts/fall_detection_node.py
Outdated
Show resolved
Hide resolved
projects/opendr_ws_2/src/opendr_perception/opendr_perception/wave_detection_node.py
Show resolved
Hide resolved
Thanks for the review @stefaniapedrazzi, i applied your suggestions and i will now resolve the conflicts that arose by merging the performance PR. I will also add the performance stuff to the fall detection nodes. |
projects/opendr_ws/src/opendr_perception/scripts/fall_detection_node.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
* Overhauled fall detection node to be able to run on pose messages * Added to_ros_box in bridge, needed for overhauled fall detection node * Updated fall detection node section * Minor fix ros1 fall node * Added to_rox_box in ros2 bridge * Updated ros2 fall detection node * Initial version of ros1 wave detection node * Renamed class * Added performance to ros1 wave detection node * Minor fixes in fall_detection_node.py * Refactored wave_detection_node.py to work similar to fall detection node * Applied minor fixes to ros2 fall_detection_node.py * Removed unused import * Fall detection ros1 - visualization mode now publishes bboxes too * Fall detection ros2 - visualization mode now publishes bboxes too, fixed bug * Fall detection ros1 doc minor updates * Fall detection ros2 doc updated for newly updated node * Wave detection ros1, added missing docstring and wave detection messages are published in both modes * Added wave detection entry in node index list * Added wave detection section entry and fixed minor thing in fall detection section * Fixed broken link * Added ros2 wave detection node entry in setup.py * Added new ros2 wave detection node * Fixed broken link * Added wave detection entry in node index list * Added wave detection section entry and fixed minor thing in fall detection section * Removed unused import * Fixed default ctor argument and simplified if/else as suggested by review * Fixed default ctor argument as suggested by review * Fixed default ctor argument as suggested by review * Fixes as suggested by review * Re-arranged docstring to match actual order of arguments * Added performance to fall detection ROS1 node * Fixed performance topic name * Added performance topic arg entries for wave and fall detection nodes * Re-arranged docstring to match actual order of arguments * Added performance to fall detection ROS2 node * Added performance topic arg entries for wave and fall detection nodes * Fixed wrong publisher argument in ros2 wave/fall nodes * Fixed fall_detection_node.py performance measurement * Fixed wave_detection_node.py performance measurement * Fixed ROS2 fall_detection_node.py performance measurement * Fixed ROS2 wave_detection_node.py performance measurement
Overhauled fall detection ROS1/2 nodes to work both by subscribing to an image topic and running pose estimation internally (original mode) and by subscribing to a pose topic and only running fall detection (new mode). Performance stuff is not added in this PR, but will get merged together with #419, i expect some conflicts as the merge is not straightforward, but i will handle it when it comes up.
Added wave detection ROS1/2 nodes that work similar to the new fall detection nodes. The wave detection method used is similar to the one used in the Lightweight OpenPose wave detection demo. Performance is added in this PR as the node is new.
Additionally added a new method
to_ros_box
to ROS1/2 bridges to be able to convert single bboxes.TODO:
@thomaspeyrucain