Properties
Property | Description |
---|---|
robot_model | A set of information and properties of a robot |
vars | A set of useful features within the optimization, including history, joint, and link information |
lower_bounds | A vector representing the lower bounds in the optimization vector. This is derived from the robot base limits and joint limits |
upper_bounds | A vector representing the upper bounds in the optimization vector. This is derived from the robot base limits, as well as joint limits |
objective_set | A lookup table containing all of the current objectives in use |
max_retries | The maximum number of randomly initialized rounds allowed for each invocation of solve |
max_iterations | The number of maximum iterations per round within the optimization |
Retriving current state
Returns the solution state
from the last invocation of solve
- Javascript
- Python
- Rust
let current_state = solver.current_state();
current_state = solver.get_current_state();
let current_state = solver.get_current_state();
Retriving current objectives
Returns the current objectives
as a lookup table
- Javascript
- Python
- Rust
let current_objectives = solver.objectives();
current_objectives = solver.get_objectives();
let current_state = solver::get_objectives();
Modifying current objectives
Replace the current objectives
with new objectives
lookup table
- Javascript
- Python
- Rust
solver.objectives = new_objectives;
solver.objectives = new_objectives;
solver.set_objectives(new_objectives);
Retriving current goals
Returns the current goals
as a lookup table
- Javascript
- Python
- Rust
let current_goals = solver.current_goals();
current_goals = solver.get_current_goals();
let current_goals = solver.get_current_goals();
Modifying current goals
Replace the current goals
with new goals
lookup table
- Javascript
- Python
- Rust
solver.goals = new_goals;
solver.goals = new_goals;
solver.set_goals(new_goals);