Acquire real-time data from ROS

2 views (last 30 days)
Alessandro Bartolini
Alessandro Bartolini on 9 Mar 2018
Answered: Tohru Kikawada on 2 May 2019
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?

Answers (1)

Tohru Kikawada
Tohru Kikawada on 2 May 2019
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.

Categories

Find more on Publishers and Subscribers in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!