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