docs: 修正遥操作测试命令
This commit is contained in:
@@ -83,7 +83,7 @@ Run:
|
|||||||
```bash
|
```bash
|
||||||
cd /home/robot/WS_xr
|
cd /home/robot/WS_xr
|
||||||
source /opt/ros/humble/setup.bash
|
source /opt/ros/humble/setup.bash
|
||||||
pytest src/xr_rm_teleop/test/test_initial_joint_pose.py \
|
python3 -m pytest src/xr_rm_teleop/test/test_initial_joint_pose.py \
|
||||||
-k 'initial_pose_uses_joint_move_only or mock_initial_pose_restores_configured_joints' -v
|
-k 'initial_pose_uses_joint_move_only or mock_initial_pose_restores_configured_joints' -v
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -138,7 +138,7 @@ Run:
|
|||||||
```bash
|
```bash
|
||||||
cd /home/robot/WS_xr
|
cd /home/robot/WS_xr
|
||||||
source /opt/ros/humble/setup.bash
|
source /opt/ros/humble/setup.bash
|
||||||
pytest src/xr_rm_teleop/test/test_initial_joint_pose.py \
|
python3 -m pytest src/xr_rm_teleop/test/test_initial_joint_pose.py \
|
||||||
-k 'initial_pose_uses_joint_move_only or mock_initial_pose_restores_configured_joints' -v
|
-k 'initial_pose_uses_joint_move_only or mock_initial_pose_restores_configured_joints' -v
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -231,7 +231,7 @@ Run:
|
|||||||
```bash
|
```bash
|
||||||
cd /home/robot/WS_xr
|
cd /home/robot/WS_xr
|
||||||
source /opt/ros/humble/setup.bash
|
source /opt/ros/humble/setup.bash
|
||||||
pytest src/xr_rm_teleop/test/test_joint_control.py \
|
python3 -m pytest src/xr_rm_teleop/test/test_joint_control.py \
|
||||||
-k primary_button_rising_edge_moves_once_and_resyncs -v
|
-k primary_button_rising_edge_moves_once_and_resyncs -v
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -282,7 +282,7 @@ Run:
|
|||||||
```bash
|
```bash
|
||||||
cd /home/robot/WS_xr
|
cd /home/robot/WS_xr
|
||||||
source /opt/ros/humble/setup.bash
|
source /opt/ros/humble/setup.bash
|
||||||
pytest src/xr_rm_teleop/test/test_joint_control.py \
|
python3 -m pytest src/xr_rm_teleop/test/test_joint_control.py \
|
||||||
-k primary_button_rising_edge_moves_once_and_resyncs -v
|
-k primary_button_rising_edge_moves_once_and_resyncs -v
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -314,7 +314,7 @@ Run:
|
|||||||
```bash
|
```bash
|
||||||
cd /home/robot/WS_xr
|
cd /home/robot/WS_xr
|
||||||
source /opt/ros/humble/setup.bash
|
source /opt/ros/humble/setup.bash
|
||||||
pytest src/xr_rm_teleop/test/test_joint_control.py \
|
python3 -m pytest src/xr_rm_teleop/test/test_joint_control.py \
|
||||||
-k primary_button_move_failure_logs_and_stays_stopped -v
|
-k primary_button_move_failure_logs_and_stays_stopped -v
|
||||||
```
|
```
|
||||||
|
|
||||||
@@ -345,7 +345,7 @@ Run:
|
|||||||
```bash
|
```bash
|
||||||
cd /home/robot/WS_xr
|
cd /home/robot/WS_xr
|
||||||
source /opt/ros/humble/setup.bash
|
source /opt/ros/humble/setup.bash
|
||||||
pytest src/xr_rm_teleop/test/test_joint_control.py -k primary_button -v
|
python3 -m pytest src/xr_rm_teleop/test/test_joint_control.py -k primary_button -v
|
||||||
```
|
```
|
||||||
|
|
||||||
Expected: PASS。
|
Expected: PASS。
|
||||||
@@ -456,7 +456,7 @@ git commit -m "config: 更新左右臂初始位姿"
|
|||||||
```bash
|
```bash
|
||||||
cd /home/robot/WS_xr
|
cd /home/robot/WS_xr
|
||||||
source /opt/ros/humble/setup.bash
|
source /opt/ros/humble/setup.bash
|
||||||
pytest src/xr_rm_teleop/test/test_initial_joint_pose.py \
|
python3 -m pytest src/xr_rm_teleop/test/test_initial_joint_pose.py \
|
||||||
src/xr_rm_teleop/test/test_joint_control.py \
|
src/xr_rm_teleop/test/test_joint_control.py \
|
||||||
src/xr_rm_teleop/test/test_orientation_control.py
|
src/xr_rm_teleop/test/test_orientation_control.py
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -65,8 +65,8 @@
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
source /opt/ros/humble/setup.bash
|
source /opt/ros/humble/setup.bash
|
||||||
pytest src/xr_rm_teleop/test/test_initial_joint_pose.py
|
python3 -m pytest src/xr_rm_teleop/test/test_initial_joint_pose.py
|
||||||
pytest src/xr_rm_teleop/test/test_orientation_control.py
|
python3 -m pytest src/xr_rm_teleop/test/test_orientation_control.py
|
||||||
colcon build --symlink-install
|
colcon build --symlink-install
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user