Skip to content

Latest commit

 

History

History
30 lines (27 loc) · 1.3 KB

README.md

File metadata and controls

30 lines (27 loc) · 1.3 KB

ROBAKA

Alt text

Robaka is my testbed for ROS and SLAM. Software runs on Arduino Due (this repo) and Jetson Nano - the repo is here: https://github.com/alex-makarov/robaka-ros

SETUP

This project uses https://platformio.org/ build toolchain. Import the project and it should pull the dependencies.

  1. Clone SimplePID to lib: git@github.com:merose/SimplePID.git
  2. Change Adafruit_L3GD20_U.h as following
  !! NOTE that Gyro is using non-standard address 0x69 instead of 0x6B and D3 id instead of D4 or D7
    // #define L3GD20_ADDRESS           (0x6B)        // 1101011
    #define L3GD20_ADDRESS           (0x69)        // 1101001
    ...
    // #define L3GD20_ID                (0xD4)
    // #define L3GD20H_ID               (0xD7)
    #define L3GD20_ID                (0xD3)
    #define L3GD20H_ID               (0xD7)
  1. Change Wire to Wire1 in LSM303 implementation.
  2. Make ROS use the SerialUSB of Arduino Due; in ArduinoHardware.h:
#if defined(USBCON) and !(defined(USE_USBCON))
      /* Leonardo support */
//      iostream = &Serial1;
      iostream = &SerialUSB;
  1. Patch ydlidar node: https://github.com/EAIBOT/ydlidar/pull/19/files
  2. Apply cartographer configuration in ydlidar: https://msadowski.github.io/ydlidar-x2-review-ros-cartographer/