Matlab ROS : rosbag record from Matlab computer on Turtlebot
Ältere Kommentare anzeigen
It is possible to execute the command line to record a rosbag from Matlab to the turtlebot. . I try with
if true
% code
rosdevice('MyIP','Username','Password')
system(d,'rosbag record --duration=10 -o NameFile /odom')
end
but I have an error: STDERR : bash : rosbag: command not found . I'm able to do this with the command -> openShell(d). And type in shell directly : rosbag record --duration=10 -o NameFile /odom. After upload on my Matlab coomputer : getfile(d,'path/name');
But if it is possible to do all this directly in Matlab without 'openShell', that will be great ! Thank you in advance for your help
Akzeptierte Antwort
Weitere Antworten (1)
Vincent Talon
am 16 Aug. 2017
0 Stimmen
Kategorien
Mehr zu ROS Log Files and Transformations finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!