フィルターのクリア

Help with ROS image acquisition and processing

3 ビュー (過去 30 日間)
Cullen Wilcox
Cullen Wilcox 2018 年 1 月 19 日
コメント済み: kasra azizi 2021 年 5 月 20 日
Hi there, I am currently working on a project involving a Bebop 2, ROS, and Matlab.
Here is the dilemma. The goal for this project is to interact with the Bebop using Matlab.
I am having an issue while acquiring images from the bebop. I find this quite peculiar. This is a more or less situation but basically the longer I run the code the longer the delay in the image is.
my code is pretty simple,
cam = rossubscriber('/bebop/image_raw');
tic;
while toc < 500
databad = receive(cam);
data = readImage(databad);
imshow(data)
end
For what ever reason, the lag time in the image goes from .5 seconds to almost 5 seconds over the course of a few seconds.
If anyone can help that would be awesome!

回答 (2 件)

Andres Drago
Andres Drago 2018 年 11 月 13 日
Could you solve the delay problem? I'm working with the BB2 + ROS + Matlab and i have a delay of 5~7 seconds.

Srijith Vijay
Srijith Vijay 2019 年 8 月 19 日
Did you try having a 'drawnow' after the 'imshow' command?
Something like:
...
...
imshow(data);
drawnow; % To refresh the image window with new image, instantaneously
..
  1 件のコメント
kasra azizi
kasra azizi 2021 年 5 月 20 日
i tried it and thats not worked

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeNetwork Connection and Exploration についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by