Go to the documentation of this file.
15 void initParams(
const std::vector<int8_t> ¶m_buffer)
override;
20 explicit qbSoftHand2MotorsResearch(std::shared_ptr<Communication> communication, std::string name, std::string serial_port, uint8_t
id);
21 explicit qbSoftHand2MotorsResearch(std::shared_ptr<Communication> communication, std::string name, std::string serial_port, uint8_t
id,
bool init_params);
26 int setParameter(uint16_t param_type,
const std::vector<int8_t> ¶m_data)
override;
void initParams(const std::vector< int8_t > ¶m_buffer) override
int setParamId(uint8_t id) override
Set the ID of the device.
int setParamHandSide(uint8_t hand_side)
Set the hand_side parameter for RIGHT or LEFT Hand for SoftHand 2.
qbSoftHand2MotorsResearch(std::shared_ptr< Communication > communication, std::string name, std::string serial_port, uint8_t id)
int getSynergies(std::vector< int16_t > &synergies)
Get the synergies values of the SoftHand 2.
int setMultiplicativeSynergiesReferences(float synergy_1, float synergy_2)
Set the Multiplicative Synergies References to SoftHand 2.
int getParamHandSide()
Update the SoftHand 2 hand_side parameter in the class variable param_.
General class that allow to get/set parameters from/to qbrobotics devices.
int setParamZeros() override
Set motor(s) zero(s) to actual encoder reading.
int setAdditiveSynergiesReferences(int16_t synergy_1, int16_t synergy_2)
Set the Additive Synergies References to SoftHand 2.
int getParamEncoderOffsets() override
Update the SoftHand 2 encoder offsets in the class variable param_.
SoftHand 2 class that allows to control and get/set parameters.
int setParameter(uint16_t param_type, const std::vector< int8_t > ¶m_data) override
Set the Parameter specified by param_type with the values stored in param_data.
Manage qbrobotics devices parameters.
~Params() override=default
int setHomePosition()
Blocking function that moves SoftHand 2 motors to home position.
~qbSoftHand2MotorsResearch() override=default
int setMotorStates(bool motor_state) override
Activate or deactivate the motor(s)
int setParamEncoderOffsets(const std::vector< int16_t > &encoder_offsets) override
Set the encoder offsets parameters of the SoftHand 2.
qb_device_driver
Author(s): qbroboticsĀ®
autogenerated on Thu Apr 27 2023 02:36:32