Hi there
I am Jolanta and from lativia and I am new to Matlab. I am using Laser sensor with NI PCle 6321 to acquire 3D images of a scanned object. I want to know whether it is possible to do the same using Matlab instead of LabView. I am using Lego Mindstorms made Robotic arm to move my Laser beam which gives me x,y,z points now I want to know How do I achieve this using Matlab. Your suggestions are really appreciated.
regards
Jolanta

2 件のコメント

Sean de Wolski
Sean de Wolski 2012 年 3 月 7 日
Could you perhaps provide a small set of sample data and the expected results/image of expected results?
Jolanta Gavrowski
Jolanta Gavrowski 2012 年 3 月 9 日
http://www.youtube.com/watch?v=qmfwPXYO5vM
If you can watch this video. The application should be similar to this

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

回答 (3 件)

Doug Jones
Doug Jones 2012 年 3 月 7 日

1 投票

Hi Jolanta,
You can now program & control the LEGO MINDSTORMS NXT directly from Simulink. One suggestion is to model the robot arm controller in Simulink and then load & run it on the NXT Brick. In MATLAB, you can use the Data Acquisition Toolbox to acquire the laser sensor data. Data Acquisition Toolbox provides support for the PCIe-6321. More details can be found here:
Simulink Support for Target Hardware, including LEGO MINDSTORMS NXT:
Data Acquisition Toolbox:
I hope this is helpful.

6 件のコメント

Walter Roberson
Walter Roberson 2012 年 3 月 7 日
Interesting.
The question that then immediately came to my mind was whether the Simulink target was supported for both 32 bit and 64 bit MATLAB, so that the user would have a choice of legacy interface (32 bit only) or session-based interface (64 bit only) to communicate with the PCIe-6321.
It appears to me that the answer is Yes, that both 32 and 64 bit are supported at this time; I deduce this from seeing specific 32 and 64 bit support mentioned on the Mindstorms page, http://www.mathworks.com/academia/lego-mindstorms-nxt-software/legomindstorms-simulink.html
Sean de Wolski
Sean de Wolski 2012 年 3 月 7 日
I'm pretty sure session-based DAQ only works for NI at this point.
Sean de Wolski
Sean de Wolski 2012 年 3 月 7 日
http://www.mathworks.com/help/toolbox/daq/rn/bstssaq-1.html
Walter Roberson
Walter Roberson 2012 年 3 月 7 日
Right, Sean, but the 6321 _is_ a NI device.
Sean de Wolski
Sean de Wolski 2012 年 3 月 7 日
And I can't find anything indicating support for any non-NI products.
Walter Roberson
Walter Roberson 2012 年 3 月 7 日
http://www.mathworks.com/help/toolbox/daq/bsvjl59-1.html
has a chart that shows that session-based interface is supported only for NI devices, and that for other manufacturers, only the legacy interface is supported and only 32 bit MATLAB.

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

Jolanta Gavrowski
Jolanta Gavrowski 2012 年 3 月 9 日

0 投票

Hi Guys Thanks for the reply.
But I cant find target installer on my Simulink. I am using Matlab 2011b, buyt in my tools of new models in simulink there is no option of run target installer.
supermanhero 718
supermanhero 718 2015 年 2 月 11 日

0 投票

Hi all,
Can you help me for my final year project about 3D scanner image using laser. So, I hope could everybody help me by providing the complete matlab coding for this project.
Thanks and have a nice day

カテゴリ

ヘルプ センター および File ExchangeLEGO MINDSTORMS EV3 Hardware についてさらに検索

質問済み:

2012 年 3 月 7 日

回答済み:

2015 年 2 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by