-
Notifications
You must be signed in to change notification settings - Fork 63
Home
Brian Jackson edited this page Aug 7, 2018
·
2 revisions
The basic workflow when using TrajectoryOptimization.jl is as follows:
- Create a Model
- Create an Objective
- Create a Solver
- Solve
- Analyze Results
The following sections cover each of these step in greater detail
The TrajectoryOptimization.Model
type contains the dynamics model to be used in the optimization problem. In can be created using any of the following methods:
-
User-created Julia function: Simply create a function of the following form
xdot = f(x,u)
or the in-place versionf!(xdot,x,u)
(recommended). Then simply create the model by specifying the number of controls and states:model = Model(f,n,m)
-
URDF file: Create a model