Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling full realtime video and navdata #44

Merged
merged 4 commits into from
Nov 29, 2012
Merged

Enabling full realtime video and navdata #44

merged 4 commits into from
Nov 29, 2012

Conversation

mikehamer
Copy link
Contributor

This branch is a further extension of the functionality in #43. In this branch I have enabled realtime publishing of /ardrone/navdata,mag,imu topics as well. Furthermore, this branch allows realtime publishing of video frames. The branch also includes speed improvements for the navdata pipeline. I haven't considered speed of the video pipeline as I have no idea what it's doing (I never use video), and it is fairly slow (30Hz) anyway.

However, making the changes in the above branch has indicated that the current architecture doesn't really fit the future direction of the driver, so perhaps we need to consider a few architectural changes so that making realtime stuff work isn't such a hack...

I suggest we continue this discussion in #42.

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.
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...
…topics as well.

This update also includes a few speed improvements for the case where fullspeed_navdata==true.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants