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

3 views (last 30 days)
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.

Answers (1)

Julia Antoniou
Julia Antoniou on 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 .

Categories

Find more on ROS Toolbox Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!