-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Teensy 4.1 NativeEthernet #532
Comments
I could not rest until I had this working. I managed to get it to work by re-implementing methods for init() and read() and write() in the INO. I now call
This is one of those hair-tearing out moments in which the solution does not quite compute for me. This looks very similar to what I find in the ArduinoTcpHardware.h library. I'm not understanding why I have to override these functions.
|
…nection will stuck
Hi Drew, I know this is a year old issue, but I think I might be running into the same problem (same outputs and Teensy stops after establishing a socket connection). Would you mind sharing how you implemented the NATIVE_hardware class? Did you put all of that code in your main .ino script or in a header file separately? Thank you! |
I'm also running into this. It would be helpful to get it merged in properly to save others the trouble of hacking in the fix themselves though. |
Fixes behavior differences between Ethernet shields and the built-in Ethernet hardware on the Teensy. Source here: ros-drivers/rosserial#532
I also ran into this issue. But thanks to this thread was able to get the |
I have been working all day trying to get this up and running the TCPHelloWorld example with a Teensy 4.1. I've swapped out the <Ethernet.h> includes with <NativeEthernet.h> includes and I just can't seem to get it working:
I've tried installing this
a) from binary
b) from source
c) using the Arduino Library manager to download rosserial and then patching in
Nothing seems to work. As far as I can tell the NativeEthernet library for Teensy 4.1 is 100% interoperable with the old Ethernet library that required a shield. I've had chatservers, Twitter clients, telnet etc etc. all running successfully on the Teensy, but I can't seem to get ROS to talk to it.
The Teensy seems to be pausing it's execution when the serial_node.py establishes the socket connection.
I should also mention that I am able to successfully establish a regular serial connection with USB between the Teensy and my PC using the HelloWorld example.
Any help would be greatly appreciated.
The text was updated successfully, but these errors were encountered: