You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I like to setup wireless networking on my robots. Robots should go untethered! Here is how. It's easy in an interactive tool call `connmanctl`. You connect once, and next time you boot, it's all configured. On my ev3dev machine it went like this:
7
+
8
+
anton@ev3dev:~$ connmanctl
9
+
Error getting VPN connections: The name net.connman.vpn was not provided by any
Copy file name to clipboardExpand all lines: docs/tutorials/python-development-environment.md
+6-28Lines changed: 6 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,33 +30,6 @@ Scroll down and uncomment the appropriate lines for your hardware.
30
30
31
31
Finally do `sudo reboot`.
32
32
33
-
## Set up wifi ##
34
-
Next I like to setup wireless networking. Robots should go untethered! Here is how. It's easy in an interactive tool call `connmanctl`. You connect once, and next time you boot, it's all configured. On my ev3dev machine it went like this:
35
-
36
-
anton@ev3dev:~$ connmanctl
37
-
Error getting VPN connections: The name net.connman.vpn was not provided by any
I prefer to have a passwordless ssh to the robot. For this I [add a user with the same login name as on my development computer.](https://www.raspberrypi.org/documentation/linux/usage/users.md) Remember to give yourself sudo rights as explained on that same page.
62
35
After adding that user, you can [set up passwordless ssh](https://www.raspberrypi.org/documentation/remote-access/ssh/passwordless.md).
@@ -105,7 +78,7 @@ Now type the hostname of the ev3dev machine, followed by a semicolon the project
105
78
## Installing ev3dev-python on the development machine ##
106
79
Now you can continue where you left of on the ev3dev machine, but with a larger screen, better keyboard and more tools! There is one problem, though: PyCharm puts red curly lines under the ev3dev library.
And that's logical, because the ev3dev library is missing on the development machine. If we install it we won't be able to run motors, but the documentation and autocomplete will be active. So on your development machine start a terminal and do:
111
84
@@ -114,3 +87,8 @@ And that's logical, because the ev3dev library is missing on the development mac
114
87
python setup.py install
115
88
cd .. # Optional
116
89
rm -r ev3dev-lang-python/ # Optional to remove the downloaded files. It's installed now anyway.
90
+
91
+
## Using the power of the IDE ##
92
+
93
+
With the IDE (PyCharm) set up and the library installed you can code much faster. PyCharm will highlight most coding errors and typos. It will also suggest to autocomplete your code and show documentation. Let's try.
0 commit comments