Comments (14)
In case you missed the updates that I made to my previous comment, let me say again that I deleted the first video and replaced it with a new one where I no longer speak of the need to switch between configurations - I realised that no configuration is necessary to run non-EV3 files locally: https://youtu.be/cqtRqsI6xMc (17 minutes)
The setup video is now also awaiting your comments (36 minutes)
from vscode-ev3dev-browser.
I'm not aware of any serious problems other than the incorrect handling of file names and folder names that contain spaces (still not fixed in the 24 May 2018 image) and the font being too large when one types the WiFi password, making it impossible to distinguish E from F or I from L (still not fixed in the 24 May 2018 image).
I don't see any open issues for these. Can you provide a link?
Are we aware of any bugs?
Not any major ones.
Are there any major upcoming changes?
There is nothing planned at the moment that I am aware of.
I welcome your comments as to the advisability of publishing such videos now, and specific comments on the video I just made (errors, things that are not clearβ¦).
I don't any reason to postpone such videos.
As for the video itself, I didn't see any noteworthy errors. I think starting around the 12 minute mark, you are perhaps getting a bit too much into the details of how to write a python script compare to the high level overview of the rest of the video. Also, the easy 3 step process of "write, save, press F5" actually only needs to be a 2-step process. Pressing F5 automatically saves open files, so that dosn't need to be a separate step.
from vscode-ev3dev-browser.
These videos are really superb. The new video touches on all of the important things you need to know.
One thing that jumped out at me though was the recommendation to use the "Windows defaults" for a network connection. We've actually had a number of people that have reported problems that ended up being because they did select this option when they should not have. This option only helps in very specific circumstances. Because of this, I don't think it is a good idea to make this recommendation for general use.
Some minor suggestions:
- The clip with the actual EV3 robot is loud and it is hard to hear you talking at the same time
- There are simpler ways to extract the zip file that don't result in nested folders with the same name
from vscode-ev3dev-browser.
I have modified my 'setting up' video based on the suggestions made by @dlech and have published the modified version to https://youtu.be/TNXqizQTZhs (36 minutes). Recall that the introductory video at https://youtu.be/cqtRqsI6xMc (17 minutes) should be watched first. I will be adding subtitles in English and French to these videos and perhaps later Spanish, Italian and Russian.
have also modified my site ev3pthon.com to begin promoting this workflow which I think is far superior, especially for beginners, and which I think could easily be used in schools. A colleague in my old school, European School 3 Brussels, will soon begin teaching classes based on the new workflow and she will provide feedback...
Regarding the recommendation to use Window defaults, which is causing problems for some users, I note that the page http://www.ev3dev.org/docs/tutorials/connecting-to-the-internet-via-usb/ still instructs users to set the Windows defaults.
from vscode-ev3dev-browser.
The "Windows defaults" button sets a static IP address and gateway that match Windows Internet Connection Sharing. If you are using Wi-Fi, these will almost certainly be wrong. Also, if you are using USB or Bluetooth and Windows Internet Connection sharing is not configured, it will still look like the EV3 has a connection because of the manually assigned address, but you won't be able to actually ping the EV3.
FYI, the work-in-progress docs for setting up networking on ev3dev-stretch are here: http://docs.ev3dev.org/en/ev3dev-stretch/getting-started/ev3.html#establishing-a-connection
from vscode-ev3dev-browser.
@ndward Just some quick feedback on the videos:
-
You may want to try out
ev3devlight
by @laurensvalk (as discussed on Gitter), which is said to reduce the Python interpreter startup time on the brick and seems to allow to steer two motors in parallel (if I'm not mistaken). -
As commented on the Setting up video, using ev3py-runlocal may make the developer experience more smooth with regards to local development, including code completion and maybe even debugging.
-
Do you think you can produce a super-fast, super-short intro video that gives a quick, fascinating insight into the main features and workflow of ev3dev development (using VS Code and the ev3dev-browser plugin)? You know, everyone has a short attention span nowadays. π
from vscode-ev3dev-browser.
@bittner Could you help us understand what it is you're looking for that makes you prefer the aforementioned alternative library over ev3dev-lang-python
? I want to see what can be done to consolidate things so we can keep the userbase on a single platform. Certainly, Micropython support is a big plus (it's the next thing I'm going to work on after ev3dev/ev3dev-lang-python#411, and is partially complete already); we've also made various improvements to module architecture for Stretch which have hopefully made load times better. API-wise, it seems like ev3devlight
is a subset of ev3dev-lang-python
-- the overall API structure is shared and most of the utilities already exist in Jessie, with more full-featured versions coming with the Stretch release of the library.
This thread should probably continue elsewhere (new issue, Gitter, etc.) but I'd like to hear your thoughts.
from vscode-ev3dev-browser.
@WasabiFan I'm only addressing hick-ups @ndward is mentioning in his videos. From the top of my head:
- "It's not yet possible to run two motors in parallel"
- "You have to wait a minute each time for the Python interpreter to load"
- "The red underlines in the editor are because the (ev3dev) library is not known locally; but it will be known on the robot"
These are obviously usability issues, disturbing defects of the development experience, that need to be solved to keep the entrance level low. @dlech mentioned on Gitter that MicroPython may not be happening on ev3dev anytime soon. Hence, I thought that rather ev3devlight
might demonstrate an user experience improvement, one that may give enhancements on the main project a boost. I'm not trying to fragment the user base.
from vscode-ev3dev-browser.
FWIW, I don't think 3. is actually a problem. It just requires installing the ev3dev python library on your host computer to make it go away (and get code completion working).
from vscode-ev3dev-browser.
It just requires installing the ev3dev python library on your host computer
As mentioned on Gitter, I tried it and it doesn't. Probably because the library hits code that requires LEGO hardware, and fails. With ev3py-runlocal
this problem is intentionally solved.
from vscode-ev3dev-browser.
π€·ββοΈ it works for me for code completion. Actually running the code is different of course.
from vscode-ev3dev-browser.
"It's not yet possible to run two motors in parallel"
It is in Stretch. We have MoveTank
, MoveSteering
and MoveJoystick
classes depending on exactly what you're trying to do. Feedback on those would be appreciated.
"You have to wait a minute each time for the Python interpreter to load"
Hopefully this has been improved by our restructuring and will improve further once Micropython support arrives. Certainly, anything approaching a minute is a problem.
"The red underlines in the editor are because the (ev3dev) library is not known locally; but it will be known on the robot"
It should work via installing the library on your dev machine. If not, please open an issue on the ev3dev-lang-python repo with the steps you took and error you're seeing and we can help you out. I have some potential theories.
from vscode-ev3dev-browser.
I'm delighted to learn about those three functions. Can you please tell me where to find the documentation? Thanks.
As for installing ev3dev.ev3 on my Windows PC, I'm not sure that's so easy.
from vscode-ev3dev-browser.
@ndward they will be published with our initial Stretch release of the Python library soon. Right now the code is on GitHub but not released as a package yet. We're working on the documentation here: ev3dev/ev3dev-lang-python#411.
The Python library should be installable via pip or via source on Windows; I'm not sure if we have been publishing to the pip service though. Probably not.
from vscode-ev3dev-browser.
Related Issues (20)
- ImportError: no module name 'pybricks.hubs' HOT 1
- Submit extension also in Open VSX store HOT 2
- [Question] Difference between stopping the program with EV3 Brick's physical Back/Stop button vs. stopping by VSCode stop button HOT 8
- [Question] How can we `ev3devBrowser.download.exclude` multiple patterns? HOT 2
- Port View HOT 4
- Open VSX Listing: Signing the Publisher Agreement HOT 1
- Autofill of unwanted command HOT 2
- Ability to connect to a different port than 22 HOT 1
- Failed to connect to ev3dev: cannot read property 'startsWith' of undefined HOT 2
- Ev3 Python "No module named 'pybricks'" HOT 6
- Failed to connect to ev3dev: Timed out while waiting for handshake HOT 9
- Help for project transfer protocol HOT 1
- VScode not recognizing ev3 on macos Sonoma HOT 11
- Disable IPv4 still leads to disconnect
- Reveal on Brick in file browser
- Output disappears when script runs after restart HOT 1
- Failed to connect to ev3: Timed out while waiting for handshake via USB on Windows 10 HOT 3
- Bluetooth paired EV3 brick is not listed in VS Code Command Pallet (Windows 10) HOT 4
- ModuleNotFoundError: No module named 'pybricks' error with ev3 stretch HOT 6
- Can't trigger Brickrun with -r in VSCode HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-ev3dev-browser.