项目作者: EgoPingvina
项目描述 :
can-pwm controller
高级语言: C
项目地址: git://github.com/EgoPingvina/uavcan_node.git
uavcan_node
Controller based on STM32F103 for:
- coaxial rotor(duplicate signal for both motors)
- actuators
Getting Started(for Windows)
- install px4 toolchain for windows (on cygwin)
documentation: https://dev.px4.io/en/setup/dev_env_windows_cygwin.html
download from: https://github.com/PX4/windows-toolchain/releases
- build uavcan protocol sources by dsdl-compiler
run /PX4/run-console.bat
go to repo parent folder
invoke
libuavcan/libuavcan/dsdl_compiler/libuavcan_dsdlc /cygdrive/*path to parent folder*/libuavcan/dsdl/uavcan -Odsdlc_g -vvv
- install Visual Studio
- install VisualGDB 5.3r8
Usage
- open Header files/Startup/Config.hpp in Solution Explorer or uavcan_node\uavcan_node\Inc\Confog.hpp in explorer
- set value to CONTROLLER from Controller info region
- set value to deviceId from Servos/ESC info region
- build project
- click Debug->Program and start without debugging