Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jalving authored Aug 22, 2024
1 parent 49f4cac commit 235c0d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/tutorials/quadcopter.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ end
```

We can now define the function for building the optigraph. We initialize an OptiGraph and set the optimizer. We then define `N` nodes on the OptiGraph `graph`. We then call the three functions above and call `set_to_node_objectives` to set the graph's objective to the nodes' objectives we have defined. We can then call `optimize` and return the objective value, the graph, and the reference points.
```Julia
```julia
function build_quadcopter_graph(N, dt)
graph = OptiGraph()
solver = optimizer_with_attributes(Ipopt.Optimizer, "max_iter" => 100)
Expand Down

0 comments on commit 235c0d4

Please sign in to comment.