From a1bf5e300e2345b642d0a13e7e26d22c56156e47 Mon Sep 17 00:00:00 2001
From: "nicolas.zilio@hotmail.fr" <>
Date: Mon, 14 Sep 2015 15:49:46 +0200
Subject: views with units functionnal (beware, as formulas are completely crap
now, we could get segfault, for example if we want to write a negative value
in register)
---
xml/test/camera.xml | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
(limited to 'xml/test')
diff --git a/xml/test/camera.xml b/xml/test/camera.xml
index bf26d80..ed01014 100644
--- a/xml/test/camera.xml
+++ b/xml/test/camera.xml
@@ -491,4 +491,38 @@
enum towards cmosis_exp_register register
+
+
+ @self+273.15
+ @self*(9./5)+32
+
+
+ @self-273.15
+ (@self-273.15)*(9./5)+32
+
+
+ (@self-32)*5./9
+ (@self+273.15-32)*5./9
+
+
+ @self*1000
+ @self*1000000
+ @self*1000000000
+
+
+ @self/1000
+ @self*1000
+ @self*1000000
+
+
+ @self/1000000
+ @self/1000
+ @self*1000
+
+
+ @self/1000000000
+ @self/1000000
+ @self/1000
+
+
--
cgit v1.2.3