Commit Graph

3110 Commits

Author SHA1 Message Date
Ibrahim Abd Elkader
0932324563
Merge pull request #485 from openmv/add_lepton_examples
Add lepton examples.
2019-03-11 20:28:52 +02:00
Kwabena W. Agyeman
4f0e628bb0 Add lepton examples. 2019-03-11 20:15:48 +02:00
Ibrahim Abd Elkader
1ef73ff858
Merge pull request #484 from openmv/fix_torainbow
Add color palette conversion to to_rainbow()
2019-03-11 20:11:11 +02:00
Kwabena W. Agyeman
a47f4120af Add color palette conversion to to_rainbow() 2019-03-11 19:57:46 +02:00
Ibrahim Abd Elkader
9967400588
Merge pull request #483 from openmv/fix_ioctls
Fix Lepton IOCTLs
2019-03-11 19:54:50 +02:00
Kwabena W. Agyeman
cb1e44abb1 Fix missing break and parens. 2019-03-11 19:41:35 +02:00
Kwabena W. Agyeman
c317226738 Set should return none. 2019-03-11 19:41:26 +02:00
Kwabena W. Agyeman
af289d779f Fixed bugged set/get attribute. 2019-03-11 19:41:17 +02:00
Ibrahim Abd Elkader
1383234122
Merge pull request #482 from openmv/fix_temp
Fix temperature equation.
2019-03-11 19:39:56 +02:00
Kwabena W. Agyeman
960e61aba9 Fix temperature equation. 2019-03-11 19:32:17 +02:00
Ibrahim Abd Elkader
7c5c5cff03
Merge pull request #481 from openmv/add_get_palette
Add method to get the color palette.
2019-03-11 19:21:10 +02:00
Kwabena W. Agyeman
a3f197e12d Add method to get the color palette. 2019-03-11 19:07:13 +02:00
Ibrahim Abd Elkader
e3ebd0d0cd
Merge pull request #480 from openmv/lepton_snapshot_timeout
Add timeout and crash receovery code.
2019-03-11 19:04:56 +02:00
Kwabena W. Agyeman
d4d20a0327 Add timeout and crash receovery code.
The FLIR Lepton 3.5 sometimes doesn't startup. Our previous code just
waited forever. The new code now will timeout but also will try to
recoever the FLIR Lepton 3.5 if possible if the video doesn't start in a
timely manner.
2019-03-11 18:40:16 +02:00
Ibrahim Abd Elkader
1dfd23a901
Merge pull request #479 from openmv/lepton_measurment_mode
Add the ability to set the flir into measurment mode
2019-03-11 18:33:09 +02:00
Kwabena W. Agyeman
92cc75eff5 Add the ability to set the flir into measurment mode
Measurement mode allows you to set a target temperature for the FLIR
lepton so that you can actually use it to measure object temperatures
and do useful things. We try to make the mode work on non-radiometric
FLIR letpons howeever it will not be accurate.
2019-03-11 18:20:31 +02:00
Ibrahim Abd Elkader
70eb903073
Merge pull request #478 from openmv/add_lepton_ioctl
Add Lepton IOCTLs
2019-03-11 18:09:58 +02:00
Kwabena W. Agyeman
860a8b280d Add ioctl to get lepton radiometry. 2019-03-11 17:54:23 +02:00
Kwabena W. Agyeman
76af3bd534 Add ioctl to get the lepton module width and height. 2019-03-11 17:09:49 +02:00
王开智
2a8d54aad7
fixed class name
VL53L0X => VL53L1X
2019-03-11 13:47:22 +08:00
Ibrahim Abd Elkader
7b4b9214cb
Merge pull request #474 from openmv/fix_cascade_converter
Fix cascade converter script Windows bug.
2019-03-07 19:33:39 +02:00
iabdalkader
bb23ed01ad Fix cascade converter script Windows bug.
* Using open "w" instead of "wb" causes the script to fail on Windows.
2019-03-07 19:29:44 +02:00
Ibrahim Abd Elkader
586afe3e2b
Merge pull request #473 from peitschie/master
Avoid invalid mem access by validating post-rounded indices
2019-03-07 18:44:47 +02:00
Philip Peitsch
d734c6c49c Avoid invalid mem access by validating post-rounded indices
These bounds checks were incorrect if sourceX/Y rounds up. In this situation, the unrounded source will be smaller than the limit by a factional amount (C will elevate the int bounds to a float for comparison), but the post-rounded version will equal the limit.

