Struct robot_interfaces_bolt::BoltHumanoidActionΒΆ
-
struct BoltHumanoidAction : public robot_interfaces::Loggable, public robot_interfaces::Loggable
Action for the BoltHumanoid robot.
BoltHumanoid has an on-board PD+ controller which can be used by setting the P and D control gains per joint to the fields joint_position_gains and joint_velocity_gains. If the gains are zero, joint_positions and joint_velocities are ignored and only the torque commands in joint_torques are executed.
Public Functions
-
template<class Archive>
inline void serialize(Archive &archive)
-
inline std::vector<std::string> get_name() override
-
inline std::vector<std::vector<double>> get_data() override
-
template<class Archive>
inline void serialize(Archive &archive)
-
inline std::vector<std::string> get_name() override
-
inline std::vector<std::vector<double>> get_data() override
Public Members
-
Vector9d joint_positions = Vector9d::Zero()
Desired joint positions.
Only used if joint_position_gains are set to a non-zero value.
-
Vector9d joint_velocities = Vector9d::Zero()
Desired joint velocities.
Only used if joint_velocity_gains are set to a non-zero value.
Public Static Functions
-
static inline BoltHumanoidAction Zero()
Create a zero-torque action.
This is equivalent to just using the default constructor but can be used to more explicitly show intend in the code.
-
static inline BoltHumanoidAction Zero()
Create a zero-torque action.
This is equivalent to just using the default constructor but can be used to more explicitly show intend in the code.
-
template<class Archive>