フィルターのクリア

Reading inertial measurement unit (IMU) data in real-time using C# dll

20 ビュー (過去 30 日間)
Johnny Scalera
Johnny Scalera 2019 年 7 月 1 日
回答済み: Elia Pellegrino 2019 年 11 月 21 日
Hi all,
I would like to read IMU (accelerometer, gyroscope, magnetometer) data in real-time. The wireless system streams data to its receiver connected to the laptop with an USB port and works with its proprietary software. I would like to develop a GUI for data acquisition and processing in real-time using the dll written in C# by the manufacturer, and so avoiding the use of the proprietary software.
Do you have any suggestion?
Thank you in advance.
Johnny

回答 (2 件)

Sai Bhargav Avula
Sai Bhargav Avula 2019 年 7 月 19 日
Hi,
You can use the ROS, a communication interface for data acquisition from the IMU sensor. First develop a package for logging in the sensor data. Use the MATLAB App Designer for developing the GUI for your application. You can use the App Designer callbacks to trigger the ROS subscriber of the IMU.
  1 件のコメント
Johnny Scalera
Johnny Scalera 2019 年 7 月 24 日
Hi Sai,
probably I was inaccurate in formulating my question. I own the C# .dll of the manufacturer and I would like to build my own data acquisition software. The ROS interface that you suggest seems to be a bit complicated to me; furthermore I don't know if the use of proprietary .dll is allowed.
Do you have solutions for this?
For the development of a GUI I generally use the GUIDE tool. Could you explain the difference between GUIDE and App Designer?
Thank you for your kind reply.
Cheers,
Johnny

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


Elia Pellegrino
Elia Pellegrino 2019 年 11 月 21 日
Hi Johnny,
I'm currently working on something like this with other sensors. First of all I suggest you to download JetBrainsdotPeek,a useful software to open and read .dll file, to know exactly what functions,parameters,ecc. are inside. Then make some research on how to use .NET framework with matlab, in particular function as addAssembly(in reality it is the only one that I use in my project). I might warn you that making a GUI on this kind of thing is not so simple: you have to know really well function handle, callback.
If you have other problem or manage to build the GUI let me know!
Bye!
PS: Sorry for my english, I'm not mothertongue.

カテゴリ

Help Center および File ExchangePublishers and Subscribers についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by