MATLAB Answers

Acquire real-time data from ROS

9 ビュー (過去 30 日間)
Alessandro Bartolini
Alessandro Bartolini 2018 年 3 月 9 日
回答済み: Tohru Kikawada 2019 年 5 月 2 日
Hi,
I've designed a robot with a Operating System managed by ROS, with these functions
device= rosdevice(DEVICEADDRESS, USERNAME, PASSWORD)
openShell(device)
I can look through the shell a real-time datas from DAC inside robot (like in figures)...
Is it possible to acquire these real time data directly in the Matlab Workspace for real-time processing?

回答 (1 件)

Tohru Kikawada
Tohru Kikawada 2019 年 5 月 2 日
If you mean acquiring the streaming data through ROS, that's possible using a rossbuscriber in Robotics System Toolbox. Otherwise, you mean through SSH, that may be possible but need try third party tools since rosdevice does not offer direct streaming methods.

Community Treasure Hunt

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

Start Hunting!

Translated by