How to implement a TCP/IP connection to Lego Mindstroms EV3 hardware?

Hello everybody,
has someone some hints about to develop a TCP/IP connection to Lego Mindstorms EV3 hardware? I have the feeling, that the TCP/IP Send and Receive blocks from the Instrument Control Toolbox does not work with the EV3 hardware. At least in the list of Instrument Control Toolbox Supported Hardware is no Lego Mindstorms EV3 and it does not work.
Thanks for your help!
Best regards Benedict

2 Commenti

Hello there,
unfortunately, the problem still exists. Is there anyone who can give me a few tips where to start?
Thank you very much!
Best regards Benedict
Could you explain more why you need your own TCP/IP connection to the EV3? Does the functionality in the support package not meet your needs? What specific functionality are you looking for?

Accedi per commentare.

Risposte (1)

Vinod
Vinod il 12 Gen 2017
Modificato: Vinod il 12 Gen 2017
Are you sure you really want to do it at that low level?

3 Commenti

Hello Vinod Cherian,
thank you for your answer!
I think that I'm sure about that because I'm already using LEGO MINDSTORMS EV3 Support from Simulink for the kinematics and stuff of my robot.
I want to add a remote control like a game controller and as I understand such things are not possible with the external mode in Simulink. Maybe there are other ways to do that? Another thing that would be possible is to communicate with other robots.
But I have no clue where to start...
It would be really nice if you have some hints for me.
Best regards Benedict
You could install the MATLAB support package and look at the source code. Just be prepared that coming up with your own protocol for communication could be a non trivial task.
I already tried that and you are right it's not trivial...

Accedi per commentare.

Categorie

Richiesto:

il 10 Gen 2017

Commentato:

il 18 Apr 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by