|
|
| ObservationFormatter (const std::vector< std::string > &joint_names) |
|
std::vector< float > | format (const control_msgs::msg::Float64Values &interface_data, const geometry_msgs::msg::Twist &velocity_cmd, const std::vector< double > &previous_action) |
|
size_t | get_observation_dim () const |
|
std::vector< double > | extract_joint_positions (const control_msgs::msg::Float64Values &interface_data) |
|
void | set_interface_names (const std::vector< std::string > &interface_names) |
|
void | update_feet_contacts_from_interfaces (const control_msgs::msg::Float64Values &msg, const std::string &left_contact_full_name, const std::string &right_contact_full_name) |
|
void | set_default_joint_positions (const std::vector< double > &default_positions) |
|
void | set_motor_targets (const std::vector< double > &motor_targets) |
|
void | set_velocity_commands (const std::vector< double > &commands) |
|
void | update_action_history (const std::vector< double > &action) |
| void | set_num_steps_in_gait_period (double num_steps) |
| | Set the number of control steps in one gait cycle used for the imitation phase.
|
|
void | set_imu_upside_down (bool upside_down) |
|
void | set_gyro_deadband (double deadband) |
|
void | update_imitation_phase (double phase_frequency_factor) |
|
std::vector< double > | get_imitation_phase () const |
◆ set_num_steps_in_gait_period()
| void onnx_policy_controller::ObservationFormatter::set_num_steps_in_gait_period |
( |
double | num_steps | ) |
|
Set the number of control steps in one gait cycle used for the imitation phase.
- Exceptions
-
| std::invalid_argument | if num_steps is not positive and finite; the previous value is kept in that case. |
The documentation for this class was generated from the following files:
- ros2_control_demos/example_18/controller/include/onnx_policy_controller/observation_formatter.hpp
- ros2_control_demos/example_18/controller/src/observation_formatter.cpp