yarp::dev::ControlBoardHelper * castToMapper(void *p)
Interface for controlling a joint equipped with brakes (hardware or simulated).
virtual yarp::dev::ReturnValue setManualBrakeActiveRaw(int j, bool active)=0
virtual yarp::dev::ReturnValue isJointBrakedRaw(int j, bool &braked) const =0
virtual yarp::dev::ReturnValue getAutoBrakeEnabledRaw(int j, bool &enabled) const =0
virtual yarp::dev::ReturnValue setAutoBrakeEnabledRaw(int j, bool enabled)=0
virtual yarp::dev::ReturnValue setManualBrakeActive(int j, bool active) override
Enables/Disables manually the joint brake.
ImplementJointBrake(yarp::dev::IJointBrakeRaw *y)
virtual yarp::dev::ReturnValue isJointBraked(int j, bool &braked) const override
Check is the joint brake is currently active.
yarp::dev::IJointBrakeRaw * m_iraw
virtual ~ImplementJointBrake()
Destructor.
bool uninitialize()
Clean up internal data and memory.
bool initialize(int size, const int *amap)
Initialize the internal data and alloc memory.
virtual yarp::dev::ReturnValue setAutoBrakeEnabled(int j, bool enabled) override
Enables/Disables the automatic joint brake.
std::vector< double > m_buffer_doubles
std::vector< int > m_buffer_ints
virtual yarp::dev::ReturnValue getAutoBrakeEnabled(int j, bool &enabled) const override
checks if the automatic joint brake mode is enabled or disabled.
A mini-server for performing network communication in the background.
#define YARP_LOG_COMPONENT(name,...)
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.