Skip to content

Louisgcr/point_plotter

Repository files navigation

point_plotter

The point plotter package is to help user to add points and convert it to 2d goal nav message for the purpose of route following. It will open a map and the user can double click on the map to add points that you want the robot to follow. It will then link the points up using a curve fitting algorithm and send the goal location to the robot.

Prerequisites

Install Qt5
Install cornucopia-lib
Install Eigen

Not needed but useful:
Install Qtcreator-ros plugin

Instruction

Install cornucopia-lib & Eigen Library

cd ~/Documents
git clone https://github.com/matieum/cornucopia-lib
hg clone https://bitbucket.org/eigen/eigen/
cd cornucopia-lib
mkdir build
cd build
cmake ..
make
sudo make install
cd ~/Documents/eigen
mkdir build
cd build
cmake ..
make
sudo make install

Edit the following files Debugging.h AngleUtils.h VectorC.h

sudo nano /usr/local/include/Debugging.h
Change #include "Eigen/Core" -> #include "eigen3/Eigen/Core"

sudo nano /usr/local/include/AngleUtils.h
Change #include "Eigen/Core" -> #include "eigen3/Eigen/Core"

sudo nano /usr/local/include/VectorC.h
Change #include "Eigen/StdVector" -> #include "eigen3/Eigen/StdVector"

Compile program

  1. clone repo into catkin workspace
  2. catkin_make

Run Program

  1. source workspace
  2. rosrun point_plotter point_plotter
    Screenshot

Built With

C++
ROS -- Framework in use
Qt -- UI Design
Cornucopia-lib -- Curve drawing

Authors

Louis Goh

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

matieum for Cornucopia-lib

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •