Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor person description messages #6

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ add_message_files(
BoundingBoxList.msg
BoundingBox2D.msg
Cavity.msg
PeopleScene.msg
Face.msg
FaceList.msg
ImageList.msg
LaserScanSegment.msg
LaserScanSegmentList.msg
Expand Down
9 changes: 3 additions & 6 deletions msg/Face.msg
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
Header header # standard header
uint32 ID # unique identifier to a face
string name # name of the person with this face
float32 leftEyeCenterX # postion of the left eye of the face
float32 leftEyeCenterX # postion of the left eye of the face
float32 leftEyeCenterY
float32 rightEyeCenterX # postion of the right eye of the face
float32 rightEyeCenterX # postion of the right eye of the face
float32 rightEyeCenterY
sensor_msgs/Image image # image of the face
sensor_msgs/Image image # image of the face
15 changes: 0 additions & 15 deletions msg/FaceList.msg

This file was deleted.

4 changes: 4 additions & 0 deletions msg/PeopleScene.msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
sensor_msgs/Image scene_image # store scene image which contain people
minhnh marked this conversation as resolved.
Show resolved Hide resolved
mas_perception_msgs/Person[] people # list of people in scene
sensor_msgs/RegionOfInterest[] face_rois # bounding boxes of people's faces
sensor_msgs/RegionOfInterest[] body_rois # bounding boxes of people's full body
41 changes: 20 additions & 21 deletions msg/Person.msg
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
Header header # standard header

uint32 id # unique identifier to a person

geometry_msgs/PoseStamped pose # real pose of a detected person

geometry_msgs/PoseStamped safe_pose # safety pose for a detected person (to approach by base)

sensor_msgs/Image rgb_image # image cropped to the bounding box of the detected person

float32 height # measured height of the person

float32 width # measured width of the person

float32 depth # measured depth of the person

bool is_tracked # is the user tracked

bool is_occluded # is the user occluded

float32 probability # probability of beeing a person at this pose
string identity
minhnh marked this conversation as resolved.
Show resolved Hide resolved
float32 age
mas_perception_msgs/Face face
sensor_msgs/Image body_image # extracted RGB image of the person
sensor_msgs/PointCloud2 body_points # extracted point cloud of the person

string[] attribute_names # e.g. gender, emotion,...
string[] attributes # e.g. male, angry,...
float32[] attribute_confidences # e.g. 0.71, 0.80,...

geometry_msgs/PoseStamped pose # 3D pose of the detected person

# fields used by `mcr_people_tracking`, `mcr_leg_detection`, and `mdr_follow_person`
# potentially removable since the packages themselves are old and not well-maintained and possibly overlapping
# with 'wg-perception/people'
Header header
uint32 id
bool is_tracked # is the user tracked
bool is_occluded # is the user occluded
float32 probability # probability of beeing a person at this pose