Skip to content

floodsung/CLDrone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLDrone:Autonomous Quadrotor Simulation Research Platform

Snapshot 1 Snapshot 2

This is a project based on Pixhawk SITL, DRCSim and apriltag. The goal is to create a convenient simulation platform to test intelligent algorithms on quadrotors. It consists of a quadrotor, a vehicle with apriltag and a drcsim environment. The quadrotor is equiped with two cameras, one forward camera and one downward camera.

Related Project

Test Platform

  • Ubuntu 14.04
  • ROS indigo
  • Gazebo 4

Installation

# install prerequisite
## install mavros but from shadow repo to get latest version earlier
sudo sh -c 'echo "deb http://packages.ros.org/ros-shadow-fixed/ubuntu/ trusty main" > /etc/apt/sources.list.d/ros-shadow.list'
sudo apt-get update
sudo apt-get -y install ros-indigo-mavros ros-indigo-mavros-extras

## get rosinstall and some additional dependencies

sudo apt-get -y install python-rosinstall ros-indigo-octomap-msgs ros-indigo-joy ros-indigo-geodesy unzip ros-indigo-octomap-ros

## install control_toolbox
sudo apt-get install ros-indigo-control-toolbox

# install the git
mkdir -p quadrotor_platform/src
cd quadrotor_platform/src
catkin_init_workspace
git clone https://github.com/songrotek/CLDrone-Autonomous-Quadrotor-Simulation-Research-Platform.git
cd ..
catkin_make 

How to work

# init simulation platform
roslaunch px4 gazebo_px4_polaris_tracker.launch

# init vehicle control
rosrun rqt_robot_steering rqt_robot_steering

# init image viewer
rosrun rqt_image_view rqt_image_view

How to develop

About control

There is a rostopic for the quadrotor's velocity control using body coordinate: /CLDrone/body_axis_velocity/cmd_vel

you can make a rosnode to publish quadrotor's velocity to this topic to control the quadrotor.

About Camera View

The camera topics are: /front_cam/camera/image /downward_cam/camera/image

it is easy to access the image and do any processing such as object detection.

Developer

me and Weiwei Kong

Lisense

BSD Lisense

About

Autonomous Quadrotor Simulation Research Platform based on ROS,Gazebo,Pixhawk,DRCsim..

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages