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.

Réponses (3)

hang yin
hang yin le 11 Sep 2017

0 votes

I have the same problem and I'm using R2015b
Walter Roberson
Walter Roberson le 11 Sep 2017

0 votes

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 commentaire

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

Connectez-vous pour commenter.

Eric Avetu
Eric Avetu le 22 Nov 2017

0 votes

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