Skip to content

💡 Implementation of Mahony orientation filter in accelerometer and gyroscope sensors

Notifications You must be signed in to change notification settings

nelsonwenner/mobile-sensors-filter-mahony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

IMPLEMENTATION OF MAHONY ORIENTATION FILTER IN ACCELEROMETER AND GYROSCOPE SENSORS

💡 About

This project is an application that uses data from its sensors such as accelerometer and gyroscope to be used in some type of manipulation involving games, among others. In this example, I transmit this data from the sensors via WebSocket and manipulate a 3D object.

🎥 Preview

🚀 Technologies

🔌 Prerequisites

ℹ️ Getting Started

  1. Fork this repository and clone it on your machine.
  2. Change the directory to mobile-sensors-filter-mahony where you cloned it.

🕹️ Godot Getting Started

  • Start Godot, with this you will run the WebSocket server and the 3D object that will be moved with the device's sensor data.

📱 Flutter Getting Started

  • With the device connected via a USB cable, execute the commands below.
  1. Install dependencies
$ flutter pub get
  1. Start the application
$ flutter run
  • With the application installed on your device, first make a connection to the WebSocket server from Godot, your device must be connected via wi-fi on your network, as it is a local network communication. The IP of the server is the same as that of your machine, below I will leave a command to check your IP, the port is fixed at 8080. With this information, connect to the server and start capturing the data from the sensors and transmitting them over the network .
  1. Check IP
/* windows */
$ ipconfig
/* linux */
$ ifconfig

Made with ♥️ by Nelson Wenner 👋 Get in touch!

About

💡 Implementation of Mahony orientation filter in accelerometer and gyroscope sensors

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published