Definition at line 36 of file send_targets.cpp.
TargetSender::TargetSender |
( |
| ) |
|
|
inline |
The TargetSender class stores a map of publishers to associate a joint name to a publisher for easily sending targets to a given joint.
This array of joints could also be guessed either using the controller or listening to the joint_states topic.
Definition at line 44 of file send_targets.cpp.
TargetSender::~TargetSender |
( |
| ) |
|
|
inline |
bool TargetSender::sendupdate |
( |
std::string |
joint_name, |
|
|
double |
target |
|
) |
| |
|
inline |
Sends a target to the given joint.
- Parameters
-
joint_name | The joint we want to send the target to. |
target | The target in degrees. |
- Returns
- true if success.
Definition at line 90 of file send_targets.cpp.
The documentation for this class was generated from the following file: