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

3 次查看(过去 30 天)
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.

回答(1 个)

Julia Antoniou
Julia Antoniou 2018-1-25
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 .

类别

Help CenterFile Exchange 中查找有关 ROS Toolbox Supported Hardware 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by