Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!
  • Guest, before posting your code please take these rules into consideration:
    • It is required to use our BBCode feature to display your code. While within the editor click < / > or >_ and place your code within the BB Code prompt. This helps others with finding a solution by making it easier to read and easier to copy.
    • You can also use markdown to share your code. When using markdown your code will be automatically converted to BBCode. For help with markdown check out the markdown guide.
    • Don't share a wall of code. All we want is the problem area, the code related to your issue.


    To learn more about how to use our BBCode feature, please click here.

    Thank you, Code Forum.

Python Sending String from PyCharm via usb to nxt, which is programmed by Bricx CC

starlight

New Coder
Hello guys,I am new on this platform and hope for some help.

So, 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 this is pretty old but maybe some of you have tips or ideas.
So my idea was to create the game rock paper scissors but in a way the player never wins. To do that I worked with the Mediapipe Hand gesture recognition I am running in PyCharm which works great. My webcam analyses the hand gesture. But we have also to work with the Bricx Command center which works like this: i built a lego hand and the thumb, index finger and the rest of the fingers are connected to 3 motors. With those I can make the opposite gesture to the gesture the player made. So when the programm analyses the players gesture I want it to send a string via usb to the NXT. The nxt knows the string and makes the corresponding gesture. But thats exactly my problem because I also need a program written in the Bricx Command Center which can receive the string I send from PyCharm via usb. Are there any ideas or solutions how i could do that? It would be very helpful (I am a little bit desperate to be honest). I tried many things also asking ChatGPT but as we all know this isnt often that helpful. Thank you all!
 

New Threads

Buy us a coffee!

Back
Top Bottom