Apply asc format since format v8.1#1641
Conversation
|
@Tian-Jionglu Are you still working on the tests? I cannot merge if the tests are failing. |
can/io/asc.py
Outdated
|
|
||
| if version_match: | ||
| version = version_match.group("version") | ||
| self.version = version |
There was a problem hiding this comment.
Consider parsing the version using our existing dependency packaging.
|
Commits to parse the ASC format version using |
|
The ASC tests are still failing. |
|
When diving into test example, i found my mistake at the start. I would close this PR in coming days, and start a new PR to inherit the change to fix absolute time in ASC format. |
| continue | ||
|
|
||
| break | ||
| if trigger_match: |
There was a problem hiding this comment.
I think the files can contain multiple triggers. Parsing it as part of the header is probably not sufficient.
|
see PR #1788 |
A solution to solve issue #1531.
Mainly include 2 changes in
ASCReaderclass:start_time,version,date, etc before iterate the messages. I think this is necessary;_process_fd_can_frame_2to process CANFD message in ASCFormat since V8.1;Remaining issue:
some tests can not pass, mainly because after the change, correct
absolutetimestamp is get when iterate the messages;