GithubHelp home page GithubHelp logo

eladden / sjtu_drone Goto Github PK

View Code? Open in Web Editor NEW

This project forked from icesit/sjtu_drone

0.0 0.0 0.0 26.49 MB

ardrone simulation in gazebo(for kinetic and gazebo 7). Now it can run.

CMake 4.77% C++ 94.23% Shell 1.00%

sjtu_drone's Introduction

About sjtu_drone

sjtu_drone is a quadrotor simulation program forked from ['tum_simulator'] (http://wiki.ros.org/tum_simulator) , which is developed with ROS + Gazebo. It is used for testing visual SLAM algorithms aiding with different sensors, such as IMU, sonar range finder and laser range finder. Here by 'sjtu', it means Shanghai Jiao Tong University. Currently, this program is used for testing algorithms for UAV contest in SJTU

Requirements

The package requires ROS indigo version (which means you'd better use Ubuntu 14.04 or Linux Mint 17 or the related later versions). The Gazebo version is suggested to be larger than 3.0. As the default version of Gazebo coming with ROS indigo is 2.0, it is suggested that do not use the full installation but the desktop installation.

$sudo apt-get install ros-hydro-desktop //I think this is outdated, should be sudo apt-get install ros-indigo-desktop

#Download and Compiling#

$cd <catkin_ws>/src
$git clone https://[email protected]/dannis/sjtu_drone.git
$cd <catkin_ws>
$catkin_make

Here <catkin_ws> is the path of the catkin work space. Please refer to the tutorial about how to create a catkin work space in ROS.

#Run The simplest way is calling

$cd <where you check out the code>
$export ROS_PACKAGE_PATH=`pwd`:$ROS_PACKAGE_PATH
$roslaunch sjtu_drone start.launch

or running the different parts of the package step by step

$cd <where you check out the code>
$export ROS_PACKAGE_PATH=`pwd`:$ROS_PACKAGE_PATH
$roscore #to start the ROS server
$rosrun sjtu_drone start_gzserver <world file> #run the gazebo server and loading the world file
$rosrun sjtu_drone start_gui #run the gazebo client
$rosrun sjtu_drone spawn_model # generate a quadrotor in the scene
$rosrun sjtu_drone drone_keyboard # run the keyboard controller to control the quadrotor

Read sensor data from ROS topics

forward looking camera :  /drone/front_camera/image_raw
downward looking camera: /drone/down_camera/image_raw
sonar data:  /drone/sonar
laser range data: /drone/laser

Modify by XueWuyang

This version is modify by XueWuyang to make this simulation work on ubuntu 16.04.

State

  • now it can work on ubuntu 16.04
  • noise in ./models/sjtu_drone/sjtu_drone.sdf is removed
  • no laser sensor is in origin program
  • still some warnings exist: [Wrn] [msgs.cc:1655] Conversion of sensor type[imu] not suppported. [Wrn] [msgs.cc:1655] Conversion of sensor type[sonar] not suppported.

sjtu_drone's People

Contributors

dpzou avatar danping avatar icesit avatar joshualu4 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.