Open mgruhler opened 7 years ago
Can someone post what the old config looked like (and where it needs to be set) and what the new config looks like (and where it needs to be set)?
Also, I'd appreciate a few detailed bullet points about what needs to be done implementation-wise to fully implement this feature (and where)
@ipa-fxm see edit above.
Currently, there
iswas (commented out in #317) a warning about using thefields
parameter, as this is the way to go.However, this is not properly implemented. The driver only supports one field, which defeates the purpose of this parameter. Also, this parameter is nowhere documented.
EDIT answering @ipa-fxm's question below
To be set in the laser yamls (e.g. here) Old config (without
fields
param):"New" config (with
fields
param and quite some trial-and-error):What needs to be done:
getScan
function seems to only handle the last / one field. However, all configured fields come in one telegram.publishLaserScan
function which is not done as well.All in all, my guess is this feature has been implemented without any tests, has never been used, and probably is even unnecessary.
Implementing this correctly would lead to a full driver covering much of the possibilities of the scanner. However, in ROS, this is imo not required. We can easily get the fields we want without having to configure the scanner by using the
cob_scan_filter
(or, prefereably, thelaser_filters
).