Giter VIP home page Giter VIP logo

eurobot_ros_ws's Introduction

Eurobot ROS workspace

This ROS workspace for Eurobot includes localization and 2-D simulation (stage).

It works for computers and RPi 4.

Environment

Ubuntu 18.04 / ROS melodic

Ubuntu 20.04 / ROS noetic

Download

HTTPS

git clone --recurse-submodules https://github.com/sunfu-chou/eurobot_ros_ws.git

ROS dependencies

  1. navigation
  2. costmap_converter
  3. teb_local_planner
  4. robot_localization

Build

Build and Install YDLidar-SDK

# WORKDIR . (root of the repo)
mkdir src/YDLidar-SDK/build
cd src/YDLidar-SDK/build
cmake ..
make
sudo make install

[NOT necessary]

You can discard changes after build and install by

# WORKDIR ./src/YDLidar-SDK/build
cd ..
git reset --hard
git clean -fd

Install ROS package

sudo apt install -y \
ros-${ROS_DISTRO}-navigation \
ros-${ROS_DISTRO}-costmap-converter \
ros-${ROS_DISTRO}-teb-local-planner \
ros-${ROS_DISTRO}-robot-localization

Build the workspace

# WORKDIR . (root of the repo)
catkin_make

Connect to YDlidar (Only for RPi)

Create serial port alias

chmod +x ./rename_RPI_USB_ports.sh
sudo ./rename_RPI_USB_ports.sh

Test connection

roslaunch eurobot lidar_G6.launch

Run localization

Don't need to launch lidar before localization

Launch Odom Publisher

Topic odom is needed

  1. Launch rosserial, rx_to_odom, etc. on Raspberry Pi to publish odom
  2. Launch fake_odom
roslaunch fake_odom fake_odom.launch

Launch Localization

roslaunch eurobot localization.launch

Including lidar_G6, localization, ekf

eurobot_ros_ws's People

Contributors

sunfu-chou avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.