-
Notifications
You must be signed in to change notification settings - Fork 225
Add confidence values for body tracking joint data #87
Comments
Can we use the alpha in |
Hmm that would mean that "CONFIDENCE_NONE" joints would be fully transparent in RViz (alpha=0). |
I guess I could extend the ID, which is already a combination of body id and joint id, with the confidence level as well. For example an ID of 1021 would mean: ID of 12223 The level is only 0 to 4, so one decimal place is ok Publisher calculates it this way: Clients could calculate it like this: Are there any flaws with this? EDIT: |
Perhaps it would be good to publish two different topics. One topic for visualization and a separate topic for other nodes to interpret the BodyTracking data.
|
That would be optimal way if we want to introduce custom messages. About 1: We already use different colors depending on the body ID like the simple viewer from SDK. For example body 1 = green, body 2 = red etc. |
I think having both options would be a good idea. If you need confidence values, subscribe to the new message; otherwise use the standard. If we go down that path, Please do it in two different pull requests. The first change request introducing the custom message infrastructure (including moving the current codebase down a level and adding a new node), the second would be adding the custom message and implementation. Make sense? |
You could also use different namespaces in the Marker message (the "ns" variable) to be able to enable/disable a subset of the markers in RViz. http://docs.ros.org/melodic/api/visualization_msgs/html/msg/Marker.html Either separating based on Person or Confidence value? |
Hi Guys, Thanks |
@AswinkarthikeyenAK Yes, the data is available in the SDK, but it hasn't been plumbed through the ROS node. We had a discussion about how it could be done. I added the help wanted tag as this work hasn't made it to the top of the teams' priority queue. |
@ooeygui, Thanks |
It is an old discussion, yet open. So I will quickly provide a reference for future readers. Please check out the following URL: https://github.com/ravijo/ros_openpose |
Thanks for the ping. There is a ROS REP for Human Robot Interaction which includes a definition of how people and skeletons are presented. ros-infrastructure/rep#338. We intend to converge Azure Kinect body tracking when this REP is accepted. (and I'm reviewing to see what changes need to be made so we can align to the kinect body tracking). I am also going to state that new features like this will be for ROS2 only, not ROS1. |
With the new body tracking sdk 0.9.4 each joint has a confidence value which indicates if the joint is out of range, not observed or observed:
We should publish this information together with the position of the joints.
Currently we use a marker array which can be displayed easily in RViz:
http://docs.ros.org/melodic/api/visualization_msgs/html/msg/MarkerArray.html
Each Marker has an ID, which is a combination of body ID & joint ID, and a position:
http://docs.ros.org/melodic/api/visualization_msgs/html/msg/Marker.html
The question is:
Where do we put in a confidence value?
I guess it would be nice to stick with ROS standard messages but I don't see field that would fit for this use case.
We could put it in the "text" field because its unused for non-text-markers and therefore free in our case.
But this will show a warning in RViz: "Non empty marker text is ignored"
So its not so nice.
Any other ideas?
The text was updated successfully, but these errors were encountered: