Finger design, fabrication and control of 2n configured finger with tendon-driven actuators. This repository should contain all of the software required for the project
[InsertImages]
- 2 DOF finger
- 4 ODrive Pro
- 4 BLDC Motors
- 4 AMS SPI Encoders
- Emergency Stop
- 24V to 12V custom power board
- Connecting wires, connectors and crimps
include: Includes header files for all classes usedUI: Python files used for user interface and serial interfacinglib: Contains any external libraries usedtest: Containts any tests utilizedsrc: Source code used to operate electromechanical systemmotor_protocols: Motor state interfacingserial_protocols: Serial-UI interfacingfinger: Finger kinematicscontroller: Torque controller used
Clone repository locally and configure all paths included within vscode.
Download and install PlatformIO to operete Teensy (https://platformio.org/)
Download odrivetool and set up can using following commands or other OS equivalent:
sudo ip link set can0 up type can bitrate 250000Configure following parameters for each odrive in odrivetool:
odrv0.config.dc_max_negative_current = -0.1
odrv0.config.max_regen_current = 0.1
odrv0.save_configuration()Set appropriate Can_ID through odrive GUI online
For user interface, only python is required. Navigate into UI sub-directory and run the following command:
python finger_GUI.pyConnect serially through the user interface
Build and upload src/main.cpp onto Teensy for full operation