Giter Site home page Giter Site logo

billtheplatypus / ros_groundstation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from goromal/ros_groundstation

0.0 0.0 0.0 3.49 MB

RQT plugin for interacting with byu-magicc ROSplane (https://github.com/byu-magicc/rosplane)

CMake 2.55% Python 97.45%

ros_groundstation's Introduction

ros_groundstation

RQT plugin for interacting with byu-magicc ROSplane

Installation Instructions:

  1. Install pip (if you don't already have it) and the python geographiclib library.
sudo apt-get install python-pip
sudo pip install geographiclib
  1. Clone this repository into the source directory of a workspace. ROSplane and ROSflight are mandatory dependencies.

  2. Build and source the workspace.

IMPORTANT NOTE: see the following section about map_info.xml, key.xml, and default_topics.yaml before running for the first time! 4. Run with the command:

roslaunch ros_groundstation gs.launch

OR

rqt
  • If running through rqt, the ground station will be available as a new plugin under ROSplane -> GroundStation.

Running for the first time: map_info.xml and key.xml

When you run the ground station for the first time, the plugin will parse through the file map_info.xml, located in the top directory. Using the uncommented information, it will proceed to download map tiles for each map listed in ~/.local/share/mapscache. In this file, each map field must provide a name, center latitude and longitude, and a meter-radius value to tell the parser how much map to download. A normal meter-radius is 1000 meters. The default displayed map is also defined in this file. By default, only Brigham Young University is uncommented as an available map. Downloading the tiles for a single map will take upwards of 7-8 minutes, so keep this in mind when running for the first time. After the initial download process, no subsequent access to the internet will ever be needed to use the ground station.

Each map requires about 1000 images, or 100 MB of space, to render all four zoom levels. In order to download multiple maps in one sitting, the user must obtain an API key from https://developers.google.com/maps/documentation/staticmaps/#api (it takes about 30 seconds to do so). The key must then be pasted within the file key.xml. Doing so will allow for downloading up to 25,000 images in a single day without incurring any charge.

To change which topics are subscribed to be default, modify the contents of default_topics.yaml, located in the params folder.

In case of plugin issues:

Sometimes, rqt experiences conflicts with a new plugin if it appears to be overriding a previous one. This is only really an issue if building the ground station in multiple workspaces. To overcome this behavior, use the following command:

rm ~/.config/ros.org/rqt_gui.ini

Then, after sourcing the new workspace, the plugin should be available under ROSplane -> GroundStation in the rqt menu.

ros_groundstation's People

Contributors

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