How to connect ev3 lego robot to robotics operating system to perform path following

3 Ansichten (letzte 30 Tage)
For my thesis work, one component requires doing path following using lego ev3 robot. For using pure pursuit algorithm of Matlab's robotics toolbox, the step is to initialize robot using rosinit function. please help me to connect the bot.
rosinit('192.168.0.9')
Cannot connect to ROS master at http://192.168.0.9:11311. Check the specified address or hostname.

Antworten (1)

Julia Antoniou
Julia Antoniou am 25 Jan. 2018
Hi Santosh,
To connect with a LEGO EV3 robot, I would recommend using our MATLAB and Simulink Hardware Support Packages. The support packages include MATLAB functions and Simulink blocks that will help you quickly program the LEGO EV3. These support packages can be downloaded at the following links:
https://www.mathworks.com/hardware-support/lego-mindstorms-ev3-matlab.html
https://www.mathworks.com/hardware-support/lego-mindstorms-ev3-simulink.html
Then, you can easily connect to the LEGO EV3 using the step-by-step instructions on this documentation page .

Kategorien

Mehr zu MATLAB Support Package for LEGO MINDSTORMS EV3 Hardware finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by