Giter Site home page Giter Site logo

rplidar_hector_slam's Introduction

RPLidar Hector SLAM

Using Hector SLAM without odometry data on a ROS system with the RPLidar A1.

  1. Install ROS full desktop version (tested on Kinetic) from: http://wiki.ros.org/kinetic/Installation/Ubuntu
  2. Create a catkin workspace: http://wiki.ros.org/ROS/Tutorials/CreatingPackage
  3. Clone this repository into your catkin workspace
  4. In your catkin workspace run source /devel/setup.bash
  5. Run chmod 666 /dev/ttyUSB0 or the serial path to your lidar
  6. Run roslaunch rplidar_ros rplidar.launch
  7. Run roslaunch hector_slam_launch tutorial.launch
  8. RVIZ should open up with SLAM data

Sources

RPLidar
Hector_SLAM
Fixing launch files (only needed if you are using the original hector slam repository)

  • In catkin_ws/src/rplidar_hector_slam/hector_slam/hector_mapping/launch/mapping_default.launch
    replace the second last line with
    <node pkg="tf" type="static_transform_publisher" name="base_to_laser_broadcaster" args="0 0 0 0 0 0 base_link laser 100" />
    the third line with
    <arg name="base_frame" default="base_link"/>
    the fourth line with
    <arg name="odom_frame" default="base_link"/>
  • In catkin_ws/src/rplidar_hector_slam/hector_slam/hector_slam_launch/launch/tutorial.launch
    replace the third line with
    <param name="/use_sim_time" value="false"/>

rplidar_hector_slam's People

Contributors

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