MATLAB code

From Bike Wiki
Revision as of 23:58, 17 September 2019 by Daniel (talk | contribs) (+)
Jump to navigation Jump to search

How to make a cool animation of the bike

  1. Clone https://github.com/CornellAutonomousBikeTeam/Matlab-Optimization, and open the folder in MATLAB
  2. Open runBicycleTest.m
  3. 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.

See also