Skip to main content

Questions tagged [python]

Python is a high-level programming language designed to be easy to read and simple to implement. It is open source, which means it is free to use, even for commercial applications. Python is considered a scripting language and is often used for creating Web applications and dynamic Web content.

Filter by
Sorted by
Tagged with
1 vote
1 answer
59 views

I was trying to make a robot that is controllable using a keyboard. However, it keeps saying already installed modules (like six) cannot be imported: Putting print(help('modules')) in my code to list ...
ThatOneRandomUser's user avatar
0 votes
0 answers
59 views

I have a LEGO Technic 42124 Off-Road Buggy. It has remote control capability via Bluetooth, and I want to control my car using a computer. So, I want to write a Python script like this: from bluepy ...
user avatar
3 votes
1 answer
345 views

I am new on this platform and hope for some help. I am doing a school project right now and we are working with Lego Mindstorms NXT and write the program with the Bricx Command Center. I know that ...
user25584917's user avatar
1 vote
1 answer
337 views

I've been interested in controlling a machine remotely through a GUI and I am stuck in between picking Python or Java to do this project in but I also think the way I'm going about this would be all ...
Louie7's user avatar
  • 11
4 votes
2 answers
313 views

I have the Mindstorms set 51515 - Robot Inventor. I want to display the progress of a robot's work using the LEDs. How can I change the colour of the RGB LED that the hub uses to indicate the ...
Wolfi_HD1's user avatar
3 votes
2 answers
823 views

I have made a few EV3/Spike robots that can be controlled remotely. They are controlled by either a PS4 controller or using a dashboard I built on a website. I'm running Python on the LEGO. However, ...
Adam's user avatar
  • 131
5 votes
1 answer
135 views

So I'm doing this project using an EV3, here are the tasks of the project: We have to save the path that the robot will take manually ( we will move the robot by hand and it'll save the movements) so ...
Majed M.Alharthi's user avatar
7 votes
1 answer
3k views

Is it possible to control the Lego Technic Control+ Hub with Python? I have tried using Pybricks but that didn't work well for me.
user avatar
6 votes
1 answer
199 views

So, I need to send an rbf file from my computer to e-mail for a tournament. I'm currently using python with the ev3 microPython setup and vscode. The question is, where or how can I get the rbf file ...
vicc's user avatar
  • 63
1 vote
1 answer
119 views

I am using EV3 micropython (ev3dev?). When I upload the below program to my EV3, I see on the screen the usual play button image which looks approximately like the below ASCII art: ...
technicguy1's user avatar
6 votes
1 answer
476 views

I am writing an EV3 micropython program meant to test my remote, but it does not work. When I run it, I see no errors at all. Instead, I just see a "play" symbol and the program continuously ...
technicguy1's user avatar
2 votes
0 answers
286 views

I am trying to make a Lego play piano from ev3, where I have connected two arms to a single motor on either side using Lego elements. Both the arms move counterclockwise to one another (if one plays ...
Bishes Upadhyaya's user avatar
10 votes
2 answers
476 views

I have been trying to get python on my EV3 brick using an EV3 MicroPython SD card image as described on the Lego website. The EV3 brick seem fine with its new OS. Instead my problems are at the ...
Danielle's user avatar
  • 101
2 votes
1 answer
417 views

I am new to ev3 python but am working on a project. I was reading about NXT-python that " It works by sending the direct commands detailed in LEGO's "Blue-tooth Development Kit" to the NXT brick" I ...
user11770's user avatar
1 vote
1 answer
2k views

I'm trying to make a internal coordinate system for an EV3 Python project I'm doing, but at a complete loss on how to do it. It needs to keep track of how it moves (with wheels) in an X, Y coordinate ...
ryn0129's user avatar
  • 11
3 votes
2 answers
4k views

I want to direct my LEGO Mindstorms EV3 creature from my PC conditionally (ev3dev, Python). The idea is that the program runs on the computer, collects real-time data from different sources, processes ...
Fredrik's user avatar
  • 131
1 vote
2 answers
1k views

I have a basic LEGO Mindstorms kit which I wanted to use for testing a very simple object-avoidance project. I am trying to find a relatively simple way to flash the brick and upload scripts to it ...
Nathan's user avatar
  • 111
1 vote
1 answer
293 views

I'm trying to control a LEGO servo (88004) using a Raspberry pi. I would like to use pigpio to get a more precise control (no shaking, like with gpio PWM). It's work with a regular servo (3 wires). ...
Jonas Primdahl's user avatar
7 votes
2 answers
3k views

For some project, I have to use 7 motors with ev3 bricks. So I would like to connect 2 bricks using USB-USB link, and make them communicate, in python. But I don't know how to do that, I've tried ...
Mathieu41's user avatar
0 votes
1 answer
199 views

I would like to shoot balls with the ev3 Lego robot. How can I code it using Python? Which components do I need for that and which function and motor use ?
epays's user avatar
  • 11
1 vote
1 answer
571 views

I've established and tested a Bluetooth connection (by playing a tone) between EV3 and Mac running Yosemite with Python 2.7.11. I used file write as in bt.write(tone) in Python to play the tone ...
Aakaash Vaasan's user avatar
5 votes
1 answer
2k views

I want to use Python to send commands to an EV3 brick. In C++ things work as expected - for instance, this starts the motor on port A and then stops it after a while: #include <unistd.h> #...
Parzival's user avatar
  • 153