raptor-dbw-ros icon indicating copy to clipboard operation
raptor-dbw-ros copied to clipboard

Warnings on loading dbc files

Open MCFurry opened this issue 4 years ago • 2 comments

I have been using the 'can_dbc_parser' for quite a while with pleasure, thanks for this package!

Unfortunately though, upon loading any dbc file, I always get some warnings: LineParser Exception: [Unexpected end of line.] LineParser Exception: [Nothing found in search space.]

It seems these warnings also appear upon loading one of your dbc files: https://github.com/NewEagleRaptor/raptor-dbw-ros/blob/master/raptor_dbw_can/New_Eagle_DBW_3.3.388.dbc

So I suspect this is rather a parser thing then an invalid dbc file? The warnings monstly seem to be triggering on the 'new symbols' part on top of the file and any multiline description?

MCFurry avatar May 05 '20 11:05 MCFurry

This seems to be an issue with the dbc file parser. The biggest indicator of a rogue dbc parser error is whether-or-not it outputs that your dbc file object has the correct number of messages. So far, I've seen the warnings but not seen any failures in parsing with another project--so from a practical standpoint, I wouldn't worry but this does need fixed

NewEagleRaptor avatar May 11 '20 21:05 NewEagleRaptor

I agree functional wise the parser seems to do a good job! We just noticed a lot of warnings appear in our projects. Then I saw it does the same with one of your dbc files so was a bit surprised ;-)

MCFurry avatar May 12 '20 06:05 MCFurry