I wanted to log some gps data the other day, but the gps logging was disabled. It looked easy enough, so I enabled it, then figured i might as well enable everything. Then i figured i should fix readlog, otherwise writelog wouldn't be of much use. After I did that, i went to test writelog's new functionality using dummy, and found that dummy only supported about 6 interfaces. Thus, this patch adds support for:
writelog:
-blobfinder
-gps
-joystick
-position3d
-power
-dio
-aio
readlog:
-camera (could use some extra testing)
-blobfinder
-gps
-joystick
-position3d
-power
-dio
-aio
dummy:
-ranger (just simple range list, not rangepose)
-gps
-blobfinder
-position3d
-joystick
-power
-pointcloud3d
-imu
-fiducial
-wifi (i think, not too familiar with this interface)
-actarray (crashes playerprint for some reason)
-opaque
-dio
-aio
I also added basic message handling to dummy: whenever it receives a request it sends it right back with a NACK header. I was having problems when writelog was requesting geometry info from some interfaces, writelog seemed to hang until it it got something back. Sending back a NACK for those messages seems to move things along.
I did try to test everything and it all seems to work OK, but I'd appreciate some help, especially with the camera functionality.
patch for writelog, readlog, and dummy drivers (made in shell directory)
The changes have been made in SVN trunk.
Thank you for your contribution.