Commit graph

35 commits

Author SHA1 Message Date
Jacki
682daf4385
Add code to rectify frames for stereo depth images
Signed-off-by: Jacki <jacki@thejackimonster.de>
2025-06-06 04:22:05 +02:00
Jacki
6314c867ca
Adjusted camera example application to utilize calibration data
Signed-off-by: Jacki <jacki@thejackimonster.de>
2025-06-05 02:52:59 +02:00
Jacki
c5e051de68
Fix loading calibration data from Xreal Air 2 Ultra 2025-03-27 22:02:02 +01:00
Jacki
9526491fe8
Implement MCU support for Xreal Air 2 Ultra 2024-12-22 12:47:16 +01:00
wheaney
fc9eb2d898
Support differing HID interface IDs between products 2024-08-02 01:09:30 +02:00
wheaney
28eb02d94d
Add HID IDs for XREAL Air 2 Ultra 2024-08-02 01:02:40 +02:00
Jacki
67b215bf04
Add license comments to all files
Signed-off-by: Jacki <jacki@thejackimonster.de>
2024-08-02 00:59:30 +02:00
Jacki
09ad6dc04e
Rename device4 into device_mcu
Signed-off-by: Jacki <jacki@thejackimonster.de>
2024-08-02 00:52:44 +02:00
Jacki
776fb7204d
Rename device3 to device_imu
Signed-off-by: Jacki <jacki@thejackimonster.de>
2024-08-02 00:42:26 +02: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
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
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
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
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
72feaa60b3
Switch from libusb to hidapi
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-30 12:59:34 +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
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
b20a24bf66
Remove wrong filters and correction
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-21 21:30:16 +02:00
TheJackiMonster
43e37b17dd
Adjust temperature values with offset and sensitivity
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-19 00:11:04 +02:00
TheJackiMonster
12819f8d26
RE padding fields to be multipliers and divisors
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-12 00:56:06 +02:00
TheJackiMonster
e2523135a9
Add correction to workaround rejection
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-06 01:39:35 +02:00
TheJackiMonster
3f91741cfa
Add filters for precision loss and reducing potential drift
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-05 23:36:33 +02:00
TheJackiMonster
898fe12180
Correct C++ includes
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-05 22:54:24 +02:00
TheJackiMonster
8ea326e429
Specify languages and allow C++ usage
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-05 22:51:55 +02:00
TheJackiMonster
d3d63a30a4
Adjust magnometer and flip gravity acceleration
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-05 02:06:03 +02:00
TheJackiMonster
2c23021a5e
Add calibration and separate the interface
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
2023-04-02 23:08:28 +02:00