Skip to content

Firmware code-v1 for zzangdol-ai-car, with Arduino Mega Platform.

Notifications You must be signed in to change notification settings

zzangdol-2023/zzangdol_core_v1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zzangdol_core-v1

The above dependency codes must be included in the PATH of your Arduino library package.

  • Linux : /home/$USER/Arduino/libraries
    Arduino
    └── libraries
    ├── MPU9250
    ├── ros_lib
    ├── Servo
    └── TimerOne

01. Build

Environment

vscode with Arduino Extension : https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.vscode-arduino (ver : 0.6.0)

How to Build

  1. Install the extension and move to the Target directory.
  2. Execute with Ctrl+P, Search Arduino, and click the following menu.
  3. Arduino: Select Serial Port -> Select Port.
  4. Arduino: Board Config -> Select Arudino Mega or your MCU.
  5. Arduino: Upload -> .elf files will be created in the "build" directories. Execution files will be automatically uploaded to MCU

02. Start

zzangdol_core

  • Firmware codes with C++, Arduino Platform
  • Platform: Arduino Mega 2560
  • Once the Build is Finished, You can execute ROS nodes in the MCU with the below codes

Standard-alone

rosrun rosserial_python serial_node.py __name:=zzangdol_core _port:= /dev/ttyUSB0 _baud:=115200

Roslaunch

# requires zzangdol_bringup launch files & dependecies : https://github.com/zzangdol-2023/zzangdol_bringup
roslaunch zzangdol_bringup zzangdol_core.launch usb_config:=true

03. Directories

zzangdol_core

  • zzangdol-ai-car Firmware codes for MCU(Arduino Mega)

drive_mov_avg

  • Pure firmware codes with moving-avg-filter, which calculates extern-RC-controller's input

examples

  • Backup and example codes for Arduino Mega and ROS platform

About

Firmware code-v1 for zzangdol-ai-car, with Arduino Mega Platform.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published