Open andre-nguyen opened 8 years ago
@versatran01 Sorry for the messy commits but could you maybe give this version a test run without and with camera sync? This shouldn't fix your problem, but I expect a different error code now.
For reference, on my side im running:
Model number: VN-100S-CR
Hardware revision: 7
Firmware version: 2.0.1.0
@andre-nguyen This looks great. I will test it sometime next week.
It would be nice if you could follow google cpp style, you could just use clang-format to do it. It's also fine if you don't want to.
Ready for test :smile:
So I was able to get my wires and stuff today and I tested using a modified cam_imu_sync
node and everything is working on my side at 30Hz! (didn't use the sync_verification node yet)
Note:
flea3 driver doesn't work with FireflyMV?
I prefer not to depend on pointgrey_camera_driver
.
iirc I tried using it 2-3 weeks ago and I wasn't getting any images from it. I can try again today.
Yeah, flea3 driver doesn't work for me, my guess is it has something to do with it trying to use format7 even when I set it to use 640x480Y8. In any case, on your side the important part is the vn100 driver update, the cam_imu sync should work for you if you cherry pick the changes that link the package to the vnproglib.
Seems like the time stamping part doesnt work for me. Did you guys by any chance plug sync_out into sync_in to get the sync data through the binary interface?
Yes, that's a hack, you have to short sync_in and sync_out to get it to work. Should probably mention that in the readme.
Well that explains things
haha. Sorry about that. cam_imu_sync
is mostly used for an internal project thus it is not very well documented.
All good, thanks for making it all open source, this has probably accelerated development time on my end by a month.
I soldered the wire and I'm getting time stamps now. I'll run a calibration using Kalibr and get back to you with what the estimated time delay is.
This works great with the vn200-rugged. Thank you!
Model number: VN-200S-CR
Hardware revision: 2
Firmware version: 1.0.0.0
Still need to:
VNASYNC_OFF
(value0
) to theVNASY
register. The new value is now part of theAsciiAsync
enum i.e.AsciiAsync::VNOFF
.VNASYNC_VNYPR
(value0
) to theVNASY
register. Essentially turning on the async output to Yaw, Pitch, Roll.