Code Monkey home page Code Monkey logo

waypoint_nav's Introduction

waypoint_nav

This package performs outdoor GPS waypoint navigation. It can navigate while building a map, avoiding obstacles, and can navigate continuously between each goal or stop at each goal.

This repo is made to run on a Clearpath Husky with IMU, Novatel GPS, and Sick lms111 lidar.

This package uses a combination of the following packages:

  • robot_localization(docsvideo) including:
    • ekf_localization to fuse odometry data with IMU and GPS data
    • navsat_transform to convert GPS data to odometry and to convert latitude and longitude points to the robot's odometry coordinate system
  • GMapping to create a map and detect obstacles
  • move_base to navigate to the goals while avoiding obstacles (goals are set using recorded or inputted waypoints)

The outdoor_waypoint_nav package within waypoint_nav includes the following custom nodes:

  • gps_waypoint to read the waypoint file, convert waypoints to points in the map frame and then send the goals to move_base
  • gps_waypoint_continuous1 and gps_waypoint_continuous2 for continuous navigation between waypoints using two seperate controllers
  • collect_gps_waypoint to allow the user to drive the robot around and collect their own waypoints
  • calibrate_heading to set the heading of the robot at startup and fix issues with poor magnetometer data
  • plot_gps_waypoints to save raw data from the GPS for plotting purposes
  • gps_waypoint_mapping to combine waypoint navigation with Mandala Robotics' 3D mapping software for autonomous 3D mapping

Video demonstrations can be found here:

IMPORTANT NOTES:

  • Please DO NOT contact Clearpath Robotics with questions about this package. Instead, email me at [email protected]. I get a lot of questions asking for help with this repo, unfortunately, I do not have the time to respond to all. I cannot help with basic ROS/programming questions, or questions that can be answered by reading the docs. Please make sure you have read the docs and watched the videos in the links above before asking me questions.

  • Regarding the calibration node: the heading calibration node is not required if your magnetometer is calibrated correctly. Instructions for performing magnetometer calibration are hard to come by, so often they are not calibrated correctly. Use this "hack" heading calibration node only if your heading is not correct when launching the waypoint navigation node (see this video: https://youtu.be/jsR8gYgeDG0). This will only temporarily solve your problem and must be run every time you start this package. We recommend instead to perform proper magnetometer calibration.

  • The continuous waypoint navigation software was tested in simulation and works well in simulation, however it still doesn't work properly with our tests outdoor.

  • Please submit pull requests if you update this package and/or fix bugs.

  • This code is meant as a tutorial to perform waypoint navigation using common ROS packages. It has not been tested for robustness and should not be used as a final product. If you are looking for a final working GPS waypoint navigation solution, please contact Clearpath Robotics, as they have recently developped a more commercial solution.

waypoint_nav's People

Contributors

nickcharron avatar kennywakeland avatar mohsenpashna 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.