20 bool HandleNewProfPosCmdImpl(
const DeviceCmd& cmd)
override;
21 bool HandleNewProfVelCmdImpl(
const DeviceCmd& cmd)
override;
22 bool HandleNewProfTorqueCmdImpl(
const DeviceCmd& cmd)
override;
24 FaultType ProcessProfPos()
override;
25 FaultType ProcessProfVel()
override;
26 FaultType ProcessProfTorque()
override;
27 FaultType ProcessProfPosDisengaging()
override;
28 FaultType ProcessProfVelDisengaging()
override;
29 FaultType ProcessProfTorqueDisengaging()
override;
31 void ElmoSetConfig()
override;
32 void ElmoProcess()
override;
33 void ElmoFault()
override;
34 void ElmoReset()
override;
35 void ElmoRead()
override;
36 void ElmoClearErrors()
override;
37 void ElmoSetPeakCurrent(
double current)
override;
38 void ElmoSetUnitMode(int32_t mode, uint16_t app_id)
override;
39 void ElmoCSP(
const jsd_elmo_motion_command_csp_t& jsd_csp_cmd)
override;
40 void ElmoCSV(
const jsd_elmo_motion_command_csv_t& jsd_csv_cmd)
override;
41 void ElmoCST(
const jsd_elmo_motion_command_cst_t& jsd_cst_cmd)
override;
42 void ElmoSetGainSchedulingMode(jsd_elmo_gain_scheduling_mode_t mode,
43 uint16_t app_id)
override;
44 void ElmoSetGainSchedulingIndex(uint16_t index)
override;
45 void ElmoHalt()
override;
47 double motor_on_start_time_ = 0.0;
48 uint8_t last_motor_on_state_ = 0;