#include <yarp/dev/ImplementJointBrake.h>
Definition at line 17 of file ImplementJointBrake.h.
◆ ImplementJointBrake()
◆ ~ImplementJointBrake()
| ImplementJointBrake::~ImplementJointBrake |
( |
| ) |
|
|
virtual |
◆ getAutoBrakeEnabled()
checks if the automatic joint brake mode is enabled or disabled.
- Parameters
-
| j | joint number |
| enabled | is true the automatic joint brake mode is enabled |
- Returns
- : true/false success failure.
Implements yarp::dev::IJointBrake.
Definition at line 82 of file ImplementJointBrake.cpp.
◆ initialize()
Initialize the internal data and alloc memory.
- Parameters
-
| size | is the number of controlled axes the driver deals with. |
| amap | is a lookup table mapping axes onto physical drivers. |
- Returns
- true if initialized succeeded, false if it wasn't executed, or assert.
Definition at line 24 of file ImplementJointBrake.cpp.
◆ isJointBraked()
Check is the joint brake is currently active.
- Parameters
-
| j | joint number |
| braked | is true if the joint is currently braked |
- Returns
- : true/false success failure.
Implements yarp::dev::IJointBrake.
Definition at line 55 of file ImplementJointBrake.cpp.
◆ setAutoBrakeEnabled()
Enables/Disables the automatic joint brake.
If enabled, the firmware can automatically choose when to enable the joint brake (for example when the joint is in hardware_fault mode).
- Parameters
-
| j | joint number |
| enabled | true to enable the automatic joint brake |
- Returns
- : true/false success failure.
Implements yarp::dev::IJointBrake.
Definition at line 73 of file ImplementJointBrake.cpp.
◆ setManualBrakeActive()
◆ uninitialize()
| bool ImplementJointBrake::uninitialize |
( |
| ) |
|
|
protected |
Clean up internal data and memory.
- Returns
- true if uninitialization is executed, false otherwise.
Definition at line 44 of file ImplementJointBrake.cpp.
◆ m_buffer_doubles
| std::vector<double> yarp::dev::ImplementJointBrake::m_buffer_doubles |
|
protected |
◆ m_buffer_ints
| std::vector<int> yarp::dev::ImplementJointBrake::m_buffer_ints |
|
protected |
◆ m_helper
| void* yarp::dev::ImplementJointBrake::m_helper =nullptr |
|
protected |
◆ m_imp_mutex
| std::mutex yarp::dev::ImplementJointBrake::m_imp_mutex |
|
mutableprotected |
◆ m_iraw
The documentation for this class was generated from the following files: