ExampleHel​perRobotSi​mulator not working as intended.

I am referring to this tutorial:
In the first step after rosinit, when the simulation is called for i.e:
sim = ExampleHelperRobotSimulator('simpleMap');
I get an error in MATLAB saying
Error using ExampleHelperRobotSimulator
Too many input arguments.
I am not understanding what exactly is the problem here. Can someone please help? I am using R2015a version MATLAB on Ubuntu 14.04 LTS with ROS Indigo installed.

回答(3 个)

ExampleHelperRobotSimulator was updated in R2016a. The versions for R2015b and earlier do not permit arguments to be passed. The tutorial for mapping from known poses was not introduced until R2016b.

1 个评论

why 2017b have same problem too.
Undefined function or variable 'ExampleHelperRobotSimulator'.

请先登录,再进行评论。

this is the problem i am getting,Cannot find an exact (case-sensitive) match for 'exampleHelperRobotSimulator'
The closest match is: ExampleHelperRobotSimulator in C:\Program Files\MATLAB\R2017a\toolbox\robotics\robotexamples\robotcore\helpers\ExampleHelperRobotSimulator.m can someone help me?

类别

Community Treasure Hunt

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

Start Hunting!

Translated by