24 std::lock_guard<std::mutex>
lg(m_mutex);
29 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
43 std::lock_guard<std::mutex>
lg(m_mutex);
47 ret = ReturnValue::return_code::return_value_error_not_ready;
60 std::lock_guard<std::mutex>
lg(m_mutex);
64 ret = ReturnValue::return_code::return_value_error_not_ready;
77 std::lock_guard<std::mutex>
lg(m_mutex);
81 ret.ret = ReturnValue::return_code::return_value_error_not_ready;
96 std::lock_guard<std::mutex>
lg(m_mutex);
98 if (!m_iVelocityDirect) {
112 std::lock_guard<std::mutex>
lg(m_mutex);
114 if (!m_iVelocityDirect) {
128 std::lock_guard<std::mutex>
lg(m_mutex);
130 if (!m_iVelocityDirect) {
144 std::lock_guard<std::mutex>
lg(m_mutex);
146 if (!m_iVelocityDirect) {
return_getAxes getAxesRPC() const override
return_getDesiredVelocityOne getDesiredVelocityOneRPC(const std::int32_t j) const override
yarp::dev::ReturnValue setManualBrakeActiveRPC(const std::int32_t j, const bool active) override
return_getDesiredVelocityGroup getDesiredVelocityGroupRPC(const std::vector< std::int32_t > &jnts) const override
yarp::dev::ReturnValue setAutoBrakeEnabledRPC(const std::int32_t j, const bool enabled) override
return_getDesiredVelocityAll getDesiredVelocityAllRPC() const override
return_isJointBraked isJointBrakedRPC(const std::int32_t j) const override
return_getAutoBrakeEnabled getAutoBrakeEnabledRPC(const std::int32_t j) const override
virtual yarp::dev::ReturnValue setAutoBrakeEnabled(int j, bool enabled)=0
Enables/Disables the automatic joint brake.
virtual yarp::dev::ReturnValue isJointBraked(int j, bool &braked) const =0
Check is the joint brake is currently active.
virtual yarp::dev::ReturnValue getAutoBrakeEnabled(int j, bool &enabled) const =0
checks if the automatic joint brake mode is enabled or disabled.
virtual yarp::dev::ReturnValue setManualBrakeActive(int j, bool active)=0
Enables/Disables manually the joint brake.
virtual yarp::dev::ReturnValue getDesiredVelocity(const int jnt, double &vel)=0
Get the last reference velocity set by setDesiredVelocity() for a single joint.
virtual yarp::dev::ReturnValue getAxes(size_t &axes)=0
Get the number of controlled axes.
@ return_value_error_not_ready
Method failed due to invalid internal status/invalid request.
A mini-server for performing network communication in the background.
#define yCError(component,...)
#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.