Giter Club home page Giter Club logo

edrone's Introduction

eDrone

Mission API/SDK for Drone Application SW based on PX4/ROS

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

The following SW should be preinstalled to develop application SW using eDrone API/SDKs

You also need to install the following SW (on the same PC or on a remote one) for a simulation test

% please refer to (https://dev.px4.io/en/simulation/) for the detailed explanation for SITL and HITL

Installing

please refer to gitbook "https://sooyoungmoon1.gitbooks.io/edrone-developers-manual/content/" for details!

  1. If you have installed ROS, there should be a workspace directory (ex. catkin_ws)

    Change the current directory to the ROS workspace directory in terminal window

  2. "Clone" the eDrone SDK code by typing the following command

    $ git clone https://github.com/sooyoungmoon/eDrone

  3. Build the code by following the steps:

(1) Build the 'mission_lib_msg' package

 $ catkin build mission_lib_msg

(2) Build the 'mission_lib' package

 $ catkin build mission_lib

(3) Build the 'mission_examples' package

 $ catkin build mission_examples
Test
  1. PX4 (SITL) build and execution

(1) Move to the PX4 firmware root directory (ex. ~/src/Firmware)

  $ cd ~/src/Firmware

(2) Use 'make' command to build & execute PX4 firmware in SITL mode

$ make posix_sitl_default gazebo
  1. qGroundControl execution

    (AppImage)

    $ chmod +x ./QGroundControl.AppImage $ ./QGroundControl.AppImage (or double click)

    (Compressed Archive)

    $ tar jxf QGroundControl.tar.bz2 $ cd qgroundcontrol $ ./qgroundcontrol-start.sh

  2. Execution of 'mission_lib' package

(1) Edit launch file

런치 파일 내용 중 PX4 주소를 시스템 구성에 맞게 수정

Edit the launch file according to your system configuration (the actual address of the PX4 SITL)


<ROS workspace>\src\mission_lib\launch\mission_lib.launch 


<arg name="fcu_url" default="udp://:[email protected]:14557" />

=> <arg name="fcu_url" default="udp://:14540@<IP Addr OF PX4 SITL:14557" />

(2) Execution of 'mission_lib'

$ roslaunch mission_lib mission_lib.launch

  1. Execute an application example (ex. exSimpleTakeoff, ex_simplecheck)

(Takeoff)

$ rosrun mission_examples ex_simpleTakeoff

(UAV State/Position Check)

$ rosrun mission_examples ex_simpleCheck

  1. Check the execution result

    UAV position/attitude/Velocity: can be shown by Gazebo & qgroundControl

    the execution result of an application example: can be monitored through the terminal window

####### License

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

######## Acknowledgments

edrone's People

Contributors

sooyoungmoon 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.