Jacki
|
776fb7204d
|
Rename device3 to device_imu
Signed-off-by: Jacki <jacki@thejackimonster.de>
|
2024-08-02 00:42:26 +02:00 |
Jacki
|
1705703b73
|
Rename nreal to xreal in readme, cmake and binaries
Signed-off-by: Jacki <jacki@thejackimonster.de>
|
2024-03-02 02:22:50 +01:00 |
Jacki
|
2d7ab0d4fa
|
Respect byte order of packets
Signed-off-by: Jacki <jacki@thejackimonster.de>
|
2024-03-02 02:10:07 +01:00 |
Jacki
|
b77e27de08
|
Calling hid_init only once
Signed-off-by: Jacki <jacki@thejackimonster.de>
|
2023-12-19 09:30:39 +01:00 |
Jacki
|
3914214af0
|
Fix usage of hid_init and hid_exit
Signed-off-by: Jacki <jacki@thejackimonster.de>
|
2023-12-19 09:26:02 +01:00 |
TheJackiMonster
|
badc712c9b
|
Use NED convention to work properly
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-11-30 19:15:34 +01:00 |
TheJackiMonster
|
f2de567606
|
Corrected axes to NWU
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-11-30 16:09:36 +01:00 |
TheJackiMonster
|
86169959a3
|
Merge axis swapping and abstract magnetometer calibration step
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-11-30 15:47:23 +01:00 |
TheJackiMonster
|
b01eef4fcd
|
Correct magnetometer calibration
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-11-30 15:15:23 +01:00 |
TheJackiMonster
|
dfd8a23937
|
Correct units of biases and improve calibration
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-11-30 14:41:01 +01:00 |
TheJackiMonster
|
b668a4cbdb
|
Merge branch 'main' of gitlab.com:TheJackiMonster/nrealAirLinuxDriver
|
2023-11-30 12:53:56 +01:00 |
TheJackiMonster
|
9469618f60
|
Update submodules to latest releases
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-11-30 12:53:38 +01:00 |
Tobias Frisch
|
915a25baee
|
Merge branch 'main' into 'main'
Add product ID for XREAL Air 2 Pros
See merge request TheJackiMonster/nrealAirLinuxDriver!5
|
2023-11-30 01:16:45 +00:00 |
TheJackiMonster
|
45d6bc536e
|
Use proper type for euler angles
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-11-30 02:14:41 +01:00 |
wheaney
|
20f01821a1
|
Add product ID for XREAL Air 2 Pros
|
2023-11-29 08:25:46 -08:00 |
TheJackiMonster
|
43983153be
|
Fix coordinate system to apply bias correction properly
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-11-29 14:36:45 +01:00 |
TheJackiMonster
|
17f791bfd8
|
Add functions to adjust display mode
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-11-29 12:53:07 +01:00 |
wheaney
|
115610aac2
|
XREAL Air 2 vendor/product IDs
|
2023-11-11 22:08:15 -08:00 |
TheJackiMonster
|
b074ab72fc
|
Return errors on open functions
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-09-08 13:04:05 +02:00 |
TheJackiMonster
|
2bd57ee0dd
|
Fix error values to be unique
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-09-08 01:15:08 +02:00 |
TheJackiMonster
|
5bcf6efe57
|
Use enums for error codes
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-09-08 01:12:31 +02:00 |
TheJackiMonster
|
866cace9a6
|
Add comment for magnetometer usage
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-09-08 00:43:15 +02:00 |
TheJackiMonster
|
0717ad9cd5
|
Use macro
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-09-08 00:40:51 +02:00 |
TheJackiMonster
|
358923e19b
|
Adjust errors to be consistent
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-09-08 00:40:17 +02:00 |
TheJackiMonster
|
98e123d103
|
Adjust error values
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-09-08 00:38:05 +02:00 |
TheJackiMonster
|
54c0e3ece4
|
Remove silent flag
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-09-08 00:36:20 +02:00 |
TheJackiMonster
|
caa956e918
|
Merge branch 'main' into merge_to_jackimonster
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-09-08 00:33:38 +02:00 |
TheJackiMonster
|
f83b161b61
|
Disable error messages in release builds
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-09-08 00:22:54 +02:00 |
TheJackiMonster
|
1d3f4640c2
|
Merge branch 'main' into merge_to_jackimonster
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-09-07 23:43:12 +02:00 |
TheJackiMonster
|
193dd8bf83
|
Update submodules usage
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-09-07 23:30:42 +02:00 |
TheJackiMonster
|
5e9d4d036b
|
Move Fusion submodule
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-09-07 23:02:59 +02:00 |
TheJackiMonster
|
1a307252da
|
Fix handling buffers with text
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-09-07 22:52:32 +02:00 |
wheaney
|
da91b813f0
|
Merge device changes from https://github.com/wheaney/xrealAirLinuxDriver
|
2023-09-06 14:32:47 -07:00 |
TheJackiMonster
|
70689b76a9
|
Write function to upload mcu firmware
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-05-03 00:30:08 +02:00 |
TheJackiMonster
|
9e7d897f74
|
Update message ids and read disp-mode on startup
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-05-02 23:44:55 +02:00 |
TheJackiMonster
|
fd4ba21a0a
|
Only print firmware version in debug build
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-05-01 22:20:44 +02:00 |
TheJackiMonster
|
4f061d1687
|
Fix device4 payloads, adjust naming, complete its packet structure and request firmware versions
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-05-01 22:19:00 +02:00 |
TheJackiMonster
|
754b5c131a
|
Adjust constants and button event handling
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-05-01 18:38:53 +02:00 |
TheJackiMonster
|
8cf3221944
|
Correct timeouts and remove broken brightness command
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-04-30 14:24:13 +02:00 |
TheJackiMonster
|
72feaa60b3
|
Switch from libusb to hidapi
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-04-30 12:59:34 +02:00 |
TheJackiMonster
|
15c2a03944
|
Correct recalibration step
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-04-24 23:11:49 +02:00 |
TheJackiMonster
|
3ce7044590
|
Add initial calibration data and comment out using magnetometer
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-04-24 21:15:18 +02:00 |
TheJackiMonster
|
7998de05b7
|
Align axes with fusion algorithm expectations
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-04-24 19:59:07 +02:00 |
TheJackiMonster
|
d41415b485
|
Correct reading values from magnetometer and apply z axis flip properly
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-04-24 17:04:37 +02:00 |
TheJackiMonster
|
682e7edb20
|
Adjust code using calibration
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-04-23 13:55:28 +02:00 |
TheJackiMonster
|
2da9cdd4f8
|
Remove wrong filtering
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-04-23 02:39:53 +02:00 |
TheJackiMonster
|
678c0196ea
|
Load calibration from device via payload
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-04-23 02:10:55 +02:00 |
TheJackiMonster
|
bacc08e594
|
Add crc32 for checksums and implement sending proper payloads
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-04-22 01:58:32 +02:00 |
TheJackiMonster
|
e451466633
|
Remove filter functions
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-04-21 21:32:57 +02:00 |
TheJackiMonster
|
b20a24bf66
|
Remove wrong filters and correction
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
|
2023-04-21 21:30:16 +02:00 |