#include <ros/ros.h>#include <tf/transform_listener.h>#include <tf/transform_broadcaster.h>#include <string>#include <limits>
Go to the source code of this file.
Functions | |
| float | getCosts (const tf::StampedTransform transform) |
| int | getMinIndex (int n, float *values) |
| int | main (int argc, char **argv) |
| tf::StampedTransform | zTransform (const tf::StampedTransform transform) |
Variables | |
| std::string | base_name |
| const std::string | DOM_PERSON_NAME = "/dominant_person" |
| const std::string | GROUP_NAME = "/group" |
| const int | MAX_PERSONS = 20 |
| float getCosts | ( | const tf::StampedTransform | transform | ) |
Calculates costs for the given transform (x+0.4*y)
Definition at line 130 of file robin_people_detection.cpp.
| int getMinIndex | ( | int | n, |
| float * | values | ||
| ) |
Returns the index of the minimal value in the array with the length n.
Definition at line 137 of file robin_people_detection.cpp.
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 31 of file robin_people_detection.cpp.
| tf::StampedTransform zTransform | ( | const tf::StampedTransform | transform | ) |
Title: People Detection Author: Reiter Andreas & Reisenberger Johannes Date: 17.12.2013 Summary: Calculates the most dominant person (weighted function from x- and y-distance) and publishes a tf from the projection to the floor (/dominant_person). Furthermore publishes a tf of the average position of all detected persons, projected to the floor (/group).
Sets the z-value of transform to 0 and returns the new transform.
Definition at line 120 of file robin_people_detection.cpp.
| std::string base_name |
Definition at line 21 of file robin_people_detection.cpp.
| const std::string DOM_PERSON_NAME = "/dominant_person" |
Definition at line 25 of file robin_people_detection.cpp.
| const std::string GROUP_NAME = "/group" |
Definition at line 26 of file robin_people_detection.cpp.
| const int MAX_PERSONS = 20 |
Definition at line 24 of file robin_people_detection.cpp.