-
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.
* add single panda * update from latest franka_control.launch * add comments * remove unused config * remove gazebo descriptions * move code for panda.l and modify messages * change name * change to include franka_control.launch * change larm to rarm * panda.urdf.xacro is unnecessary * [panda_eus] Add panda.urdf and panda.l to .gitignore * [panda_eus] Extract common part of panda-interface.l and dual_panda-interface.l as panda-common-interface.l * [jsk_panda_robot] Add single panda to README * [jsk_panda_robot] Add notice about end-coords, reset-pose, and reset-manip-pose * [panda_eus] Improve error message from :set-joint-pd-gain * enable access to gripper-grasp-action * add missing bracket * Enable to get results of :stop-gripper/:homing-gripper/:start-grasp/:stop-grasp/:move-gripper from their return values * Enable to get results of :stop-gripper/:homing-gripper/:start-grasp/:stop-grasp/:move-gripper from separated methods * Consider compatibility with FR3 (Franka Research 3) * Remove unnecessary method * extract action from hash * Revert "extract action from hash" This reverts commit 0066eb7. * Make errors from :get-*-result readable when * is not called * Force to call all :wait-for-result and postprocess even if some of them fail * [panda_eus] Change dual_panda's end-coords to the same as single panda * [panda_eus] Move end-coords of single panda and dual_panda to the center of the fingers * [panda_eus] Make :gripper method work * [panda_eus] Make URDF follow euslisp model * [panda_eus] Enable to get gripper method result without waiting * [panda_eus] Enable to get status of gripper actions --------- Co-authored-by: Shun Hasegawa <[email protected]>
- Loading branch information
1 parent
748682e
commit a63b5e3
Showing
14 changed files
with
710 additions
and
270 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.