KumarRobotics / imu_vn_100

ROS driver for VN-100 of VectorNav Technologies
Apache License 2.0
46 stars 52 forks source link

[WIP] Beta c++ lib #6

Open andre-nguyen opened 8 years ago

andre-nguyen commented 8 years ago

Still need to:

andre-nguyen commented 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
versatran01 commented 8 years ago

@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.

andre-nguyen commented 8 years ago

Ready for test :smile:

andre-nguyen commented 8 years ago

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:

versatran01 commented 8 years ago

flea3 driver doesn't work with FireflyMV? I prefer not to depend on pointgrey_camera_driver.

andre-nguyen commented 8 years ago

iirc I tried using it 2-3 weeks ago and I wasn't getting any images from it. I can try again today.

andre-nguyen commented 8 years ago

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.

andre-nguyen commented 8 years ago

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?

versatran01 commented 8 years ago

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.

andre-nguyen commented 8 years ago

Well that explains things

versatran01 commented 8 years ago

haha. Sorry about that. cam_imu_sync is mostly used for an internal project thus it is not very well documented.

andre-nguyen commented 8 years ago

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.

goldbattle commented 8 years ago

This works great with the vn200-rugged. Thank you!

Model number: VN-200S-CR
Hardware revision: 2
Firmware version: 1.0.0.0