Additionally, paste this code immediately after the opening tag:

Sensorstream IMU+GPS

This is an Android App for 2.3.3 Android OS and above. It deals with Hard- and Software Sensors which are in...

Free

Store review

This is an Android App for 2.3.3 Android OS and above.
It deals with Hard- and Software Sensors which are integrated in Nowadays Smartphones.

The User can select the Sensors and observe the current values of

- Accelerometer
- Gyroscope
- Magnetometer
- GPS Position
- .... and other Sensors

A Stream containing the Sensor-Values in CSV- Format by WLAN To a Client and/or a Stream To a SD-Card can be started and stopped. The Sensor-Update frequency can be adjusted.

There are some GPS-Algorithms running in the Background which transform the GPS data in different coordinate frames.

The Stream via WLAN uses the User Datagram Protocol (UDP) Interface.

The Project Page of this app can be found here:
http://sourceforge.net/projects/smartphone-imu/
Here you will be able to download the Source Code.

In order to receive the data you can use something like the Java File "QuoteClient"in the Files-Section of the Source Forge Project Page. Or use Python and compile:
------------------------------------------------------------
import socket, traceback

host = ''
port = 5555

s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
s.setsockopt(socket.SOL_SOCKET, socket.SO_BROADCAST, 1)
s.bind((host, port))

while 1:
try:
message, address = s.recvfrom(8192)
print (message)
except (KeyboardInterrupt, SystemExit):
raise
except:
traceback.print_exc()
------------------------------------------------------------

Enjoy Navigation!

Size

252.0 KB

Last update

April 6, 2020

Read more