E.g.,
sourceX = 10.5
img->w = 11 (i.e., valid indices are [0-10])
sourceX2 = 11, which is invalid memory
2019-03-06 09:36:52 +11:00
Ibrahim Abd Elkader
8847bcb0fa
Merge pull request #472 from openmv/flir_ioctls
Add FLIR Lepton IOCTLs
2019-03-05 21:21:17 +02:00
iabdalkader
4e0a408055 Add FLIR Lepton IOCTLs 2019-03-05 21:11:52 +02:00
Ibrahim Abd Elkader
edaca4f781
Merge pull request #470 from openmv/set_palette
Add sensor function to change color palettes
2019-03-05 18:45:05 +02:00
iabdalkader
f43e841447 Use sensor color palette in lepton code. 2019-03-05 18:22:11 +02:00
iabdalkader
164f2e71c1 Add set_color_palette 2019-03-05 18:21:53 +02:00
Ibrahim Abd Elkader
2944d42bea
Merge pull request #469 from openmv/add_color_palettes
Add ironbow lookup table
2019-03-05 18:20:01 +02:00
iabdalkader
e4ead239be Add ironbow table. 2019-03-05 16:56:52 +02:00
iabdalkader
be9fb58b68 Update rainbow generator script. 2019-03-05 16:11:17 +02:00
Ibrahim Abd Elkader
f5c93be2ad
Merge pull request #468 from openmv/flir_fixes
Flir fixes
2019-03-05 16:04:40 +02:00
iabdalkader
ef7ef4a390 Remove FFC check.
* Some sensors fail this check.
2019-03-05 15:42:35 +02:00
iabdalkader
4c15ce66ca Check pixel format. 2019-03-05 15:38:40 +02:00
Ibrahim Abd Elkader
7232378692
Merge pull request #467 from openmv/trig_ioctl
Implement MT triggered mode using ioctls
2019-03-04 21:16:02 +02:00
iabdalkader
54e431adb2 Implement MT triggered mode using ioctls 2019-03-04 20:55:17 +02:00
Ibrahim Abd Elkader
542076f540
Merge pull request #466 from openmv/sensor_ioctl
Add sensor ioctl function.
2019-03-04 19:57:59 +02:00
iabdalkader
aafc6e995a Add sensor ioctl function. 2019-03-04 19:52:11 +02:00
Ibrahim Abd Elkader
2e327aaf38
Merge pull request #465 from kwagyeman/kwabena/mt_driver_update
Kwabena/mt driver update
2019-03-04 18:44:12 +02:00
Kwabena W. Agyeman
69d71a7015 Add examples 2019-03-03 22:57:25 -05:00
Kwabena W. Agyeman
599357a719 Make WVGA2 and WVGA work. 2019-03-03 21:59:40 -05:00
Kwabena W. Agyeman
2a62bde28b Allow making auto exposure very long or very short. 2019-03-03 21:23:47 -05:00
Ibrahim Abd Elkader
9cb1dfe730
Merge pull request #464 from kwagyeman/kwabena/improve_default_jpeg_quality
Set initial JPEG quality half way between low and high quality.
2019-03-03 15:30:29 +02:00
Kwabena W. Agyeman
9e8deb6928 Cleanup the MT9V034 driver.
* Removed pointless code and static vars.
* FIxed bugs invloving shadow registers.
2019-03-03 03:41:50 -05:00
Kwabena W. Agyeman
f0ce9d9530 Force shadow mode register updates. 2019-03-03 01:00:25 -05:00
Kwabena W. Agyeman
1269aa1bbc Add default state for static var. 2019-03-03 00:48:34 -05:00
Kwabena W. Agyeman
3c49f986e4 Enable setting the sensor to a triggered mode. 2019-03-03 00:48:12 -05:00
Kwabena W. Agyeman
2523754638 Make default jpeg res not so terrible. 2019-03-02 22:34:32 -05:00
Ibrahim Abd Elkader
3dcd029160
Merge pull request #462 from openmv/fix_mt_set_framesize
Fix MT set_framesize.
2019-03-01 21:45:55 +02:00