Giter VIP home page Giter VIP logo

reef_estimator_sim_bundle's Introduction

REEF_estimator_sim_bundle

Installation

git clone https://github.com/uf-reef-avl/reef_estimator_sim_bundle
cd reef_estimator_sim_bundle
git submodule update --init --recursive
cd ../..
catkin_make

Setting Up The Simulation

  • To adjust the number of simulated vehicles modify the ./launch/launch_sim.launch file inside the sim_helper repository. Changing the spawn_turtles argument inside the launch file enables/disables the list of turtlebots.

  • To switch between the two basic modes of flying (basic waypoints and Dubins path), change the waypointmode argument inside the ./launch/sim_estimator.launch (inside sim_helper repository). Default behavior is True which starts the basic waypoints algorithm.

Running The Simulation

  • In one terminal run python ./sim_helper/scripts/Master.py.

  • Wait a few seconds until Autopilot ARMED and RC override active are printed and then in another terminal run roslaunch sim_helper sim_estimator.launch from the launch directory.

  • If the simulation is set to run the setpoint generator code, wait until Takeoff! is printed in the second terminal and then use rosparam set /setpoint_publisher/active true if you are using the setpoint_generator to start the simulated quadcopter. Use rosparam set /setpoint_publisher/active false to signal the quadcopter to head back to the origin. Otherwise, if you are using dubins path, use rosparam set /setpoint_publisher/activaction false to launch it.

reef_estimator_sim_bundle's People

Contributors

andrespulido8 avatar solnirv avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

andrespulido8

reef_estimator_sim_bundle's Issues

Update README to be more explicit about packages and locations of files

Update to:

REEF_estimator_sim_bundle

Installation

git clone https://github.com/uf-reef-avl/reef_estimator_sim_bundle
cd reef_estimator_sim_bundle
git submodule update --init --recursive
cd ../..
catkin_make

Setting Up The Simulation*

  • To adjust the number of simulated vehicles modify the ./launch/launch_sim.launch file inside the sim_helper repository. Changing the spawn_turtles argument inside the launch file enables/disables the list of turtlebots.

  • To switch between the two basic modes of flying (basic waypoints and Dubins path), change the waypointmode argument inside the ./launch/sim_estimator.launch (inside sim_helper repository). Default behavior is True which starts the basic waypoints algorithm.

Running The Simulation

  • In one terminal run python Master.py from the scripts directory.

  • Wait a few seconds until Autopilot ARMED and RC override active are printed and then in another terminal run roslaunch sim_helper sim_helper sim_estimator.launch.

  • If the simulation is set to run the setpoint generator code, wait until Takeoff! is printed in the second terminal and then use rosparam set /setpoint_publisher/active true if you are using the setpoint_generator to start the simulated quadcopter. Use rosparam set /setpoint_publisher/active false to signal the quadcopter to head back to the origin.
    Otherwise, if you are using dubins path, use rosparam set /setpoint_publisher/activaction false to launch it.

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.