-
Notifications
You must be signed in to change notification settings - Fork 17
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
USB CDC Support #8
Comments
Hello,
You can use Bluetooth to send sensor data to the host and upload programs. |
In regards to each OS, my idea was a VScode extension which if tested correctly would allow for cross platform code with Nodejs. I think this feature would more be more in addition to the MSC mode. I would be able to develop the protocol on both the EV3 and host side but implementing a bare-metal driver for CDC is out of my understanding (even though I would love to learn I just don't know how). My original plan was to create a fork and add it but I have spent a few days and haven't got anything working. I saw that the |
I see. I will try to add CDC but am not sure how much time it may take. BTW, you can also use a sensor port for serial communication (e.g. http://www.mindsensors.com/ev3-and-nxt/40-console-adapter-for-ev3), although it is a bit slow. |
Thanks so much for giving it a shot. Keep me posted with progress. |
I have added experimental support for USB CDC. Edit rc.conf.ini as follows to use CDC mode.
|
Awesome. Thank you so much. Expect a PR hopefully over the next week or so with a working protocol for the features I wanted. |
@oscartbeaumont Do you have some progress? |
I haven't made any useful progress as I was way out of my depth (I struggle to understand OS and low-level programming) and I couldn't find may resource to help me understand what I was doing. |
Hello,
I have been looking into using ev3rt for Robotics competition I compete in. It is nice but there are still a few things that make it hard for me to adopt for the comp as I need to be able to move really quickly during the competition day/s.
I think adding support for USB CDC would be better than using USB MSC because it would allow the software to preview sensor data on the host computer, download the programs while the UI is showing or other programs are running and also allow for a download and run feature like the official EV3 software is able to. I would be willing to build the protocol for the communication and get it working but I have been unsuccessful at implementing USB CDC. I was thinking of developing a VSCode extension to communicate over this protocol and compile the code ready for the robot. I have very limited knowledge about bare metal operating systems are drivers like this so have been finding it difficult. I would be interested in learning but have been unable to find information online to help.
This may even be better as a fork or alternative version than on the official version but I would be interested in if others would find this useful and be able to help get it working.
The text was updated successfully, but these errors were encountered: