opendr
opendr copied to clipboard
[Tracker] ROS1 nodes updates and fixes
This issue serves to track the progress on the updates on all ROS1 nodes, as per the use-case partner feedback as well as fixes regarding consistency across all nodes. Also, the delay issues mentioned in #275 should be fixed along with the other changes, as well as issue #209 relating to input topics etc.
Main issues to fix:
Below there's a list of main issues that need fixing, i tried to check out all the nodes and made some comments in parentheses on what i noticed, so use them to get a general sense on the issues:
- Argparse usage as seen here.
- Argument names and default values consistency across nodes, as seen in node class ctor and argparse. Arguments especially in argparse which is the interface the users interact with, should have descriptive names like
input_rgb_image_topicandinput_depth_image_topic, etc, as well as default values to run out-of-the-box if possible. - Updated device selection as seen here.
- Preferably, if the node has multiple outputs, we should provide the option to disable them as seen here, with appropriate changes in the callback too.
- Make sure you update your docstrings for wrong argument names, typos, some nodes mentioning different tools, etc.
- Please test whether your node has delay issues as described in #275 and if you need to adjust the queue sizes.
- Keep in mind the feedback provided by the use-case partners.
- Use a lambda function for argparse type as seen here to handle passing of
Nonevalues to disable topics. This only applies to topics that can be disabled like these ones. This gives the option to users to entirely disable some unused topic from publishing, to save resources.
Tracking list:
-
[x] Face detection retinaface
-
[x] Face recognition
-
[x] Pose estimation
-
[x] Fall detection
-
[x] Object detection 2D - centernet
-
[x] Object detection 2D - ssd
-
[x] Object detection 2D - yolov3
-
[x] Semantic segmentation bisenet
-
[x] Panoptic segmentation efficient ps
-
[x] Object detection 2D - detr (some updates in #296, should be good to go. Note that changes for ROS1 are present in
ros2branch) -
[x] Video activity recognition (argparse, device code, argument naming/default values, docstring, see #302) (updates in #322)
-
[x] RGBD hand gesture recognition (argparse, device code, argument naming/default values, docstrings, see #303) (updates in #325)
-
[x] Heart anomaly detection (updates in argparse, device code, device argument, docstrings) (updates in #330)
-
[x] Speech command recognition (updates in argparse, device code, argument naming/default values, docstring) (updates in #331)
-
[x] Audiovisual emotion recognition (updates in argparse, device code, device argument, argument naming/default values) (updates in #332)
-
[ ] Object detection 2D - gem (argparse, device code, argument naming/default values) (updates in #295)
-
[ ] Landmark-based facial expression recognition (argparse, device code, argument naming/default values, docstrings,
pose_estimationvariables) (updates in #307) -
[ ] Skeleton-based action recognition (argparse, device code, argument naming/default values, see #304) (updates in #308)
-
[ ] Object detection 3D - voxel (argparse, device code, argument naming/default values, docstrings) (#320)
-
[ ] Object tracking 2D - deep sort (argparse, device code, argument naming/default values) (#320)
-
[ ] Object tracking 2D - fair mot (argparse, device code, argument naming/default values) (#320)
-
[ ] Object tracking 3D - ab3dmot (argparse, device code, argument naming/default values, docstrings) (#320)
For any questions or doubts feel free to ask below!
Edit: Added 8. in the list of issues to fix.
Two new branches (on top of develop) for skeleton-based_action_recognition and landmark-based_facial_expression_recognition are created which are called "har_ros1_fix", "fer_ros1_fix", respectively. In "har_ros1_fix", the script "skeleton_based_action_recognition" is updated and in "fer_ros1_fix", the script "landmark_based_facial_expression_recognition" is updated. Please check them out and let me know if there are still problems.
Hey @negarhdr!
I checked the changes out, they seem pretty good apart from some really minor things.
Feel free to open pull requests to merge them into the develop branch and i can comment on the minor issues on the review.
I am not yet closing this issue as i am going to go through all the listed ROS1 nodes, make sure that nothing related to this issue was missed and apply any minor fixes that might be needed.