forked from aletty/roscopter
-
Notifications
You must be signed in to change notification settings - Fork 19
Home
aletty edited this page Mar 13, 2013
·
33 revisions
Quick tutorial for using roscopter, the ROS interface to Arducopter.
- first checkout and build mavlink in the source folder
- then build roscopter using rosmake
nodes/roscopter.py --device=/dev/ttyUSB1 --rate=115200
this will start publishing the following topics:
* /attitude : imu information * /gps :gps fix * /rc : value of current raw rc input * /state : shows wether the copter is armed or not, and the current mode * /vfr_hud : airspeed, groundspeed, heading, throttle, alt, climb
currently only way of controlling the arducopter is by publishing to /send_rc topic. It takes raw RC channel values (between 1000-2000), and overrides the rc controller. To give control back to RC, publish 0 for the corresponding channel.
Channels: 0 - return to RC
1 - roll
2 - pitch
3 - throttle
4 - yaw
5 - flight mode
6 - null
7 - low/high pwm