murata
42264599f2
AP_IRLock: correct spelling mili -> milli
3 years ago
Iampete1
66e1baa94c
AP_IRLock_I2C: add comment on calibration equation
3 years ago
bugobliterator
58baad9949
AP_IRLock: change class name from SITL::SITL to SITL::SIM
4 years ago
Andrew Tridgell
4895a08ab2
AP_IRLock: convert SITL backends to double precision position
4 years ago
murata
03e658772a
AP_IRLock: Change the tab code to whitespace
5 years ago
Andrew Tridgell
a3b283708b
AP_IRLock: removed unusued AP_Common/Semaphore.h
6 years ago
Pierre Kancir
42cc9c755a
AP_IRLock: add SITL IRLock
...
AP_IRLock: simplify include
AP_IRLock: reduce scope of gazebo irlock_paquet
AP_IRLock: add z pos for IRLock SITL, set to 1.0 for pixycam
AP_IRLock: remove unused target size and get_angle_to_target_rad function
6 years ago
Andrew Tridgell
dedfa54d5a
AP_IRLock: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
6 years ago
Pierre Kancir
0ee6e41f6e
AP_IRLock: Replace find_object with SITL singleton
7 years ago
Andrew Tridgell
7992a21f6f
AP_IRLock: added override keyword
8 years ago
Andrew Tridgell
2eb363a950
AP_IRLock: allow specification of i2c bus
8 years ago
Pierre Kancir
1bb4e3c9b7
AP_IRLock_SITL: make port variable
8 years ago
murata
fe93bdbc5e
AP_IRLock: Change from magic number 0 to definition name.
8 years ago
Pierre Kancir
83c7217911
AP_IRLock_SITL: correct packet timestamp
8 years ago
Lucas De Marchi
5472bc4de1
Global: change Device::PeriodicCb signature
...
Remove bool return as it's never being used and not supported on PX4.
8 years ago
Andrew Tridgell
bc33c19f21
AP_IRLock: fixed build
8 years ago
Randy Mackay
bac5deed43
AP_IRLock: health reporting based on successful I2C transfer
...
This change is required because sync messages are only sent if a target is visible
8 years ago
Andrew Tridgell
c62b64a600
AP_IRLock: improved sync protocol for IRLock I2C driver
8 years ago
Andrew Tridgell
c6ea451c56
AP_IRLock: new in-tree IRLock driver on I2C
8 years ago
John Hsu
a8cf38b366
SITL: implement Gazebo SITL for IRLock tracking.
8 years ago
LukeMike
e6c8653302
AP_IRLock_PX4: enabled sensor driver startup on bus2 if don't start on bus1
9 years ago
Andrew Tridgell
e24cebec33
AP_IRLock: auto-start batt_smbus driver if enabled
9 years ago
Jonathan Challinger
6254608c45
AP_IRLock: refactor interface
9 years ago
Lucas De Marchi
152f169b76
AP_IRLock: replace header guard with pragma once
9 years ago
Caio Marcelo de Oliveira Filho
87b9b4463e
AP_IRLock: use millis/micros/panic functions
9 years ago
Randy Mackay
2351e84592
IRLock: replace tabs with spaces
...
No functional change
10 years ago
Randy Mackay
6f3ff0866f
IRLock: adjust to px4 lib calculating bf angles
10 years ago
Randy Mackay
04c682542c
IRLock: correct include paths
10 years ago
bstone04
cf8ce867e6
IRLock: many changes to integrate with PrecLand library
...
irlock_center_x_pos calculates the lateral x position of the marker in cm. relative to the quad
irlock_x_pos_to_latlon rotates the frame based x position to latitude/longtitude based coordinates
same case for the y position
add get_angle_to_target method
get_angle_to_target replaces pixel to position calculations
Also removed ahrs reference (now in AC_PrecLand lib), unused references
to orb and commented out parameter declaration
reduce max objects to 5
remove ahrs reference
add timeout
return true if new sample found
bug fix get_angle_to_target
remove unused get_frame
10 years ago
Michael Landes
59928ed677
IRLock: Initial implementation
...
Define the IRLock sensor object using PX4 level driver
10 years ago