Closed luator closed 1 year ago
The new reset_to_initial_state method gets initial positions and velocities from Solo12Config and uses it to reset the simulation.
reset_to_initial_state
This simplifies the setup, especially when used from within C++ code (needed for simulation driver in https://github.com/open-dynamic-robot-initiative/robot_interfaces_solo/pull/3).
By using it in https://github.com/open-dynamic-robot-initiative/robot_interfaces_solo/pull/3.
Description
The new
reset_to_initial_state
method gets initial positions and velocities from Solo12Config and uses it to reset the simulation.This simplifies the setup, especially when used from within C++ code (needed for simulation driver in https://github.com/open-dynamic-robot-initiative/robot_interfaces_solo/pull/3).
How I Tested
By using it in https://github.com/open-dynamic-robot-initiative/robot_interfaces_solo/pull/3.
I fulfilled the following requirements