|
move3d_ros_lib
0.1.0
move3d/ros API interface
|
The RobotsTfPublisher class publishes tf for robots in the scene uppon request. More...
#include <robots_tf_publisher.h>
Public Member Functions | |
| RobotsTfPublisher (SceneManager *scMgr, ros::NodeHandle *nh) | |
| RobotsTfPublisher constructor. More... | |
| bool | publishTf (const std::vector< std::string > &names, const ros::Time &date) |
| publish tf for given robots More... | |
| bool | publishTf (Robot *r, const ros::Time &date) |
| publish tf for a single move3d robot object More... | |
The RobotsTfPublisher class publishes tf for robots in the scene uppon request.
The tf published are named <move3d_robot_name>/<move3d_link_name>
| move3d::RobotsTfPublisher::RobotsTfPublisher | ( | SceneManager * | scMgr, |
| ros::NodeHandle * | nh | ||
| ) |
RobotsTfPublisher constructor.
| scMgr | the scene manager from which to get robot positions |
| nh | the node handle used to publish tf |
| bool move3d::RobotsTfPublisher::publishTf | ( | const std::vector< std::string > & | names, |
| const ros::Time & | date | ||
| ) |
publish tf for given robots
| names | list of robots names |
| date | date used in the tf header stamp |
Uses the current world state inside move3d scene. date parameter is used only for stamping the transforms sent to the broadcaster
| bool move3d::RobotsTfPublisher::publishTf | ( | Robot * | r, |
| const ros::Time & | date | ||
| ) |
1.8.6