Skip to main content

Properties

PropertyDescription
robot_modelA set of information and properties of a robot
varsA set of useful features within the optimization, including history, joint, and link information
lower_boundsA vector representing the lower bounds in the optimization vector. This is derived from the robot base limits and joint limits
upper_boundsA vector representing the upper bounds in the optimization vector. This is derived from the robot base limits, as well as joint limits
objective_setA lookup table containing all of the current objectives in use
max_retriesThe maximum number of randomly initialized rounds allowed for each invocation of solve
max_iterationsThe number of maximum iterations per round within the optimization

Retriving current state

Returns the solution state from the last invocation of solve

let current_state = solver.current_state();

Retriving current objectives

Returns the current objectives as a lookup table

let current_objectives = solver.objectives();

Modifying current objectives

Replace the current objectives with new objectives lookup table

solver.objectives = new_objectives;

Retriving current goals

Returns the current goals as a lookup table

let current_goals = solver.current_goals();

Modifying current goals

Replace the current goals with new goals lookup table

solver.goals = new_goals;