Commit Graph

9 Commits

Author SHA1 Message Date
LukeMike e6c8653302 AP_IRLock_PX4: enabled sensor driver startup on bus2 if don't start on bus1 2016-08-11 07:52:39 +10:00
Andrew Tridgell e24cebec33 AP_IRLock: auto-start batt_smbus driver if enabled 2016-08-10 19:54:00 +10:00
Jonathan Challinger 6254608c45 AP_IRLock: refactor interface 2016-07-12 18:40:25 +09:00
Caio Marcelo de Oliveira Filho 87b9b4463e AP_IRLock: use millis/micros/panic functions 2015-11-20 12:31:35 +09:00
Randy Mackay 2351e84592 IRLock: replace tabs with spaces
No functional change
2015-08-31 18:00:33 +09:00
Randy Mackay 6f3ff0866f IRLock: adjust to px4 lib calculating bf angles 2015-08-31 18:00:20 +09:00
Randy Mackay 04c682542c IRLock: correct include paths 2015-08-31 18:00:14 +09:00
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
2015-08-31 17:57:57 +09:00
Michael Landes 59928ed677 IRLock: Initial implementation
Define the IRLock sensor object using PX4 level driver
2015-08-31 17:57:56 +09:00