You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Brian Jackson edited this page Aug 7, 2018
·
2 revisions
Getting Started
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
1. Create a Model
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 version f!(xdot,x,u) (recommended). Then simply create the model by specifying the number of controls and states: model = Model(f,n,m)