-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into update_smach_to_mail_tsukamoto
- Loading branch information
Showing
15 changed files
with
711 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,6 +49,35 @@ | |
``` | ||
|
||
|
||
## Running single Panda | ||
### Boot robot | ||
1. Please turn on the controller box and unlock joints by accessing desk. | ||
### Via roseus | ||
1. Start controller on controller PC: | ||
```bash | ||
ssh [email protected] # Or ssh [email protected] | ||
roslaunch jsk_panda_startup panda.launch robot_ip:=<IP OF TARGET ROBOT> | ||
``` | ||
|
||
2. Controlling single Panda via roseus: | ||
1. Setting up network: | ||
```bash | ||
rossetmaster dual-panda1.jsk.imi.i.u-tokyo.ac.jp # Or rossetmaster dual-panda2.jsk.imi.i.u-tokyo.ac.jp | ||
rossetip | ||
``` | ||
2. Execute following script in roseus: | ||
```lisp | ||
(load "package://panda_eus/euslisp/panda-interface.l") | ||
(panda-init) | ||
(send *robot* :angle-vector (send *robot* :reset-pose)) | ||
(when (send *ri* :check-error) | ||
(send *ri* :recover-error)) | ||
(send *ri* :angle-vector (send *robot* :angle-vector) 3000) | ||
``` | ||
- Notice | ||
- `(send *ri* :recover-error)` is required every time when you press and release the black switch (`activated` -> `monitored stop` -> `activated`). | ||
|
||
|
||
## Running Dual-Panda | ||
### Boot robot | ||
1. Please turn on the controller box and unlock joints by accessing desk. | ||
|
@@ -76,7 +105,9 @@ | |
(send *ri* :recover-error)) | ||
(send *ri* :angle-vector (send *robot* :angle-vector) 3000) | ||
``` | ||
`(send *ri* :recover-error)` is required every time when you press and release the black switch (`activated` -> `monitored stop` -> `activated`). | ||
- Notice | ||
- `(send *ri* :recover-error)` is required every time when you press and release the black switch (`activated` -> `monitored stop` -> `activated`). | ||
- `dual_panda`'s `reset-pose` and `reset-manip-pose` are different from single `panda`'s ones for historical reasons. | ||
#### Record/play rosbag | ||
```bash | ||
roslaunch jsk_panda_startup dual_panda1_record.launch # Or roslaunch jsk_panda_startup dual_panda2_record.launch | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<launch> | ||
<arg name="robot_ip" default="192.168.0.2"/> | ||
<arg name="robot" default="panda" /> | ||
<arg name="arm_id" default="$(arg robot)" /> | ||
<arg name="load_gripper" default="true" /> | ||
<arg name="xacro_args" default="" /> | ||
|
||
<include file="$(find franka_control)/launch/franka_control.launch"> | ||
<arg name="robot_ip" value="$(arg robot_ip)" /> | ||
<arg name="robot" value="$(arg robot)" /> | ||
<arg name="arm_id" value="$(arg arm_id)" /> | ||
<arg name="load_gripper" value="$(arg load_gripper)" /> | ||
<arg name="xacro_args" value="$(arg xacro_args)" /> | ||
</include> | ||
|
||
<node name="position_joint_trajectory_controller_spawner" pkg="controller_manager" type="spawner" respawn="false" output="screen" args="position_joint_trajectory_controller" /> | ||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<launch> | ||
<arg name="robot_ip" default="192.168.0.2"/> | ||
<arg name="robot" default="panda" /> | ||
<arg name="arm_id" default="$(arg robot)" /> | ||
<arg name="load_gripper" default="true" /> | ||
<arg name="xacro_args" default="" /> | ||
|
||
<include file="$(find jsk_panda_startup)/launch/franka.launch"> | ||
<arg name="robot_ip" value="$(arg robot_ip)" /> | ||
<arg name="robot" value="$(arg robot)" /> | ||
<arg name="arm_id" value="$(arg arm_id)" /> | ||
<arg name="load_gripper" value="$(arg load_gripper)" /> | ||
<arg name="xacro_args" value="$(arg xacro_args)" /> | ||
</include> | ||
</launch> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
models/dual_panda.l | ||
models/dual_panda.urdf | ||
models/panda.l | ||
models/panda.urdf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.