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

Frequent questions asked online, offline, in forums are answered here
thinhpvp.indruino
Posts: 3
Joined: Fri Oct 26, 2018 11:33 am

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

Postby thinhpvp.indruino » Fri Oct 26, 2018 11:44 am

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

smoker77
Posts: 191
Joined: Sat Feb 06, 2016 4:03 pm

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

Postby smoker77 » Fri Nov 09, 2018 7:48 pm

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.

thinhpvp.indruino
Posts: 3
Joined: Fri Oct 26, 2018 11:33 am

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

Postby thinhpvp.indruino » Wed Nov 28, 2018 9:38 pm

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.

smoker77
Posts: 191
Joined: Sat Feb 06, 2016 4:03 pm

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

Postby smoker77 » Sun Dec 02, 2018 8:32 pm

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

thinhpvp.indruino
Posts: 3
Joined: Fri Oct 26, 2018 11:33 am

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

Postby thinhpvp.indruino » Wed Dec 26, 2018 8:23 pm

Hi,
How to switched on IMU on dashboard ?

smoker77
Posts: 191
Joined: Sat Feb 06, 2016 4:03 pm

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

Postby smoker77 » Tue Jan 15, 2019 7:53 pm

You can enable/disable IMU by parameter shown on attached screenshot.
This will work only if IMU is present in hardware, of course
Attachments
imu_enable.PNG


Return to “FAQ”

Who is online

Users browsing this forum: No registered users and 3 guests