Organizing code for Hopper platform
Follow the instructions at https://docs.odriverobotics.com/
Test your setup with calibrate_odrive.py in hopper/src/
- Clone this repo into your local directory (https://github.com/robomechanics/hopper)
- Install arduino IDE from https://www.arduino.cc/en/main/software
- Clone I2Cdev into Arduino Library folder (https://github.com/jrowberg/i2cdevlib/tree/master/EFM32/I2Cdev)
- Clone MPU6050 into Arduino Library folder (https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050)
- Calibrate IMU using MPU6050/examples/IMU_zero/IMU_zero.ino, record offsets
- cd into hopper repository
- Open IMU/MPU_6050_calibrated, modify fixed offsets from calibration and download to Arduino
python3 main.py
(check to see that serial port is correct)
Two separate components under development
Currently developing a single degree of freedom leg with spring in parallel to provide vertical actuation for the hopper. This leg has no role in body control as of now
Simscape model in place, basic optimization loop is functional. For low numbers of free variables this approach works reasonably well, but it looks like we'll need analytical equations of motion to run a full optimization loop in reasonable timescales.
Tasks
Under development