Giter Club home page Giter Club logo

omo_r1mini-foxy's Introduction

ROS2 packages for omorobot r1 mini

This project is to demonstrate R1mini control and navigation in ROS2-foxy environment.
한국어 사용자는 다음 한국어문서를 참조하십시오.

Build source

Clone source

  cd {$workspace_path}/src/
  git clone https://github.com/omorobot/omo_r1mini-foxy.git
  git clone https://github.com/PinkWink/YDLidar-SDK.git
  git clone https://github.com/PinkWink/ydlidar_ros2_driver.git

Build LiDAR's SDK

  cd {$workspace_path}/src/YDLidar-SDK
  cd build
  cmake ..
  make
  sudo make install

Install dependency packages

Following additional packages may be reuqired to be installed.

  • gazebo
  • ros-foxy-gazebo-ros-pkgs
  • cartographer-ros
  • nav2_map_server
  • pyserial
sudo apt install -y ros-foxy-gazebo-ros ros-foxy-cartographer-ros ros-foxy-nav2-map-server ros-foxy-gazebo-ros-pkgs

pip install pyserial

Build ROS2 source

  • To build
  cd {$workspace_path}
  colcon build --symlink-install
  • To enable the built source into ROS2 environment
  cd {$workspace_path}
  ./install/setup.bash

Play with the robot

  • To give authority for driver access to MCU and LiDAR
cd {$workspace_path}/src/omo_r1mini/omo_r1mini_bringup
sudo sh create_udev_rules.sh
  • To bringup robot
cd {$workspace_path}
ros2 launch omo_r1mini_bringup omo_r1mini_bringup.launch.py
  • To bringup robot (in simulation environment)
cd {$workspace_path}
ros2 launch omo_r1mini_gazebo omo_r1mini.launch.py
  • To teleoperate the robot using KEYBOARD
cd {$workspace_path}
ros2 run omo_r1mini_teleop teleop_keyboard
  • To conduct SLAM (Try after few seconds from MCU and LiDAR bringup)
cd {$workspace_path}
ros2 launch omo_r1mini_cartographer cartographer.launch.py
ros2 launch omo_r1mini_cartographer cartographer_rviz.launch.py
  • Once mapping is done, you can create map.pgm and map.yaml file by executing
cd {$HOME}
ros2 run nav2_map_server map_saver_cli -f map
  • To conduct path planning & following (Try after few seconds from MCU and LiDAR bringup)
cd {$workspace_path}
ros2 launch omo_r1mini_navigation2 navigation2.launch.py map:=$HOME/map.yaml
ros2 launch omo_r1mini_navigation2 navigation2_rviz.launch.py

omo_r1mini-foxy's People

Contributors

kyuhyong avatar omorobot avatar bishopearson avatar t-shaped-person avatar pinkwink avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.