The module that allows observing orientations through a 3D object from Euler angles or quaternion transmitted with WebSocket via wi-fi or serial port.
To use this module, remember that data must be transmitted via serial port or WIFI in string where each data has to be separated by a comma.
-
Quaternion
"w,x,y,z"
- Data example
"00.0000000,00.0000000,00.0000000,00.0000000"
- Data example
-
Euler angles
"pitch,roll,yaw"
- Data example
"00.0000000,00.0000000,00.0000000"
- Data example
- Fork this repository and clone it on your machine.
- Change the directory to
python-orientation-visualization-app
where you cloned it.
- Install requirements.
$ pi3 install -r requirements.txt
- Startup
$ python3 App.py
- If you are going to use data transmission via Wifi, when connecting, keep in mind that the WebSocket server
IP
will be your machine'sIP
and port8080
.
Made with