RoboMaster App Scratch to Python to Python IDE
1856 3 2023-7-20
Uploading and Loding Picture ...(0/1)
o(^-^)o
MariusCologne
lvl.1
Germany
Offline

Hello all,

I would like to use the Line Follower method with the Robomaster. I want to implement this function with a script in Python. To do this, the first thing I did was to create the code in the RoboMaster app through Scratch programming. This can then be easily displayed in Python code. However, this Python code can not be implemented directly in PyCharm in my Python IDE. Do I need to install other packages than the Robomaster package?

Thank you already for your help!


2023-7-20
Use props
BGA
Second Officer
United States
Offline

Robomaster code is designed to work only inside the robot. There is no easy way to try to use it outside it.
2023-7-20
Use props
MariusCologne
lvl.1
Germany
Offline

Thank you, Captain. Your answer saves me from further pointless searching for a solution. That means AI solutions via an own script can only be implemented if you implement the whole functionality yourself and functions like the line detection of the Robomaster can not be accessed?
2023-7-20
Use props
BGA
Second Officer
United States
Offline

MariusCologne Posted at 7-20 14:07
Thank you, Captain. Your answer saves me from further pointless searching for a solution. That means AI solutions via an own script can only be implemented if you implement the whole functionality yourself and functions like the line detection of the Robomaster can not be accessed?

It depends. If you have an EP, there is an external Python SDK that you can use. But it does not work on the S1 without a hack. It is different from the built-in SDK though so you can not use the code written for one with the other.

https://robomaster-dev.readthedocs.io/en/latest/
2023-7-22
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules