jpoezhang commited on
Commit
40c8057
·
verified ·
1 Parent(s): 0eb7dc7

Fix portable shell entry points for Hugging Face downloads

Browse files
README.md CHANGED
@@ -132,7 +132,7 @@ cd ~/Work/Projects/realhand-teleop
132
  ```bash
133
  P7L6_INPUT_MODE=controller \
134
  PICO4U_DEVICE=cpu \
135
- ./scripts/teleop/run_pico4u_teleop.sh
136
  ```
137
 
138
  The left and right controllers independently drive the left and right arms.
@@ -143,7 +143,7 @@ The corresponding trigger controls only that side's L6 hand.
143
  ```bash
144
  P7L6_INPUT_MODE=handtracking \
145
  PICO4U_DEVICE=cpu \
146
- ./scripts/teleop/run_pico4u_teleop.sh
147
  ```
148
 
149
  The release defaults are the calibrated P7 and L6 controller and hand-tracking
 
132
  ```bash
133
  P7L6_INPUT_MODE=controller \
134
  PICO4U_DEVICE=cpu \
135
+ bash scripts/teleop/run_pico4u_teleop.sh
136
  ```
137
 
138
  The left and right controllers independently drive the left and right arms.
 
143
  ```bash
144
  P7L6_INPUT_MODE=handtracking \
145
  PICO4U_DEVICE=cpu \
146
+ bash scripts/teleop/run_pico4u_teleop.sh
147
  ```
148
 
149
  The release defaults are the calibrated P7 and L6 controller and hand-tracking
examples/isaac_lab/p7_realhand_bimanual/README.md CHANGED
@@ -18,13 +18,13 @@ Set the Isaac Lab checkout and environment, then run from the repository root:
18
  export ISAACLAB_ROOT="$HOME/Work/IsaacLab"
19
  export ISAACLAB_ENV="$HOME/Work/env_isaaclab"
20
 
21
- P7L6_INPUT_MODE=controller ./scripts/teleop/run_pico4u_teleop.sh
22
  ```
23
 
24
  Direct entry:
25
 
26
  ```bash
27
- ./examples/isaac_lab/p7_realhand_bimanual/scripts/teleop/run_pico4u_teleop.sh
28
  ```
29
 
30
  The launcher uses CPU PhysX by default because it is substantially faster for this single-environment
@@ -33,7 +33,7 @@ contact scene. Set `PICO4U_DEVICE=cuda:0` only when explicitly comparing the GPU
33
  Hand-tracking mode:
34
 
35
  ```bash
36
- P7L6_INPUT_MODE=handtracking ./scripts/teleop/run_pico4u_teleop.sh
37
  ```
38
 
39
  The self-contained inspection-kitting workcell is loaded by default. It is the
 
18
  export ISAACLAB_ROOT="$HOME/Work/IsaacLab"
19
  export ISAACLAB_ENV="$HOME/Work/env_isaaclab"
20
 
21
+ P7L6_INPUT_MODE=controller bash scripts/teleop/run_pico4u_teleop.sh
22
  ```
23
 
24
  Direct entry:
25
 
26
  ```bash
27
+ bash examples/isaac_lab/p7_realhand_bimanual/scripts/teleop/run_pico4u_teleop.sh
28
  ```
29
 
30
  The launcher uses CPU PhysX by default because it is substantially faster for this single-environment
 
33
  Hand-tracking mode:
34
 
35
  ```bash
36
+ P7L6_INPUT_MODE=handtracking bash scripts/teleop/run_pico4u_teleop.sh
37
  ```
38
 
39
  The self-contained inspection-kitting workcell is loaded by default. It is the
examples/isaac_lab/p7_realhand_bimanual/docs/OPENXR_PICO4U.md CHANGED
@@ -47,7 +47,7 @@ cd "$HOME/Work/Projects/realhand-teleop"
47
  ```bash
48
  P7L6_INPUT_MODE=controller \
49
  PICO4U_DEVICE=cpu \
50
- ./scripts/teleop/run_pico4u_teleop.sh
51
  ```
52
 
53
  The left and right OpenXR grip poses independently control the corresponding
@@ -61,7 +61,7 @@ Each controller trigger linearly controls only its corresponding L6 hand.
61
  ```bash
62
  P7L6_INPUT_MODE=handtracking \
63
  PICO4U_DEVICE=cpu \
64
- ./scripts/teleop/run_pico4u_teleop.sh
65
  ```
66
 
67
  Tracked wrist poses control the P7 end effectors. Tracked finger geometry is
 
47
  ```bash
48
  P7L6_INPUT_MODE=controller \
49
  PICO4U_DEVICE=cpu \
50
+ bash scripts/teleop/run_pico4u_teleop.sh
51
  ```
52
 
53
  The left and right OpenXR grip poses independently control the corresponding
 
61
  ```bash
62
  P7L6_INPUT_MODE=handtracking \
63
  PICO4U_DEVICE=cpu \
64
+ bash scripts/teleop/run_pico4u_teleop.sh
65
  ```
66
 
67
  Tracked wrist poses control the P7 end effectors. Tracked finger geometry is
scripts/teleop/run_pico4u_teleop.sh CHANGED
@@ -5,5 +5,4 @@ SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
5
  PROJECT_ROOT="$(cd -- "${SCRIPT_DIR}/../.." && pwd)"
6
  EXAMPLE_SCRIPT="${PROJECT_ROOT}/examples/isaac_lab/p7_realhand_bimanual/scripts/teleop/run_pico4u_teleop.sh"
7
 
8
- exec "${EXAMPLE_SCRIPT}" "$@"
9
-
 
5
  PROJECT_ROOT="$(cd -- "${SCRIPT_DIR}/../.." && pwd)"
6
  EXAMPLE_SCRIPT="${PROJECT_ROOT}/examples/isaac_lab/p7_realhand_bimanual/scripts/teleop/run_pico4u_teleop.sh"
7
 
8
+ exec bash "${EXAMPLE_SCRIPT}" "$@"