From e43b676d8294f37410ea0fa1f9fa39d10df64408 Mon Sep 17 00:00:00 2001
From: "nicolas.zilio@hotmail.fr" <>
Date: Tue, 15 Sep 2015 17:27:27 +0200
Subject: not perfect but working
---
xml/test/camera.xml | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
(limited to 'xml')
diff --git a/xml/test/camera.xml b/xml/test/camera.xml
index 021ed61..6506467 100644
--- a/xml/test/camera.xml
+++ b/xml/test/camera.xml
@@ -463,8 +463,8 @@
formuu1
C
- (503975./1024000)*@reg - 27315./100
- (@value + 27315./100)*(102400./503975)
+ (503975./1024000)*@reg@ - 27315./100
+ (@value@ + 27315./100)*(102400./503975)
formula to get real fpga temperature from the fpga_temperature register in decimal
@@ -476,8 +476,8 @@
formuu2
C
- ((1./4)*(@reg + 1200)) if @freq==0 else ((3./10)*(@reg + 1000))
- 4*@value + 1200 if @freq==0 else (10./3)*@value + 1000
+ ((1./4)*(@reg@ + 1200)) if @freq@==0 else ((3./10)*(@reg@ + 1000))
+ 4*@value@ + 1200 if @freq@==0 else (10./3)*@value@ + 1000
formula to get real sensor temperature from the sensor_temperature register in decimal
@@ -503,21 +503,21 @@
- @self+273.15
- @self*(9./5)+32
+ @self@+273.15
+ @self@*(9./5)+32
- @self-273.15
- (@self-273.15)*(9./5)+32
+ @self@-273.15
+ (@self@-273.15)*(9./5)+32
- (@self-32)*5./9
- (@self+273.15-32)*5./9
+ (@self@-32)*5./9
+ (@self@+273.15-32)*5./9
- @self*1000
- @self*1000000
- @self*1000000000
+ @self@*1000
+ @self@*1000000
+ @self@*1000000000
@self/1000
--
cgit v1.2.3