semio_ros
0.10.6
|
Simple ROS wrapper around semio::DeicticRecognizer. More...
Public Types | |
typedef semio_msgs_ros::DeicticRecognitionResult | _DeicticRecognitionResultMsg |
ROS message for the result of deictic recognition for all humanoids. More... | |
typedef semio_msgs_ros::DeicticRecognitionHumanoidItem | _DeicticRecognitionHumanoidItemMsg |
ROS message for the result of deictic recognition for a single humanoid. More... | |
typedef semio_msgs_ros::DeicticRecognitionSourceItem | _DeicticRecognitionSourceItemMsg |
ROS message for the result of deictic recognition for a single humanoid joint. More... | |
typedef semio_msgs_ros::DeicticRecognitionTopNItem | _DeicticRecognitionTopNItemMsg |
ROS message for the result of deictic recognition for a single deictic target. More... | |
typedef semio_msgs_ros::DeicticTargets | _DeicticTargetsMsg |
ROS message for a vector of deictic targets. More... | |
typedef semio_msgs_ros::DeicticTarget | _DeicticTargetMsg |
ROS message for a single deictic target. More... | |
Public Member Functions | |
SemioDeixisNode (ros::NodeHandle &nh_rel, semio::HumanoidSource::Ptr humanoid_source_ptr) | |
void | spin () |
Main loop. More... | |
void | targetsCB (_DeicticTargetsMsg::ConstPtr const &msg_ptr) |
ROS callback for deictic targets. More... | |
Data Fields | |
ros::NodeHandle | nh_rel_ |
NodeHandle copy used to interface with ROS. More... | |
ros::Publisher | result_pub_ |
Deictic recognition result publisher. More... | |
ros::Subscriber | targets_sub_ |
Deictic targets subscriber. More... | |
semio::HumanoidSource::Ptr | humanoid_source_ptr_ |
Pointer to the input source for humanoids. More... | |
semio::DeicticRecognizer | deictic_recognizer_ |
Semio deictic recognizer. More... | |
Simple ROS wrapper around semio::DeicticRecognizer.
Definition at line 10 of file semio_deixis_node.cpp.
typedef semio_msgs_ros::DeicticRecognitionHumanoidItem SemioDeixisNode::_DeicticRecognitionHumanoidItemMsg |
ROS message for the result of deictic recognition for a single humanoid.
Definition at line 16 of file semio_deixis_node.cpp.
ROS message for the result of deictic recognition for all humanoids.
Definition at line 14 of file semio_deixis_node.cpp.
typedef semio_msgs_ros::DeicticRecognitionSourceItem SemioDeixisNode::_DeicticRecognitionSourceItemMsg |
ROS message for the result of deictic recognition for a single humanoid joint.
Definition at line 18 of file semio_deixis_node.cpp.
typedef semio_msgs_ros::DeicticRecognitionTopNItem SemioDeixisNode::_DeicticRecognitionTopNItemMsg |
ROS message for the result of deictic recognition for a single deictic target.
Definition at line 20 of file semio_deixis_node.cpp.
ROS message for a single deictic target.
Definition at line 24 of file semio_deixis_node.cpp.
typedef semio_msgs_ros::DeicticTargets SemioDeixisNode::_DeicticTargetsMsg |
ROS message for a vector of deictic targets.
Definition at line 22 of file semio_deixis_node.cpp.
|
inline |
nh_rel | NodeHandle copy used to interface with ROS. |
humanoid_source_ptr | Pointer to the input source for humanoids. |
Definition at line 42 of file semio_deixis_node.cpp.
References semio::DeicticRecognizer::setFilterMaxDuration(), and semio::DeicticRecognizer::setFilterMaxSize().
|
inline |
Main loop.
Definition at line 67 of file semio_deixis_node.cpp.
References semio::DeicticRecognizer::calculateResult(), semio::DeicticRecognizer::getHumanoids(), and semio::TopNList< __Key, __Value, __Order >::values().
Referenced by main().
|
inline |
ROS callback for deictic targets.
msg_ptr | ConstPtr to the deictic target message |
Definition at line 130 of file semio_deixis_node.cpp.
References semio::DeicticRecognizer::getTargets().
semio::DeicticRecognizer SemioDeixisNode::deictic_recognizer_ |
Semio deictic recognizer.
Definition at line 36 of file semio_deixis_node.cpp.
semio::HumanoidSource::Ptr SemioDeixisNode::humanoid_source_ptr_ |
Pointer to the input source for humanoids.
Definition at line 34 of file semio_deixis_node.cpp.
ros::NodeHandle SemioDeixisNode::nh_rel_ |
NodeHandle copy used to interface with ROS.
Definition at line 27 of file semio_deixis_node.cpp.
ros::Publisher SemioDeixisNode::result_pub_ |
Deictic recognition result publisher.
Definition at line 29 of file semio_deixis_node.cpp.
ros::Subscriber SemioDeixisNode::targets_sub_ |
Deictic targets subscriber.
Definition at line 31 of file semio_deixis_node.cpp.