This example demonstrates how to receive NGIMU data in MATLAB in real-time via Wi-Fi. The NGIMU must be configured to be send to the computer IP address before running this example. The computer firewall settings must not be blocking MATLAB from having network access.
ngimu-matlab-real-time-example's Introduction
ngimu-matlab-real-time-example's People
Forkers
dacho68 osupcvlab chenyuzuoyou pxfkm yangyi-ioa danyaladmani leonskennedy bratekai christoffer-roepstorff mfkiwl cocoairforcengimu-matlab-real-time-example's Issues
How to connect NGIMU to MATLAB
Hello, I am a student studying codes and sensors on my own.
I'm trying to follow the Matlab real-time example code, but I'm inexperienced in using matlb, so I can't even connect to matlab.
- In my case, I changed to Client mode in the NGIMU GUI and connected the wifi being used in the computer to the sensor. Afterwards, I have no idea how to call my NGIMU from code examples such as getOscmessages.m, gui.m, etc.
I check the connected ip in the settings part of the NGIMU GUI and try to connect in matlab, but I have no idea how to do it. Can you tell me in detail how to connect to matlab?? (AP/Client )
thank you.
connection not possible
Could you please answer our emails via the contact page of your website? I have intermittent connection with wifi and need some help. We've only just bought this and if we can't get it working every time then we need to return it.
Errors in running GUI
Hello,
I downloaded all of the Matlab files & functions and connected my NGIMU sensor to my computer's IP address. I changed the UDP port to the correct number and the IP address as well. Everything else in the code is the same as it is in your example. When I run the GUI, I get a lot of errors and I am not sure how to fix them. I attached a picture of the errors that pop up when I try to run the GUI.
For the error with "teapot.ply", I am not sure where to download this file so that it can be used in the GUI.
Please let me know at your earliest convenience if you have any ideas about what to do for any of the errors. Thanks!
Input is not a valid rigid transformation
Hi,
I seem te be getting an error about the guaternionplot.
Whenever i try to run the GUI it brings up the following error:
"Input is not a Valid Rigid Transformation"
When this message is displayed, the graph's wont show any data.
however, when i turn the Quaterplot into a comment (Gui.m, line 221), the Graphs will read the Data without problems.
How can i fix this problem, so the Quaternionplot shows up in the gui?
Connection failure with NGIMU
Error with displaying quaternions/teapot in Realtime
When I first launched the programm the GUI was opening up but did not receive data. Therefore I checked for connection problems and everything but found out that the following line in the funtion "timer_Callback" was the problem.
handles.quaternionPlot.updateData()
once I commented this line out, everything was running smoothly and I could receive and display data in realtime in the Matlab GUI (but just the graphs). Still I would like to have the 3D perspective for upcoming purposes. Is there any experience with this error?
I work with MatLab 2016, but have also tried it on Matlab 2020. Same problem. Futher MatLab gives out the follwoing comment (but not as fatal error):
Error while evaluating TimerFcn for timer 'timer-1'
Undefined function 'quat2rotm' for input arguments of type 'double'.
I could not find a real mistake connected to these warnings.
How to get euler angles in real time
Hi,
I've run this example sucessfully, it's great. But I have some other issue. First I want to know how to get the euler angle from the Osc mesages, I add a euler case under oscMessage.oscAddress, but it doesn't work. Second, I want to know how to save those data in matalb, I don't need a gui interface to show the data, I just want to save s period of real time data.
Thanks in advance,
Look forward to your reply
How to make this example runs at 200/400 Hz
This example can only runs at 50 Hz. But according to the product manual, the sample rate of acc and gry is 400 Hz. So my question is that how to make this example runs at 200 or 400 Hz?
Connection Error {solved}
Hi,
I seem to have a problem with connecting the NGIMU to MATLAB (2018a).
The imu works like a charm when im using the NGIMU Gui application provided bij Xiotechnologies, but for some reason im unable to connect it to the matlab example.
I keep getting this error (also, see Screenshot):
Warning: Unhandled OSC adress Recieved: /rssi
Warning: Invalid callback: Unhandled OSC adress Recieved: /rssi
In instrcb (line 54)
At first i thought it was a connection error between the imu and my computer, but like mentioned earlier, that works excellent.
I also like to mention that when the imu is connected to the NGIMU Gui application provided bij Xiotechnologies, Matlab gives me an error that says the IMU is already connected to an application. does this mean that the IMU is already connected to Matlab?
I hope you'll be able to help me out!
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.