Giter Club home page Giter Club logo

Open-robot

Purpose

Open-robot is the main ROS package of Open Source Robot.
Open Source Robot now provides 2D-SLAM and Navigaiton functionalities. You can also find the hardware and Arduino firmware repository in that project. If you want to build your own robot, our repositories may save your time.
More information about Open Source Robot is on our web page.

Demo Video

Open source mobile robot video

Dependencies

  1. Install ROS in ubuntu 14.04, Desktop-Full Install is recommended.

  2. Some ROS packages are needed. Run the following command to install.

     sudo apt-get install ros-indigo-joy ros-indigo-smart-battery-msgs 
     sudo apt-get install ros-indigo-gmapping ros-indigo-robot-pose-ekf ros-indigo-map-server
     sudo apt-get install ros-indigo-costmap-2d ros-indigo-dwa-local-planner ros-indigo-move-base ros-indigo-amcl
     sudo apt-get install ros-indigo-librealsense
    

Building

  1. Clone open-robot in /src directory of your ros workspace.

     git clone https://github.com/open-robot/open-robot.git
    
  2. Several ROS packages are maintained in git sub module, use the following command to fetch the source code.

     cd src/open_robot
     git submodule init
     git submodule update
    

    After success, the submodule realsense, rplidar_ros etc is stored in the same directory of open robot.

  3. Compile open-robot In your catkin workspace

     catkin_make
    

Start

  1. Make sure the usb device has permission. If you are, like us, using cp2102 as your USB to UART bridge, write a 51-usb-tty.rules file with the following content.

     SUBSYSTEMS=="usb", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", GROUP="users", MODE="0666"
    

Then run the following command in terminal to copy 51-usb-tty.rules to /etc/udev/rules.d and reboot.

	sudo cp -p 51-usb-tty.rules /etc/udev/rules.d/51-usb-tty.rules
	sudo reboot
  1. To configure ROS Environment for open-robot, run the following command in terminal.

     echo "source <Your catkin workspace path>/devel/setup.bash" >> ~/.bashrc
    
  2. Start open-robot.

     roslaunch robot_bringup demo_start.launch
    

2D-SLAM on open-robot

  1. To run Google Cartographer on open-robot, refer to this README_open_robot.rst in our repository.

  2. Aside from Cartographger, you can use gmapping. After launching demo_start.launch, run the following command.

     roslaunch robot_slam gmapping.launch
    
  3. (Optional) Start rviz in a remote computer. About how to run ROS across multiple machines.

2D-Navigation on open-robot

  1. Start open-robot.

     roslaunch robot_bringup demo_start.launch
    
  2. Launch nav.launch after a map having been built.

     roslaunch robot_nav nav.launch
    
  3. (Optional) Start rviz in a remote computer. About how to run ROS across multiple machines.

RealSense(optional)

Visual-SLAM is to be enabled soon. So now, Open-robot just uses RealSense camera R200 to capture images. It needs an additional library, refer to the guide at https://github.com/IntelRealSense/librealsense to complete the driver installation.

License

Copyright 2016 Intel Corporation

Licensed under the BSD

Open Source Robot's Projects

cartographer icon cartographer

Cartographer is a system that provides real-time simultaneous localization and mapping (SLAM) in 2D and 3D across multiple platforms and sensor configurations.

i2cdevlib icon i2cdevlib

I2C device library collection for AVR/Arduino or other C++-based MCUs

librealsense icon librealsense

:camera: Cross-platform camera capture for Intel® RealSense™ F200, SR300 and R200

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.