Malibu Aerial
lvl.4
Flight distance : 143898 ft
United States
Offline
|
MarkusXL Posted at 7-29 06:47
I've been a Test Engineer for the last 20 years, but am just now, due in part to an agreement between Operations and Software Engineering, learning Python. I thought the S1 would be an interesting platform to learn on. I actually have no interest in the game aspect of the thing, nor in live manual control of it. It becomes a twitch game, which gets boring fast. I would rather test my algorithms against others in tests of autonomous control. We have an ai_robotics club at work on Slack, and I am blogging there and hoping another in the club buys an S1.
Scratch? It's very much like the Lego Mindstorms blocks system that I remember, but these Scratch blocks translate 1-for-1 to Python code lines. However, in Scratch there no return() or break and no way to pass variables into or out of Functions. So I make a rough draft with Scratch on my PC, get the logic worked out, then switch to Python view, copy and paste into PyCharm, and test and finish it (commenting out the S1 hardware specific lines though. But least you can see all the user variables and how they change). Then, copy and paste back into the Robomaster app, uncomment the S1 command lines, upload to Cloud, then back down into my iPad Mini for testing on the S1.
Where are you located?
I noticed that Python and Scratch have different set of projects. What I mean is you don't see the work that you've in Python when you go to Scratch and vice versa. |
|