Now IrsLqrQuasistatic has a IrsLqrQuasistaticParameters class, which stores all the relevant information about the problem. The implementation of IrsLqrQuasistatic as well as the planar hand has changed to reflect the new structure.
The implementation of solve_tvlqr now includes absolute and relative bounds. The cost on u vs. du is added depending on whether or not index_u_into_x is supplied. Closes #2. The original implementation of irs_lqr is made to be compatible with the new solve_tvlqr interface.
Many parameters that used to be hand-written somewhere deep within the implementations of irs_lqr_quasistatic and quasistatic_dynamics are now fully exposed into parameters. These include the following:
gradient_mode: can now choose between exact, first_order, zero_order_B, zero_order_AB`
task_stride: expoerted as parameters.
decouple_AB: whether the off-diagonal terms will be set to zero.
use_workers: whether the workers are used for threading.
Changes interface for planar_hand example (which has been renamed from quasistatic). Now planar_hand_setup has high-level parameters which are fed to IrsLqrQuasistatic in run_planar_hand. @pangtao22 it seems like since we have a setup file already, the yaml file seems unnecessary. If you agree with this solution, this Closes #7
Implements variance scheduling as an input function to IrsLqrQuasistaticParameters. Closes #5.
High-level changes:
IrsLqrQuasistatic
has aIrsLqrQuasistaticParameters
class, which stores all the relevant information about the problem. The implementation ofIrsLqrQuasistatic
as well as the planar hand has changed to reflect the new structure.solve_tvlqr
now includes absolute and relative bounds. The cost onu
vs.du
is added depending on whether or notindex_u_into_x
is supplied. Closes #2. The original implementation ofirs_lqr
is made to be compatible with the newsolve_tvlqr
interface.irs_lqr_quasistatic
andquasistatic_dynamics
are now fully exposed into parameters. These include the following:gradient_mode
: can now choose betweenexact
,first_order
,zero_order_B
, zero_order_AB`task_stride
: expoerted as parameters.decouple_AB
: whether the off-diagonal terms will be set to zero.use_workers
: whether the workers are used for threading.planar_hand
example (which has been renamed fromquasistatic
). Nowplanar_hand_setup
has high-level parameters which are fed toIrsLqrQuasistatic
inrun_planar_hand
. @pangtao22 it seems like since we have a setup file already, the yaml file seems unnecessary. If you agree with this solution, this Closes #7IrsLqrQuasistaticParameters
. Closes #5.This change is