asked 2012-03-29 13:41:54 -0500BetoCC011
In the documentation, they say i can only use this driver in fuerte version or newer, due to the dependency on sensor_msgs/TimeReference
Is it possible to chance the driver so it doenst have this depency, or to chance ros electric to have this depency?
From a glance at the code, it certainly looks possible.
If you have time to work on it, check out the git sources and make a patch to submit. A single solution that works with both Electric and Fuerte would be ideal.
UPDATE: I've given some thought to how this could be done in Python. First make the import conditional:
try: from sensor_msgs.msg import TimeReference except ImportError: TimeReference = None
Then, make sure
True before doing anything with the
if TimeReference: gpstimePub = rospy.Publisher('time_reference', TimeReference)
It would certainly be possible to remove that dependency, as long as, as @joq mentions, it's a single solution that keeps the functionality for Fuerte and provides compatibility with Electric.
Please file an enhancement ticket for this functionality on the project trac (note you can also find that link at the bottom of nmea_gps_driver under "Request features") and reply here with the link once you've done that.
If you want to go ahead and create a patch that provides Electric compatibility, just attach it to that ticket and I'll gladly take a look at it.
Asked: 2012-03-29 13:41:54 -0500
Seen: 112 times
Last updated: Apr 06 '12