update api doc
This commit is contained in:
parent
29b6edeafb
commit
50df33fc7b
|
@ -52,7 +52,12 @@ namespace robot_state_publisher{
|
|||
|
||||
class JointStateListener{
|
||||
public:
|
||||
/** Constructor
|
||||
* \param tree The kinematic model of a robot, represented by a KDL Tree
|
||||
*/
|
||||
JointStateListener(const KDL::Tree& tree);
|
||||
|
||||
/// Destructor
|
||||
~JointStateListener();
|
||||
|
||||
private:
|
||||
|
|
|
@ -48,9 +48,18 @@ namespace robot_state_publisher{
|
|||
class RobotStatePublisher
|
||||
{
|
||||
public:
|
||||
/** Constructor
|
||||
* \param tree The kinematic model of a robot, represented by a KDL Tree
|
||||
*/
|
||||
RobotStatePublisher(const KDL::Tree& tree);
|
||||
|
||||
/// Destructor
|
||||
~RobotStatePublisher(){};
|
||||
|
||||
/** Publish transforms to tf
|
||||
* \param joint_positions A map of joint names and joint positions.
|
||||
* \param time The time at which the joint positions were recorded
|
||||
*/
|
||||
bool publishTransforms(const std::map<std::string, double>& joint_positions, const ros::Time& time);
|
||||
|
||||
private:
|
||||
|
|
Loading…
Reference in New Issue