All pastes #2776214 Raw Edit

Untitled

public unlisted text v1 · immutable
#2776214 ·published 2014-05-27 03:27 UTC
rendered paste body
From eb1b219c6c8ec456e3b8b29817b967c1d58113e5 Mon Sep 17 00:00:00 2001
From: sam sokolik <samcoinc@gmail.com>
Date: Mon, 26 May 2014 22:18:10 -0500
Subject: [PATCH] Added axis.N.lock and axis.N.is-locked to script so they get
 correctly converted to joint.N

---
 scripts/update_ini | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/update_ini b/scripts/update_ini
index e75497f..9c77bcd 100755
--- a/scripts/update_ini
+++ b/scripts/update_ini
@@ -300,6 +300,8 @@ if version == "$Revision$" or version < "1.0":
     'axis.(.).pos-hard-limit':    'joint.\\1.pos-hard-limit',
     'axis.(.).pos-lim-sw-in':     'joint.\\1.pos-lim-sw-in',
     'axis.(.).wheel-jog-active':  'joint.\\1.wheel-jog-active',
+    'axis.(.).unlock':            'joint.\\1.unlock',
+    'axis.(.).is-unlocked':       'joint.\\1.is-unlocked',
     'num_joints=\[TRAJ\]AXES':    'num_joints=[KINS]JOINTS',
     'loadrt(.+kins)':             'loadrt [KINS]KINEMATICS\n#autoconverted \\1',
     '\[AXIS_(.)\]':               '[JOINT_\\1]'}
-- 
1.9.1