From 384f275f565cf70052aff26c601ffb2ea915765e Mon Sep 17 00:00:00 2001
From: fiveisgreen <4203265+fiveisgreen@users.noreply.github.com>
Date: Thu, 21 Nov 2024 16:04:04 +0100
Subject: [PATCH] style: PIE873 registers are in camel case

---
 lam-actuator/templates/PIE873.json | 48 +++++++++++++++---------------
 1 file changed, 24 insertions(+), 24 deletions(-)

diff --git a/lam-actuator/templates/PIE873.json b/lam-actuator/templates/PIE873.json
index 72aeda4..20bdb2b 100644
--- a/lam-actuator/templates/PIE873.json
+++ b/lam-actuator/templates/PIE873.json
@@ -1,39 +1,39 @@
 {
   "mapFileFormatVersion": 1,
   "metadata": {
-    "defaultRecoveryRegister":"/get_device_ID",
+    "defaultRecoveryRegister":"/getDeviceId",
     "delimiter":"\r\n"
   },
   "registers": {
-      "/list_axis_identifiers":{"readCmd":"SAI?", "readResp":".*{{x.0}}\r\n", "type":"STRING"},
-      "/get_device_ID":{"readCmd":"*IDN?", "readResp":"(.*)\r\n", "type":"STRING"},
+      "/listAxisIdentifiers":{"readCmd":"SAI?", "readResp":".*{{x.0}}\r\n", "type":"STRING"},
+      "/getDeviceId":{"readCmd":"*IDN?", "readResp":"(.*)\r\n", "type":"STRING"},
 
       "/status":{"readCmd":"\u0004", "readResp":"{{x.0}}\r\n", "type":"HEX"},
-      "/motion_status":{"readCmd":"\u0005", "readResp":"{{x.0}}\r\n", "type":"HEX"},
-      "/controller_ready_status":{"readCmd":"\u0007", "readResp":"0xB{{x.0}}( ready state.*)?\r\n", "type":"HEX"},
+      "/motionStatus":{"readCmd":"\u0005", "readResp":"{{x.0}}\r\n", "type":"HEX"},
+      "/controllerReadyStatus":{"readCmd":"\u0007", "readResp":"0xB{{x.0}}( ready state.*)?\r\n", "type":"HEX"},
 
       "/acceleration"   :{"writeCmd":"ACC 1 {{x.0}}",      "readCmd":"ACC? 1", "readResp":"1={{x.0}}\r\n", "type":"DOUBLE"},
       "/deceleration"   :{"writeCmd":"DEC 1 {{x.0}}",      "readCmd":"DEC? 1", "readResp":"1={{x.0}}\r\n", "type":"DOUBLE"},
       "/velocity"       :{"writeCmd":"VEL 1 {{x.0}}",      "readCmd":"VEL? 1", "readResp":"1={{x.0}}\r\n", "type":"DOUBLE"},
-      "/step_size"      :{"writeCmd":"SST 1 {{x.0}}",      "readCmd":"SST? 1", "readResp":"1={{x.0}}\r\n", "type":"DOUBLE"},
-      "/min_position"   :{"writeCmd":"SPA 1 0x30 {{x.0}}", "readCmd":"TMN? 1", "readResp":"1={{x.0}}\r\n", "type":"DOUBLE"},
-      "/max_position"   :{"writeCmd":"SPA 1 0x15 {{x.0}}", "readCmd":"TMX? 1", "readResp":"1={{x.0}}\r\n", "type":"DOUBLE"},
-      "/target_position":{"writeCmd":"MOV 1 {{x.0}}",   "readCmd":"MOV? 1", "readResp":"1={{x.0}}\r\n", "type":"DOUBLE"},
-      "/target_relative_position":{"writeCmd":"MVR 1 {{x.0}}", "type":"DOUBLE"},
-      "/current_postion":{"readCmd":"POS? 1", "readResp":"1={{x.0}}\r\n", "type":"DOUBLE"},
-
-      "/fast_move_to_negative_limit" :{"writeCmd":"FNL 1", "type":"VOID"},
-      "/fast_move_to_positive_limit" :{"writeCmd":"FPL 1", "type":"VOID"},
-      "/stop_movement"               :{"writeCmd":"HLT 1", "type":"VOID"},
-      "/emergency_stop_movement":{"writeCmd":"\u0018","type":"VOID"},
-      "/trigger_referencing_with_ref_switch":{"writeCmd":"FRF 1", "type":"VOID"},
-
-      "/error_code":{"readCmd":"ERR?", "readResp":"{{x.0}}\r\n", "type":"INT64"},
-
-      "/get_referencing_result":{"readCmd":"FRF? 1", "readResp":"1={{x.0}}\r\n", "type":"UINT64"},
-      "/on_target_state"       :{"readCmd":"ONT? 1", "readResp":"1={{x.0}}\r\n", "type":"UINT64"},
-      "/set_reference_mode"    :{"writeCmd":"RON 1 {{x.0}}", "type":"UINT64"},
-      "/servo_mode"            :{"writeCmd":"SVO 1 {{x.0}}", "readCmd":"SVO? 1", "readResp":"1={{x.0}}\r\n", "type":"UINT64"} 
+      "/stepSize"      :{"writeCmd":"SST 1 {{x.0}}",      "readCmd":"SST? 1", "readResp":"1={{x.0}}\r\n", "type":"DOUBLE"},
+      "/minPosition"   :{"writeCmd":"SPA 1 0x30 {{x.0}}", "readCmd":"TMN? 1", "readResp":"1={{x.0}}\r\n", "type":"DOUBLE"},
+      "/maxPosition"   :{"writeCmd":"SPA 1 0x15 {{x.0}}", "readCmd":"TMX? 1", "readResp":"1={{x.0}}\r\n", "type":"DOUBLE"},
+      "/targetPosition":{"writeCmd":"MOV 1 {{x.0}}",   "readCmd":"MOV? 1", "readResp":"1={{x.0}}\r\n", "type":"DOUBLE"},
+      "/targetRelative_position":{"writeCmd":"MVR 1 {{x.0}}", "type":"DOUBLE"},
+      "/currentPostion":{"readCmd":"POS? 1", "readResp":"1={{x.0}}\r\n", "type":"DOUBLE"},
+
+      "/fastMoveToNegativeLimit" :{"writeCmd":"FNL 1", "type":"VOID"},
+      "/fastMoveToPositiveLimit" :{"writeCmd":"FPL 1", "type":"VOID"},
+      "/stopMovement"               :{"writeCmd":"HLT 1", "type":"VOID"},
+      "/emergencyStopMovement":{"writeCmd":"\u0018","type":"VOID"},
+      "/triggerReferencingWithRefSwitch":{"writeCmd":"FRF 1", "type":"VOID"},
+
+      "/errorCode":{"readCmd":"ERR?", "readResp":"{{x.0}}\r\n", "type":"INT64"},
+
+      "/getReferencingResult":{"readCmd":"FRF? 1", "readResp":"1={{x.0}}\r\n", "type":"UINT64"},
+      "/onTargetState"       :{"readCmd":"ONT? 1", "readResp":"1={{x.0}}\r\n", "type":"UINT64"},
+      "/setReferenceMode"    :{"writeCmd":"RON 1 {{x.0}}", "type":"UINT64"},
+      "/servoMode"            :{"writeCmd":"SVO 1 {{x.0}}", "readCmd":"SVO? 1", "readResp":"1={{x.0}}\r\n", "type":"UINT64"} 
   }
 }
 
-- 
GitLab