Open will-chantrey opened 6 years ago
Hello!
You can install cwiid from the debian package repositories using the command sudo apt-get install python-cwiid
.
To get files onto my robot I connect it to WiFi then log in from my computer using SSH. Then I use commands like wget
and git clone
to download my files from the internet. Another way I get files onto the robot is by opening a text editor from ssh (like nano
) and pasting the file contents in. Finally, I copy files over directly using an SFTP client like WinSCP.
One more note is that this code repository is no longer maintained and has been replaced by the official ev3dev-lang-python
repository. None of the code here still works with modern releases of ev3dev.
also how do you put python 3 into script mode via pUTTY and SHH
From: GeekDude notifications@github.com Sent: 23 June 2018 04:37:31 To: G33kDude/pyev3 Cc: stephen; Author Subject: Re: [G33kDude/pyev3] how to you get cwiid (#5)
Hello!
You can install cwiid from the debian package repositorieshttps://packages.debian.org/sid/python/python-cwiid using the command sudo apt-get install python-cwiid.
To get files onto my robot I connect it to WiFi then log in from my computer using SSHhttps://www.ev3dev.org/docs/tutorials/connecting-to-ev3dev-with-ssh/. Then I use commands like wgethttps://linux.die.net/man/1/wget and git clonehttps://linux.die.net/man/1/git-clone to download my files from the internet. Another way I get files onto the robot is by opening a text editor from ssh (like nanohttps://linux.die.net/man/1/nano) and pasting the file contents in. Finally, I copy files over directly using an SFTP client like WinSCPhttps://winscp.net/eng/index.php.
One more note is that this code repository is no longer maintained and has been replaced by the official ev3dev-lang-python repositoryhttps://github.com/ev3dev/ev3dev-lang-python. None of the code here still works with modern releases of ev3dev.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/G33kDude/pyev3/issues/5#issuecomment-399630325, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Al3XzKaMittYlBx_infaJDEbgxsoYBuyks5t_cYLgaJpZM4UQWT2.
You can start Python 3 by using the python3
command. Either python3
on its own to start an interactive session where you can type code and run it in real time, or python3 filename.py
to run a file.
Here is one guide for how to use the command line that you connect to using PuTTY and SSH: https://www.youtube.com/watch?v=oxuRxtrO2Ag
Also yes, the wiimote does connect to the bot over Bluetooth. To connect it you would need to make sure that the bot's Bluetooth is enabled (which can be done from the graphical interface on the brick).
Do you need debian to install cwiid and also what's the difference between libcwiid and cwiid
On 24 Jun 2018 05:48, GeekDude notifications@github.com wrote:
Also yes, the wiimote does connect to the bot over Bluetooth. To connect it you would need to make sure that the bot's Bluetooth is enabled (which can be done from the graphical interface on the brick).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/G33kDude/pyev3/issues/5#issuecomment-399728910, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Al3XzIFbIokQjAkZtxFoPYRoRH3lz-C8ks5t_xo4gaJpZM4UQWT2.
I gave named it python_wii_driving.py and it is saved in a folder called my projects
I have tried saying python3 python_wii_driving.py and it didn't work and it said can't open file python_wii_driving.py, : "[Errno 2] no such file or directory
On 24 Jun 2018 05:40, GeekDude notifications@github.com wrote:
You can start Python 3 by using the python3 command. Either python3 on its own to start an interactive session where you can type code and run it in real time, or python3 filename.py to run a file.
Here is one guide for how to use the command line that you connect to using PuTTY and SSH: https://www.youtube.com/watch?v=oxuRxtrO2Ag
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/G33kDude/pyev3/issues/5#issuecomment-399728533, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Al3XzD7aYykR7tO9ERf-KZJYYLxskd-Vks5t_xhagaJpZM4UQWT2.
Also if you do how do you install debian
On 24 Jun 2018 11:05, William Chantrey williamchantrey@hotmail.com wrote: Do you need debian to install cwiid and also what's the difference between libcwiid and cwiid
On 24 Jun 2018 05:48, GeekDude notifications@github.com wrote:
Also yes, the wiimote does connect to the bot over Bluetooth. To connect it you would need to make sure that the bot's Bluetooth is enabled (which can be done from the graphical interface on the brick).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/G33kDude/pyev3/issues/5#issuecomment-399728910, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Al3XzIFbIokQjAkZtxFoPYRoRH3lz-C8ks5t_xo4gaJpZM4UQWT2.
i have managed to install debian and i have done the command sudo apt-get install python-cwiid but it says Unable to locate package python-cwiid and i do not know what to do
From: GeekDude notifications@github.com Sent: 24 June 2018 04:48:56 To: G33kDude/pyev3 Cc: stephen; Author Subject: Re: [G33kDude/pyev3] how to you get cwiid (#5)
Also yes, the wiimote does connect to the bot over Bluetooth. To connect it you would need to make sure that the bot's Bluetooth is enabled (which can be done from the graphical interface on the brick).
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/G33kDude/pyev3/issues/5#issuecomment-399728910, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Al3XzIFbIokQjAkZtxFoPYRoRH3lz-C8ks5t_xo4gaJpZM4UQWT2.
You installed debian/ev3dev to a MicroSD card according to the instructions here, right? Make sure after installing that your ev3 has access to the internet and that you update the package lists before you try to install anything with the sudo apt-get update
command.
Once you have python-cwiid
installed you will need to have a python script that will work with new releases of ev3dev. The one in this repository WILL NOT WORK. I usually have to rewrite my code from close to scratch whenever I bring the ev3 out for demos once a year. This is the newest version of the script I could find on my hard drive:
https://gist.github.com/G33kDude/b75e659a89c05619021cc30e96baf7df
Note that this version will probably ALSO NOT WORK out of the box with the most recent version of ev3dev. My ev3 is over 1300 miles away from me and because of that I cannot help to make the script work if it does not.
Right I have sort of managed to install Debian onto a USB stick and no I don't think I have Debian on the robot, I will check later. I have managed to download a app but when ever I type sudo apt-get install cwiid it says unable to locate package cwiid
Sent from my hudl
On 30 Jun 2018 18:00, GeekDude notifications@github.com wrote:
You installed debian/ev3dev to a MicroSD card according to the instructions herehttps://www.ev3dev.org/docs/getting-started/, right? Make sure after installing that your ev3 has access to the internet and that you update the package lists before you try to install anything with the sudo apt-get update command.
Once you have python-cwiid installed you will need to have a python script that will work with new releases of ev3dev. The one in this repository WILL NOT WORK. I usually have to rewrite my code from close to scratch whenever I bring the ev3 out for demos once a year. This is the newest version of the script I could find on my hard drive:
https://gist.github.com/G33kDude/b75e659a89c05619021cc30e96baf7df
Note that this version will probably ALSO NOT WORK out of the box with the most recent version of ev3dev. My ev3 is over 1300 miles away from me and because of that I cannot help to make the script work if it does not.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/G33kDude/pyev3/issues/5#issuecomment-401553373, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Al3XzG0Vj5g1s0Rkx2nmjUinU6aattKAks5uB668gaJpZM4UQWT2.
ok thanks for that i have managed to get it but what is pyudev and how do i get it
From: GeekDude notifications@github.com Sent: 30 June 2018 17:00 To: G33kDude/pyev3 Cc: stephen; Author Subject: Re: [G33kDude/pyev3] how to you get cwiid (#5)
You installed debian/ev3dev to a MicroSD card according to the instructions herehttps://www.ev3dev.org/docs/getting-started/, right? Make sure after installing that your ev3 has access to the internet and that you update the package lists before you try to install anything with the sudo apt-get update command.
Once you have python-cwiid installed you will need to have a python script that will work with new releases of ev3dev. The one in this repository WILL NOT WORK. I usually have to rewrite my code from close to scratch whenever I bring the ev3 out for demos once a year. This is the newest version of the script I could find on my hard drive:
https://gist.github.com/G33kDude/b75e659a89c05619021cc30e96baf7df
Note that this version will probably ALSO NOT WORK out of the box with the most recent version of ev3dev. My ev3 is over 1300 miles away from me and because of that I cannot help to make the script work if it does not.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/G33kDude/pyev3/issues/5#issuecomment-401553373, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Al3XzG0Vj5g1s0Rkx2nmjUinU6aattKAks5uB668gaJpZM4UQWT2.
also the cwiid package still does not work
From: GeekDude notifications@github.com Sent: 30 June 2018 17:00:44 To: G33kDude/pyev3 Cc: stephen; Author Subject: Re: [G33kDude/pyev3] how to you get cwiid (#5)
You installed debian/ev3dev to a MicroSD card according to the instructions herehttps://www.ev3dev.org/docs/getting-started/, right? Make sure after installing that your ev3 has access to the internet and that you update the package lists before you try to install anything with the sudo apt-get update command.
Once you have python-cwiid installed you will need to have a python script that will work with new releases of ev3dev. The one in this repository WILL NOT WORK. I usually have to rewrite my code from close to scratch whenever I bring the ev3 out for demos once a year. This is the newest version of the script I could find on my hard drive:
https://gist.github.com/G33kDude/b75e659a89c05619021cc30e96baf7df
Note that this version will probably ALSO NOT WORK out of the box with the most recent version of ev3dev. My ev3 is over 1300 miles away from me and because of that I cannot help to make the script work if it does not.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/G33kDude/pyev3/issues/5#issuecomment-401553373, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Al3XzG0Vj5g1s0Rkx2nmjUinU6aattKAks5uB668gaJpZM4UQWT2.
hi i have there is a new piece of software called visual studio code and i am still struggling to find libcwiid what i have been recommended to do by others is to try and install libcwiid-dev and also get libcwiid1 via Ubuntu. the reason i cannot use Debian (not matter how much i would rather to) is because as error always comes up. that i do not want to get into because i just want to keep it simple. whenever i try to run your new python script it always comes up saying no module named cwiid which is inside libcwiid-dev or inside libcwiid1 also it cannot find the pyev3 module either which also needs to be used in the script or the ev3dev.ev3 module which i am trying to use for the remote which comes with it.
please reply
From: GeekDude notifications@github.com Sent: 30 June 2018 17:00 To: G33kDude/pyev3 Cc: stephen; Author Subject: Re: [G33kDude/pyev3] how to you get cwiid (#5)
You installed debian/ev3dev to a MicroSD card according to the instructions herehttps://www.ev3dev.org/docs/getting-started/, right? Make sure after installing that your ev3 has access to the internet and that you update the package lists before you try to install anything with the sudo apt-get update command.
Once you have python-cwiid installed you will need to have a python script that will work with new releases of ev3dev. The one in this repository WILL NOT WORK. I usually have to rewrite my code from close to scratch whenever I bring the ev3 out for demos once a year. This is the newest version of the script I could find on my hard drive:
https://gist.github.com/G33kDude/b75e659a89c05619021cc30e96baf7df
Note that this version will probably ALSO NOT WORK out of the box with the most recent version of ev3dev. My ev3 is over 1300 miles away from me and because of that I cannot help to make the script work if it does not.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/G33kDude/pyev3/issues/5#issuecomment-401553373, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Al3XzG0Vj5g1s0Rkx2nmjUinU6aattKAks5uB668gaJpZM4UQWT2.
hi i am just asking how do you exactly install the cwiid module and how do you even get your python files transferred to your robot and also how do you get the ev3py module installed. does the wii remote connect up to the ev3 robot via bluetooth
please reply