QuadSoftware: Difference between revisions

From ISRWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:


This page presents instructions and software for ISR Quadrotors. This vehicle includes a Pandaboard Computer that is not recommended to do heavy computing, and so it is only appropriate to run the ROS drivers for the hardware (motors and sensors). So the suggested architecture is to use an external laptop for the main software, connecting via Wi-Fi to the quadrotor. The driver nodes can be remotely launched using roslaunch.
This page presents instructions and software for ISR Quadrotors. This vehicle includes a Pandaboard Computer that is not recommended to do heavy computing, and so it is only appropriate to run the ROS drivers for the hardware (motors and sensors). So the suggested architecture is to use an external laptop for the main software, connecting via Wi-Fi to the quadrotor. The driver nodes can be remotely launched using roslaunch.
== Sensors ==
* Laser Range Finder: [http://www.hokuyo-aut.jp/02sensor/07scanner/urg_04lx_ug01.html Hokuyo URG-04LX-UG01]
* Optical Flow: [https://pixhawk.ethz.ch/px4/modules/px4flow PX4Flow Smart Camera]
* IMU:
** Accelerometer: [http://www.analog.com/static/imported-files/data_sheets/ADXL335.pdf ADXL335]
** Magnetometer: [http://www.honeywell.com/sites/servlet/com.merx.npoint.servlets.DocumentServlet?docid=DA9ACFE3C-F7C0-9998-6085-D9D84941499D HMC5843]
** Gyroscopes: [http://www.analog.com/static/imported-files/data_sheets/ADXRS620.pdf ADXRS620]


== Software ==
== Software ==
Line 20: Line 29:


=== Packages ===
=== Packages ===
* quad_drivers -- contains the main drivers (to run on Pandaboard)
* quad_drivers -- contains the main drivers (to run on Pandaboard).
* quad_launch -- contains some launch files to record the flights
* quad_launch -- contains some launch files.


=== Nodes ===
=== Nodes ===
Line 27: Line 36:
* quad_link -- Establish connection between vehicle and laptop.
* quad_link -- Establish connection between vehicle and laptop.
* quad_status -- Reads some important data from vehicle.
* quad_status -- Reads some important data from vehicle.
 
* laser_height -- Calculate the height of the quadrotor with LRF.
=== Subscribed topics ===
* Under Construction


=== Published topics ===
=== Published topics ===
Line 36: Line 43:
* /quad_height/height_to_base (mav_msgs/Height) -- Height of quadrotor (in m).
* /quad_height/height_to_base (mav_msgs/Height) -- Height of quadrotor (in m).
* /quad_status/status (quad_status/Status) -- voltage (in V), RC status, Motors ON/OFF, ExternalCtrl ON/OFF and RunTime.
* /quad_status/status (quad_status/Status) -- voltage (in V), RC status, Motors ON/OFF, ExternalCtrl ON/OFF and RunTime.
== Examples ==
An example of a launch file to launch all quad nodes is on package quad_launch.
NOTE: you need to modify these launch file in order to launch the nodes remotely.

Latest revision as of 15:59, 14 October 2013

Quadrotor Platform

About

This page presents instructions and software for ISR Quadrotors. This vehicle includes a Pandaboard Computer that is not recommended to do heavy computing, and so it is only appropriate to run the ROS drivers for the hardware (motors and sensors). So the suggested architecture is to use an external laptop for the main software, connecting via Wi-Fi to the quadrotor. The driver nodes can be remotely launched using roslaunch.

Sensors

Software

Prerequisites

ROS Fuerte with the following packages:

  • laser_drivers
  • mav_tools
  • scan_tools
  • hector_common

ROS Source Code

The source code can be found here: quad_ros.tar.gz.

Usage

Packages

  • quad_drivers -- contains the main drivers (to run on Pandaboard).
  • quad_launch -- contains some launch files.

Nodes

  • imu_parser -- Reads data from IMU.
  • quad_link -- Establish connection between vehicle and laptop.
  • quad_status -- Reads some important data from vehicle.
  • laser_height -- Calculate the height of the quadrotor with LRF.

Published topics

  • /scanCenter (sensor_msgs/LaserScan) -- Laser Range Finder measurements.
  • /imu/data (sensor_msgs/Imu) -- IMU data.
  • /quad_height/height_to_base (mav_msgs/Height) -- Height of quadrotor (in m).
  • /quad_status/status (quad_status/Status) -- voltage (in V), RC status, Motors ON/OFF, ExternalCtrl ON/OFF and RunTime.

Examples

An example of a launch file to launch all quad nodes is on package quad_launch.

NOTE: you need to modify these launch file in order to launch the nodes remotely.