Gráfico de Commits

187 Commits

Autor SHA1 Mensagem Data
Mani Monajjemi e8b9794190 🆕 sections marked in TOC 2013-01-10 16:55:57 -08:00
Mani Monajjemi 8245e9d544 Table of contents added to the README.md 2013-01-10 16:53:48 -08:00
Mani Monajjemi 7edb356730 Fixed typos in README. 2013-01-09 17:32:20 -08:00
Mani Monajjemi 5eb4df45d4 README is almost updated. 2013-01-09 17:26:21 -08:00
Mani Monajjemi 166e197b20 minor modifications in readme, added icon of new sections 2013-01-09 16:59:00 -08:00
Mani Monajjemi cd4e81fc19 Minor edits for more informative information on startup 2013-01-09 15:13:31 -08:00
Mani Monajjemi 9349c53045 Added new update method documentation to README 2013-01-09 15:11:28 -08:00
Mani Monajjemi 7fcac1ae88 modified readme: minor modifications 2013-01-07 18:23:20 -08:00
Mani Monajjemi 40c41efafe modified readme: minor modifications 2013-01-07 18:20:04 -08:00
Mani Monajjemi ed13986a63 readme modified: selective navdata 2013-01-07 18:15:44 -08:00
Mani Monajjemi 069f492a92 updated readme: auto hover 2013-01-07 17:35:18 -08:00
Mani Monajjemi 60dd3eee67 Support for flight animations added through setflightanimation
service.
2012-12-04 18:05:32 -08:00
Mani Monajjemi 78f971d19a Merge pull request #45 from mikehamer/master
Fixed growing tags_xc bug introduced in 5969064
2012-12-04 13:24:34 -08:00
Mike Hamer ead051af89 tags_xc no longer grows; cleared each round.
Should fix bug introduced in 5969064, where legacynavdata_msg was moved to a member variable. Because of this we need to clear vector datatypes, otherwise they accumulate over time through .push_back()
2012-12-04 10:42:27 +01:00
Mani Monajjemi 59690640d8 Legacy Navdata is now a class memeber. Minor text edits. 2012-11-28 17:55:13 -08:00
Mike Hamer c1bff2008b Renamed fullspeed_ to realtime_ ... because that's what it is! 2012-11-28 12:58:45 +01:00
Mike Hamer 7b8a651067 fullspeed_navdata now affects publishing of /ardrone/navdata,imu,mag topics as well.
This update also includes a few speed improvements for the case where fullspeed_navdata==true.
2012-11-28 12:55:04 +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 7fdf268969 Saving time of navdata reception
Before, we were stamping the /ardrone/navdata,mag,imu messages with the time that they were processed in the main ros loop. This caused unnecessary delays in the timestamp. Now we save the time of navdata reception in the navdata handling loop, which is then used to stamp the output messages when processed by the loop.
2012-11-28 11:45:03 +01:00
Mani Monajjemi c96e7d262f Merge pull request #41 from mikehamer/master
Fixed bug with navdata handling & improved initialization
2012-11-27 12:04:08 -08:00
Mike Hamer 140f55e323 Added navdata_demo enabled/disabled ros_info output 2012-11-27 14:18:45 +01:00
Mike Hamer af03f2536e Moved navdata initialization to configureDrone() rather than happening the first time that navdata is sent 2012-11-27 13:51:32 +01:00
Mike Hamer d3249e151e Fixed a bug whereby all navdata messages with array-typed members would grow in size.
This bug was introduced when moving local scope message variables to class-level. This move meant that messages wouldn't be reset after being sent. This was not a problem for non-array type message members, which were reassigned before being sent. However for array-type message members, which are filled using .push_back, no reset occurred. This fix appropriately clears these members before re-filling them on every send-loop.
2012-11-27 12:57:29 +01:00
Mani Monajjemi 4bfa20b278 Minor changes inside ROS loop. 2012-11-26 19:35:04 -08:00
Mani Monajjemi 30dc1b0feb Some thread-unsafe copies fixed. Initialization Info improved. 2012-11-26 19:00:35 -08:00
Mani Monajjemi 1ae6d4843f The initialization bug of the new navdata fixed. More information to be
printed on init.
2012-11-26 17:52:32 -08:00
Mani Monajjemi 3a4c7da6c7 Sample projects added to the REAMDE, fixes #40 2012-11-26 17:04:52 -08:00
Mani Monajjemi cf1cd64d8e Legacy navdata timestamp fix by @JakobEngel, addresses #39 2012-11-26 16:55:04 -08:00
Mani Monajjemi 2cc4fd9696 Minor changes. 2012-11-23 16:19:54 -08: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
Mike Hamer 8edc093b96 This comment doesn't seem to be valid any more? 2012-11-23 15:38:55 -08:00
Mani Monajjemi 39b5580296 Fixed bug in auto hover preventation #38. Also reversed the logic for
`hover` variable to make the logic correct.
2012-11-23 15:06:43 -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 b3ef0f186d navdata_<packet>.header is now correctly filled
Header.stamp and header.frame_id are now correctly filled. Messages are
also now member variables rather than local to save initialization time.
2012-11-23 10:42:43 +01: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 8766a2a1ea Some comments added for future reference. 2012-11-22 16:14:26 -08:00
Mani Monajjemi c68b96f390 Minor bug that prevented build on groovy, fixes #35 @overbit 2012-11-22 15:51:37 -08:00
Mani Monajjemi a3fc39b0d2 Restoring sample launch file. 2012-11-22 15:47:16 -08:00
Mani Monajjemi 6a80eefdb1 Merge branch 'master' of https://github.com/mikehamer/ardrone_autonomy into mikehamer-master 2012-11-22 15:41:14 -08:00
Mike Hamer cb4179f2f7 Moved launch file to an aggressive launch 2012-11-22 10:25:56 +01:00
Mani Monajjemi 08aa3189d5 README updated to include more information about new parameters 2012-11-21 15:17:46 -08: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 96a7a480a3 Merge branch 'more-navdata' 2012-11-21 18:25:54 +01:00
Mike Hamer 0c42f257ba No more cache stuff! 2012-11-21 18:08:43 +01:00
Mike Hamer 1b7074de37 Added enable_legacy_navdata (true by default)
This flag allows us to turn off the legacy navdata/imu/mag topics,
favouring usage of the actual packets
2012-11-21 17:26:04 +01:00
Mike Hamer 24529cd596 Added the ability to disable hover mode and constantly send commands
As per parcon's suggestion, I'm adding the ability to disable the hover
mode to allow for more predictable and thus modellable drone dynamics.
This should also be useful for my purposes.
2012-11-21 12:55:45 +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 ca5fadf778 Added custom messages and handling code
We now have the ability to access any of the navdata structs which are
sent back by the drone. Still to do is to enable/disable the drone
sending based on whether we're interested in receiving the message.
2012-11-21 12:53:33 +01:00
Mike Hamer 2fc267c869 Revert "NOT FINISHED: Incorporating custom messages into code"
This reverts commit f46a7adf89.
2012-11-16 13:54:08 +01:00
Mike Hamer f46a7adf89 NOT FINISHED: Incorporating custom messages into code
Sorry for the commit, I wanted to switch back to the main branch for a
while
2012-11-14 14:37:02 +01:00