Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I see the programs on the hub? #38

Closed
Sailor247 opened this issue Jun 18, 2022 · 2 comments
Closed

How can I see the programs on the hub? #38

Sailor247 opened this issue Jun 18, 2022 · 2 comments
Labels
question Further information is requested

Comments

@Sailor247
Copy link

How can I see the programs on the hub and choose between standard / advanced python?
And can I code similar to the python beta in the app?
I am using Linux and it would be cool to be able to code from my pc.
Thanks!

@Sailor247
Copy link
Author

is there a way to control the motors and sensors?

@PeterStaev
Copy link
Owner

Hey @Sailor247 , seems on linux there are some caveats. Checkout the helpful comment here: #27 (comment). Hopefully it will help you get started (I'm not a linux user myself so can't be of much help)

For your other questions:

  • You can view/start a program on the hub by first connecting to the hub and then use vscode command pallete to start a program. Simply type "lego" and you will see all the commands from the extension.
  • You chose between standard/advanced when you upload the program to the hub. Checkout the structure of each of the types in the readme. Also you can write a "hint" comment at the start of the filethat simplifies upload/type select. Those are explained here: https://github.com/PeterStaev/lego-spikeprime-mindstorms-vscode#automatic-uploadstart-of-a-python-file
  • Basically the standard python program in the extension is the same as coding python in the LEGO's editor.
  • You can't control the motors and sensors directly from the extension/vscode. The extension helps you code python programs and upload/start them on the hub.

@PeterStaev PeterStaev added the question Further information is requested label Jun 18, 2022
Repository owner locked as resolved and limited conversation to collaborators Aug 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants