Page 1 of 1

Transfer data from USB to X, Y, Angle for use

Posted: Fri Oct 26, 2018 11:44 am
by thinhpvp.indruino
Hello,
I'm having a problem that is impossible to get data from indoor GPS to use.
I got the data returned Port USB. But I can't be transformed into necessary data: x, y, and angle coordinates.
Can anyone help me to find where how to decode them?
Thanks all

Re: Transfer data from USB to X, Y, Angle for use

Posted: Fri Nov 09, 2018 7:48 pm
by smoker77
Hello,
There are two ways to get angle data:

1. Use paired beacons feature.
You need two mobile beacons placed on the same moving object with some distance between them.
See section 7.3 of the manual for details:
https://marvelmind.com/pics/marvelmind_ ... manual.pdf
You will get the heading of the pair via USB in the data packet described in section 1.1.2 of the protocol:
https://marvelmind.com/pics/marvelmind_ ... rfaces.pdf

2. Use IMU feature.
You need one mobile beacon with IMU.
You will get the rotation quaternion via USB in the data packet described in section 1.5 of the protocol by upper link.
The quaternion can be converted to all three angles of the mobile beacon: yaw, pitch, roll.

Re: Transfer data from USB to X, Y, Angle for use

Posted: Wed Nov 28, 2018 9:38 pm
by thinhpvp.indruino
Dear smoker77 ,

I have a AGV, I want to do its as robot same video https://youtu.be/TBTw1njQ7QY. How to do it?

Next, I develop a software for my AGV by C#. It's difficult for get data of GPS (X, Y, Angle). How can you support me? Can be a packet library for C#.

Thank you so much.

Re: Transfer data from USB to X, Y, Angle for use

Posted: Sun Dec 02, 2018 8:32 pm
by smoker77
Hello,
Now we have not ready examples for C#.
Please read following topic with code from some of our customers:
viewtopic.php?t=1023
It seems this code doesn't include parsing of incoming data, but you can try to copy parsing part from C example:
http://www.marvelmind.com/pics/2018_03_15_C_example.zip

Re: Transfer data from USB to X, Y, Angle for use

Posted: Wed Dec 26, 2018 8:23 pm
by thinhpvp.indruino
Hi,
How to switched on IMU on dashboard ?

Re: Transfer data from USB to X, Y, Angle for use

Posted: Tue Jan 15, 2019 7:53 pm
by smoker77
You can enable/disable IMU by parameter shown on attached screenshot.
This will work only if IMU is present in hardware, of course