Need a programming language?

Good morning,

I found out today that our team is participating in the WRO, and our robots don't have any code yet. So I'd need a language. LeJos uses Java, but I'd need tutorials for that because our library doesn't have Java for Dummies. Another option is Python; my brother has the book Python 3: The Comprehensive Towel here. Is it a good way to learn? My experience: I can use Scratch, but that's about it. And "writing" the code with Classroom or something like that would be too complicated. Our robot uses a Pixy 2 as a camera, by the way. Which would make more sense? Java with a video tutorial or Python with an older manual?

Lg

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
10 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
W00dp3ckr
1 year ago

Make the choice of programming language dependent on the presence of libraries that take away most of the work.

User11211
1 year ago

Use Lego’s software, the camera module can be safely imported.

W00dp3ckr
1 year ago
Reply to  Henning6835

Yes, but do you have the corresponding libraries in Python and Java?

FaTech
1 year ago

If you need to choose from the two languages, I recommend Python. This is more beginning-friendly and easier to learn.

MasterGano
1 year ago

I would use assembly

FaTech
1 year ago
Reply to  Henning6835

The advantage is that you have to learn extremely much and probably never really understand it because it is one of the hardest languages

marzipanspeck22
1 year ago
Reply to  MasterGano

Assembly is too high level for robots. I think it would be useful to realize functionality in hardware.