wisescootering / infrareddrone

Aerial infrared photography
GNU Affero General Public License v3.0
14 stars 4 forks source link

Add offsetTheoretical (drone/ir camera angle) in json config or excel #18

Closed balthazarneveu closed 1 year ago

balthazarneveu commented 1 year ago
if corrige_defaut_axe_visee:
            offsetTheoretical = [0.86,  1.43, 0.]   # offset Yaw, Pitch, Roll for theoretical angles

in run.py

Remove hardcoded stuff!

balthazarneveu commented 1 year ago

(Missing todo from issue #13 )

balthazarneveu commented 1 year ago

fake offset

image When using a fake offset in config.json , the curves shift accordingly "offset_angles": [3.0, 10.0, 8.0]

Without any offset angle provided

image

With a correct offset

"offset_angles": [0.86, 1.43, 0.0] in config.json

image The curves get much closer

balthazarneveu commented 1 year ago

@AlainNeveu , now you can put in config.json. There's no more possibility to hardcode these parameters in run.py

"offset_angles" : [Yaw, Pitch,Roll] in config.json

Example: "offset_angles": [0.86, 1.43, 0.0]