Commit Graph

94 Commits

Author SHA1 Message Date
Jacki 4fe426913c
Format code
Signed-off-by: Jacki <jacki@thejackimonster.de>
2025-06-04 22:03:10 +02:00
Jacki d2ba6cbdf6
Add example project to utilize stereo cameras 2025-06-04 21:45:10 +02:00
Jacki d101fae457
Adjust README
Signed-off-by: Jacki <jacki@thejackimonster.de>
2025-03-28 02:39:57 +01:00
Jacki 5388393aa4
Update submodules
Signed-off-by: Jacki <jacki@thejackimonster.de>
2025-03-28 00:47:11 +01:00
Jacki 3dfa9c4350
Fix recv_payload_msg to wait for msgid
Signed-off-by: Jacki <jacki@thejackimonster.de>
2025-03-28 00:17:58 +01:00
Jacki 4cfd8cd871
Update udev rules
Signed-off-by: Jacki <jacki@thejackimonster.de>
2025-03-27 22:55:56 +01:00
Jacki c5e051de68
Fix loading calibration data from Xreal Air 2 Ultra 2025-03-27 22:02:02 +01:00
Jacki c84f468bdd
Update submodules 2024-12-23 00:33:22 +01:00
Jacki 9526491fe8
Implement MCU support for Xreal Air 2 Ultra 2024-12-22 12:47:16 +01:00
Jacki 3225fcc575
Merge branch 'main' into nrealAirLinuxDriver-main
Signed-off-by: Jacki <jacki@thejackimonster.de>
2024-08-02 01:19:21 +02:00
Jacki 2ad1caa384
Simplify code in functions related to product ids
Signed-off-by: Jacki <jacki@thejackimonster.de>
2024-08-02 01:12:58 +02: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
wheaney fde721b97f Support differing HID interface IDs between products 2024-07-30 10:28:41 -07:00
wheaney a2c8e49856 Rename device3/4 to device_imu/mcu 2024-07-30 10:03:46 -07:00
wheaney ce3f9f5493 Add HID IDs for XREAL Air 2 Ultra 2024-07-29 09:50:58 -07:00
Jacki 9d6b6ccc16
Fix draining cpu by usage of blocking
Signed-off-by: Jacki <jacki@thejackimonster.de>
2024-04-17 02:03:27 +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
Tobias Frisch 2b38861b70 Merge branch 'improve_udev_rules' into 'main'
Udev rules cover most (all?) of the mounted devices now and README reflects this.

See merge request TheJackiMonster/nrealAirLinuxDriver!6
2024-01-21 05:39:22 +00:00
Ben Blumer d00bac851d Udev rules cover most (all?) of the mounted devices now and README reflects this. 2024-01-20 12:28:09 -08: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
Tobias Frisch f1aa74c960 Merge branch 'xreal_air_2' into 'main'
XREAL Air 2 vendor/product IDs

See merge request TheJackiMonster/nrealAirLinuxDriver!4
2023-11-14 14:37:44 +00: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
Tobias Frisch 791413179c
Merge branch 'merge_to_jackimonster' into 'main'
Merge device changes from https://github.com/wheaney/xrealAirLinuxDriver

See merge request TheJackiMonster/nrealAirLinuxDriver!2
2023-09-07 22:44:11 +00: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