Difference between revisions of "MATLAB code"
Jump to navigation
Jump to search
(+) |
(+) |
||
| Line 3: | Line 3: | ||
# Open runBicycleTest.m | # Open runBicycleTest.m | ||
# In the command window, run something like <code>runBicycleTest(0,0,3,0,pi/6,0,0,[23,16,-2], 0,100,1)</code>. The penultimate parameter is the number of steps - that is, the bigger this is, the longer the simulation will run for. All the other parameters are basically documented in the variable names. | # In the command window, run something like <code>runBicycleTest(0,0,3,0,pi/6,0,0,[23,16,-2], 0,100,1)</code>. The penultimate parameter is the number of steps - that is, the bigger this is, the longer the simulation will run for. All the other parameters are basically documented in the variable names. | ||
| + | |||
| + | == See also == | ||
| + | * [[LQR]] | ||
Revision as of 23:58, 17 September 2019
How to make a cool animation of the bike
- Clone https://github.com/CornellAutonomousBikeTeam/Matlab-Optimization, and open the folder in MATLAB
- Open runBicycleTest.m
- In the command window, run something like
runBicycleTest(0,0,3,0,pi/6,0,0,[23,16,-2], 0,100,1). The penultimate parameter is the number of steps - that is, the bigger this is, the longer the simulation will run for. All the other parameters are basically documented in the variable names.