GithubHelp home page GithubHelp logo

aprisrc-sitl's Introduction

How to connect this container

  1. Launch the container in your host side
docker run -p 8080:80 hisazumi/aprisrc-sitl:latest
  1. Access http://localhost:8080 from your Web broswer

Control a quad-copter in the simulator manually

  1. Execute the Gazebo simulator. Double click 'simulator.sh' on the desktop to launch Gazebo simulator. Wait a minute.

  2. Open LXTerminal and execute ./Desktop/sitl.sh to launch the Software-in-the-Loop env of ArduPilot. Wait a minute.

  3. Input follwing commands into SITL temrinal launched at 2.:

mode guided
arm throttle
takeoff 1

Control a quad-copter from a C++ program

  1. Build sample source codes. Open LXTerminal and execute commands as follows:
cd catkin
catkin build

and relaunch LXTerminal (or just execute bash) to reload ~/.bashrc

  1. Edit catkin_ws/src/iq_gnc/CMakefile.txt to enable to build gnc_tutorial.cpp. Remove '#' the head of the lines as follows:
206: add_executable(gnc_example src/gnc_tutorial.cpp)
207: target_link_libraries(gnc_example ${catkin_LIBRARIES})
  1. Execute the Gazebo simulator. Double click 'simulator.sh' on the desktop to launch Gazebo simulator. Wait a minute.

  2. Execute ./Desktop/sitl.sh in new tab in terminal to launch the Software-in-the-Loop env of ArduPilot. Wait a minute.

  3. Launch apm in new tab in terminal:

roslaunch iq_sim apm.launch
  1. Launch sample code in new tab:
rosrun iq_gnc gnc_example
  1. Finally change mode to guided in sitl.sh terminal
mode guided

References

aprisrc-sitl's People

Contributors

hisazumi avatar

Stargazers

Takashi Mori avatar

Watchers

James Cloos avatar

aprisrc-sitl's Issues

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.