12 Commits

Autor SHA1 Mensagem Data
Mike Hamer c1bff2008b Renamed fullspeed_ to realtime_ ... because that's what it is! 2012-11-28 12:58:45 +01:00
Mike Hamer 9297e938c7 Added fullspeed_video
Will now publish video frames as soon as received if fullspeed_video=true.  Unfortunately to do this we needed to do a few dirty hacks, implying that our architecture is no longer so suitable for the future direction of the driver. We need to talk about an architectural redesign perhaps...
2012-11-28 12:53:25 +01:00
Mike Hamer 784df9925e Full-Speed Navdata & Loop-Rate
Two new parameters have been added:
* `fullspeed_navdata`, which controls whether new-style navdata is published when received, or at `looprate`
* `looprate`, which controls the speed of the internal ros-loop. Note that legacy navdata is always published at `looprate`

Also made various speed improvements to the navdata processing pipeline to enable this faster processing.

Also fixed a problem with `enable_legacy_navdata`, whereby it wasn't read correctly and thus had no effect. Also mentioning it here because I forgot to mention it when I added it ages ago.

Also updated and commented the launch file to reflect these changes.

Regarding testing, I've flown with this for three batteries, with `fullspeed_navdata=true`, `looprate=50`, while rosbagging everything and experienced no unusual behaviour.

Conflicts:

	src/ardrone_driver.h
2012-11-23 15:42:42 -08:00
Mani Monajjemi 837c4bcfb3 Merge pull request #38 from mikehamer/master
navdata_packet.header now filled, also using cmd_vel.angular.x/y != 0 for hover
2012-11-23 14:15:12 -08:00
Mike Hamer 01185e9788 cmd_vel.angular.x/y != 0 will disable hover mode
Removed ros params command_disable_hover and command_always_send, in
favour of disabling hover manually by setting cmd_vel.angular.x=1 or
cmd_vel.angular.y=1
2012-11-23 10:36:12 +01:00
Mani Monajjemi a3fc39b0d2 Restoring sample launch file. 2012-11-22 15:47:16 -08:00
Mike Hamer cb4179f2f7 Moved launch file to an aggressive launch 2012-11-22 10:25:56 +01:00
Mike Hamer 4057b6e821 Updated to include some new flags and enable more aggressive flight
This is an aggressive launch file, you should turn down the
euler_angle_max, control_vz_max and control_yaw if you are not
interested in aggressive flight!
2012-11-21 18:29:36 +01:00
Mike Hamer 54d6fff7bf Enabling all messages
Still to do is add a flag to disable the default navdata and imu
messages
2012-11-21 12:53:54 +01:00
Mike Hamer 712a24bb3e Fixed launch file
I forgot to remove the debug output from the launch file last time
2012-11-12 17:30:17 +01:00
Mike Hamer d1de36328d A more sensible launch file for most people
I reset the very aggressive flight parameters to the defaults (eg
relatively slow and controllable)
2012-11-12 17:12:11 +01:00
Mani Monajjemi b5c57a3849 Launch file moved to its own folder. README updated for launch file. 2012-11-09 16:54:18 -08:00