Closed frk2 closed 6 years ago
There's a few things here that I don't agree with that maybe were not clear in the previous branch.
1) the 'valid' field from the radar is not being used. This is the source of truth about track validity and should be passed along.
2) Tracks shouldn't be filtered by valid_count > 0. They should be passed through as well. I made comments about this in the source code and kept some filtering code commented out for the time being. It would be useful to study invalid tracks and filtering them out at this level prevents further analysis downstream.
3) The use of the dictionary places the track ids out of order, which makes it somewhat challenging to follow if you are using rostopic echo for analysis.
I'm going to take some of your code and adjust to similar to how I had it in the previous commit. Thanks for the help.
I'm also going to revert the python-can update - that should be figured out independently. That is causing other problems for me as well after some restarts of the radar. Reinstalling to 2.1.0 removed the error.
cantools.database.errors.Error: The signals SET_ME_X00 and SET_ME_X00 are overlapping in message STEERING_IPAS_COMMA.
@frk2 I'm only seeing invalid tracks with the CAN dump data. Did you intend to record valid track data to test this?