Handle to read the complete state of a robot. More...
#include <franka_state_interface.h>
Public Member Functions | |
FrankaStateHandle ()=delete | |
FrankaStateHandle (const std::string &name, franka::RobotState &robot_state) | |
Creates an instance of a FrankaStateHandle. More... | |
const std::string & | getName () const noexcept |
Gets the name of the state handle. More... | |
const franka::RobotState & | getRobotState () const noexcept |
Gets the current robot state. More... | |
Private Attributes | |
std::string | name_ |
const franka::RobotState * | robot_state_ |
Handle to read the complete state of a robot.
Definition at line 15 of file franka_state_interface.h.
|
delete |
|
inline |
Creates an instance of a FrankaStateHandle.
[in] | name | The name of the state handle. |
[in] | robot_state | A reference to the robot state wrapped by this handle. |
Definition at line 25 of file franka_state_interface.h.
|
inlinenoexcept |
Gets the name of the state handle.
Definition at line 33 of file franka_state_interface.h.
|
inlinenoexcept |
Gets the current robot state.
Definition at line 40 of file franka_state_interface.h.
|
private |
Definition at line 43 of file franka_state_interface.h.
|
private |
Definition at line 44 of file franka_state_interface.h.