SdhNode Class Reference
Implementation of ROS node for sdh.
More...
List of all members.
Detailed Description
Implementation of ROS node for sdh.
Offers actionlib and direct command interface.
Definition at line 99 of file sdh.cpp.
Constructor & Destructor Documentation
SdhNode::SdhNode |
( |
std::string |
name |
) |
[inline] |
Constructor for SdhNode class.
- Parameters:
-
| name | Name for the actionlib server |
Definition at line 163 of file sdh.cpp.
SdhNode::~SdhNode |
( |
|
) |
[inline] |
Member Function Documentation
Executes the callback from the actionlib.
Set the current goal to aborted after receiving a new goal and write new goal to a member variable. Wait for the goal to finish and set actionlib status to succeeded.
- Parameters:
-
Definition at line 272 of file sdh.cpp.
bool SdhNode::init |
( |
|
) |
[inline] |
Initializes node to get parameters, subscribe and publish to topics.
Definition at line 192 of file sdh.cpp.
Executes the service callback for init.
Connects to the hardware and initialized it.
- Parameters:
-
| req | Service request |
| res | Service response |
Definition at line 425 of file sdh.cpp.
Executes the service callback for recover.
Recovers the hardware after an emergency stop.
- Parameters:
-
| req | Service request |
| res | Service response |
Definition at line 551 of file sdh.cpp.
Executes the service callback for set_operation_mode.
Changes the operation mode.
- Parameters:
-
| req | Service request |
| res | Service response |
Definition at line 567 of file sdh.cpp.
Executes the service callback for stop.
Stops all hardware movements.
- Parameters:
-
| req | Service request |
| res | Service response |
Definition at line 523 of file sdh.cpp.
void SdhNode::topicCallback_setVelocitiesRaw |
( |
const std_msgs::Float32MultiArrayPtr & |
velocities |
) |
[inline] |
void SdhNode::updateDsa |
( |
|
) |
[inline] |
Main routine to update dsa.
Reads out current values.
Definition at line 811 of file sdh.cpp.
void SdhNode::updateSdh |
( |
|
) |
[inline] |
Main routine to update sdh.
Sends target to hardware and reads out current configuration.
Definition at line 598 of file sdh.cpp.
Member Data Documentation
create a handle for this node, initialize node
Definition at line 103 of file sdh.cpp.
The documentation for this class was generated from the following file: