MATLAB code
Jump to navigation
Jump to search
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.