Recent

Author Topic: Lego EV3  (Read 1904 times)

hlmhv

  • Newbie
  • Posts: 2
Lego EV3
« on: April 03, 2023, 02:15:49 pm »
Hi everyone!  :)

First of all please excuse my bad English.. :-[

I'm looking for a way to control the Lego Mindstorm EV3 robot with Lazarus.
Indeed, this little robot can run Python code - and so I can interface Lazarus with Python by the way of a common transfert file, but it isn't so clean..

I don't think it's already usable, but perhaps ..  8)

Have a good day,

Henri

Leledumbo

  • Hero Member
  • *****
  • Posts: 8836
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Lego EV3
« Reply #1 on: April 04, 2023, 10:26:37 am »
I found this Russian paper, a corresponding forum post that leads to the corresponding library. The only problem is that everything is Russian, so make a good use of Google translate unless you're proficient in Russian already, which makes it no longer a problem. Alternatively, maybe translate this C API?

MarkMLl

  • Hero Member
  • *****
  • Posts: 8572
Re: Lego EV3
« Reply #2 on: April 05, 2023, 10:12:06 am »
OP: for the benefit of people who grew out of Lego 60 years ago, what is the EV3 of which you speak?

Via the Russian link, I notice that https://www.ev3dev.org/ is a Debian-based OS for the Raspberry Pi. It does, however, appear fairly friendly towards multiple (programming) languages, so presumably the Russian site is providing bindings or shims for FPC.

Since FPC has good ARM etc. support, this doesn't look too difficult.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

AlexTP

  • Hero Member
  • *****
  • Posts: 2713
    • UVviewsoft
Re: Lego EV3
« Reply #3 on: April 05, 2023, 10:53:05 am »

MarkMLl

  • Hero Member
  • *****
  • Posts: 8572
Re: Lego EV3
« Reply #4 on: April 05, 2023, 11:15:56 am »
>what is the EV3 of which you speak?

https://education.lego.com/en-us/product-resources/mindstorms-ev3/downloads/building-instructions

Build instructions... I see nothing about make, cmake, prerequisite packages, CPU type etc. there.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

alpine

  • Hero Member
  • *****
  • Posts: 1412
Re: Lego EV3
« Reply #5 on: April 05, 2023, 12:27:11 pm »
>what is the EV3 of which you speak?

https://education.lego.com/en-us/product-resources/mindstorms-ev3/downloads/building-instructions

Build instructions... I see nothing about make, cmake, prerequisite packages, CPU type etc. there.

MarkMLl

There isn't officially. It is a proprietary product. It have a programming environment for Windows - you can connect a predefined programming blocks and then upload to the robot. Quite ugly application, I would say.

I have one but I haven't touch it for years. IMO quite expensive toy and not so well designed. It should have been simpler to use (to play with). Or at least - more "open".
"I'm sorry Dave, I'm afraid I can't do that."
—HAL 9000

MarkMLl

  • Hero Member
  • *****
  • Posts: 8572
Re: Lego EV3
« Reply #6 on: April 05, 2023, 12:46:34 pm »
There isn't officially. It is a proprietary product. It have a programming environment for Windows - you can connect a predefined programming blocks and then upload to the robot. Quite ugly application, I would say.

Yes. I'm just saying that that particular page is useless, while the Russian one- even without translation- looks rather more help.

However from the POV of this forum we really need more info on what the target is: with the best will in the World we can't be expected to know it and few of us have incentive to research it /unless/ OP gives us an incentive (e.g. "This looks fun /because/..." :-)

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Logitech, TopSpeed & FTL Modula-2 on bare metal (Z80, '286 protected mode).
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018