-
Notifications
You must be signed in to change notification settings - Fork 659
adding seeedstudio usb-can-analyzer interface #567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## develop #567 +/- ##
===========================================
- Coverage 63.91% 63.06% -0.86%
===========================================
Files 63 65 +2
Lines 5623 5734 +111
===========================================
+ Hits 3594 3616 +22
- Misses 2029 2118 +89 |
christiansandberg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Documentation should also be updated. Maybe you can move the notes there instead.
| for i in range(0, msg.dlc): | ||
| byte_msg.append(msg.data[i]) | ||
| byte_msg.append(0xBB) | ||
| self.ser.write(byte_msg) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see the format of the sent frame in the notes. It is a little strange that the transmitted frames use timestamps but the received do not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It could take a week or two for me to resolve this.
I suspect you've picked up that I've started from serial_can.py, and that I not got to implementing the required send packet. My current application is only required to read.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
I've been looking forward to this integration. Would also be nice if an example on how to use this specific converter was added to the "examples" folder for getting started easily. |
|
Can you please clearify the name a bit more to avoid confusion with others? something like |
|
How's seeed_can for a name? (3 e's like in www.seeedstudio.io) |
|
That sounds good. |
|
Or just seeedstudio. Most interfaces here use the manufacturer name since the API is usually the same for all their CAN products and the word CAN is a bit redundant in a CAN library. |
|
Can this be merged? |
|
working on docs now, I'll update when done, might be tomorrow. |
|
debugging something, I'll update again tomorrow. |
|
The last commits adds doco but made a few changes as well.
Apart from that its done. |
|
(No, that will only make the thread of comments more readable. The review has to be re-requested.) |
|
@christiansandberg Do you now approve this PR? |
christiansandberg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, sorry. Looks good!
Hi Guys,
I've added an interface for the seeedstudio canbus interface following a blog post:
Posted by Wilfried Voss on September 19, 2018 - copperhilltech.com
I'm not sure if this is something you'd want this in your repo? I thought a pull request was the easiest way to ask. Note it probably still needs a bit of work I'll update it as I go. Please let me know if you're keen.