|
semio_ros
0.10.6
|
Example node demonstrating how to publish targets for deixis recognition. More...
Public Member Functions | |
| ExampleDeicticTargetsNode (ros::NodeHandle &nh_rel, semio::HumanoidSource::Ptr humanoid_source_ptr, semio::HumanoidSink::Ptr humanoid_sink_ptr) | |
| void | publishData () |
| Publish all relevant data. More... | |
| void | spin () |
| Main loop. More... | |
Protected Types | |
| 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... | |
Protected Attributes | |
| ros::NodeHandle & | _nh_rel |
| NodeHandle used to interface with ROS. More... | |
| ros::Publisher | _deictic_targets_pub |
| Publisher for our deictic targets. More... | |
| semio::HumanoidSink::Ptr | _humanoid_sink_ptr |
| Pointer to the input source for humanoids. More... | |
| semio::HumanoidSource::Ptr | _humanoid_source_ptr |
| Pointer to the output sink for humanoids. More... | |
| bool | _is_virtual_source |
| Whether the input source is a semio::HumanoidSourceVirtual. More... | |
| semio::DeicticTargetArray | _deictic_targets |
| The list of deictic targets to publish. More... | |
| std::vector< TestPose > | _test_poses |
| The list of test poses to use if _is_virtual_source == true. More... | |
Example node demonstrating how to publish targets for deixis recognition.
Definition at line 22 of file example_deictic_targets_node.cpp.
|
protected |
ROS message for a single deictic target.
Definition at line 28 of file example_deictic_targets_node.cpp.
|
protected |
ROS message for a vector of deictic targets.
Definition at line 26 of file example_deictic_targets_node.cpp.
|
inline |
| nh_rel | NodeHandle used to interface with ROS. |
| humanoid_source_ptr | Pointer to the output sink for humanoids. |
| humanoid_sink_ptr | Pointer to the input source for humanoids. |
Definition at line 55 of file example_deictic_targets_node.cpp.
|
inline |
Publish all relevant data.
Definition at line 127 of file example_deictic_targets_node.cpp.
|
inline |
Main loop.
Definition at line 162 of file example_deictic_targets_node.cpp.
References semio::HumanoidJoint::HEAD, semio::HumanoidJoint::NECK, and semio::HumanoidJoint::TORSO.
Referenced by main().
Here is the caller graph for this function:
|
protected |
The list of deictic targets to publish.
Definition at line 44 of file example_deictic_targets_node.cpp.
|
protected |
Publisher for our deictic targets.
Definition at line 33 of file example_deictic_targets_node.cpp.
|
protected |
Pointer to the input source for humanoids.
Definition at line 36 of file example_deictic_targets_node.cpp.
|
protected |
Pointer to the output sink for humanoids.
Definition at line 38 of file example_deictic_targets_node.cpp.
|
protected |
Whether the input source is a semio::HumanoidSourceVirtual.
Definition at line 41 of file example_deictic_targets_node.cpp.
|
protected |
NodeHandle used to interface with ROS.
Definition at line 31 of file example_deictic_targets_node.cpp.
|
protected |
The list of test poses to use if _is_virtual_source == true.
Definition at line 47 of file example_deictic_targets_node.cpp.