[go: nahoru, domu]

Skip to content

COmpliant RObot COntroller is a free software project aiming to create an impedance controller based on a STM32F4 microcontroller using bldc motors and strain gauges.

Notifications You must be signed in to change notification settings

arcoslab/open-coroco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

open-coroco

COmpliant RObot COntroller is a free software project aiming to create an impedance controller based on a STM32F4 microcontroller using bldc motors and strain gauges.

Installation

Requierments

Please install the following requierments according to your distribution/OS instructions:

  • gcc-arm-none-eabi
  • newlib for the toolchain
  • stlink

libopencm3 is included as a git submodule

Submodules

Init and download submodules:

git submodule init
git submodule update

Compile them:

# libopencm3
cd libopencm3/
make

# libopencm3-plus
cd libopencm3-plus/
make

Link motor header file

Because different motor require different parameters, we currently have various motor header files in src/Configuration, in order to keep things generic we currently link the header file to motor.h, for example:

ln -s vexta_AXHM450KC-GFH.h motor.h

We are looking into a better way to do this.

Generate trigonometric functions tables

Because of performance concerns we use tables to calculate trigonometric functions, to generate the tables there are some Python 2 scripts in src/Trigonometric_Functions/. You must provide the number of elements on the table as a paremeter for this scripts and they generate some C header files, for example:

python2 sine_table_generator.py 30

About

COmpliant RObot COntroller is a free software project aiming to create an impedance controller based on a STM32F4 microcontroller using bldc motors and strain gauges.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages