Robotsimulator is undefined function

조회 수: 1 (최근 30일)
Michael
Michael 2019년 10월 5일
댓글: Michael 2020년 3월 3일
So I am working my way through the official Mathworks Robotics webinar, and it calls up RobotSimulator as part of the demonstration, and it seems like it is supposed to be a file that Mathworks provides as part of the Robotic system or ROS toolboxes. However, when I try to call it up, I get the following error:
Undefined function or variable 'RobotSimulator'.
I am using the following script to call it up:
%% Initialize ROS
rosinit
%% Create the RobotSimulator
simu = RobotSimulator
%% Get all the nods that are part of the ROS network
rosnode list
Which is just a straight copy from the webinar at the 10:00 mark.
The only thing I can think of right now - aside a toolbox being broken - is that 'RobotSimulator' is a depreciated in v2.2, while the webinar seems to be using v1. Is this case, or is there a new way to call up the example files?

채택된 답변

Sebastian Castro
Sebastian Castro 2019년 11월 12일
That was from a demo, and not a shipping product feature.
The closest thing I can think of in the latest version is the basic MATLAB example simulator in this ROS Toolbox example: https://www.mathworks.com/help/ros/ug/connect-to-a-ros-enabled-robot-from-simulink.html
- Sebastian
  댓글 수: 1
Michael
Michael 2020년 3월 3일
That is very disappointing that they are using a demo for their webinar, and somewhat par for the course in my experience with the Robotic Systems Toolbox. The documenation needs a lot of work, imo.
Thank you for the link though, I'll read through it.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Publishers and Subscribers에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by