Filter löschen
Filter löschen

Error while using webots matlab controller

9 Ansichten (letzte 30 Tage)
Mohammad Adeeb
Mohammad Adeeb am 24 Apr. 2020
Kommentiert: Michael Currie am 19 Mai 2020
hello!
im trying to conduct a robot controlller using webots simulater , but i get this error while using matlab
what should i do?
  9 Kommentare
Mohammad Adeeb
Mohammad Adeeb am 29 Apr. 2020
Bearbeitet: Mohammad Adeeb am 29 Apr. 2020
Ok , thank u for ur effort i will try and then i’ll tell u the result
Michael Currie
Michael Currie am 19 Mai 2020
Hi Mohammad Adeeb,
It seems that Cyberbotics have made new directories in the R2020a version which have not been updated in their header file and matlab launcher file. I fixed this issue on my machine (Windows) by doing the following:
In the launcher.m file (..\Webots\lib\controller\matlab):
  • Change each line containing 'lib/matlab' to 'lib/controller/matlab'
  • It's lines 15, 23 and 132
In allincludes.h (..\Webots\lib\controller\matlab):
  • Change each include path so that it goes back a further directory
  • eg: #include "../../../include/controller/c/webots/accelerometer.h"
Should work after that. I'm still receiving errors regarding a remote control library, but I haven't looked into that yet.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by