-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
241 additions
and
12 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
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
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,64 @@ | ||
<?xml version="1.0" ?> | ||
<sdf version="1.7"> | ||
<world name="default"> | ||
|
||
<include> | ||
<uri>model://sun</uri> | ||
</include> | ||
|
||
<light name='user_point_light_0' type='point'> | ||
<pose frame=''>0.197302 -0.215077 1 0 -0 0</pose> | ||
<diffuse>0.5 0.5 0.5 1</diffuse> | ||
<specular>0.1 0.1 0.1 1</specular> | ||
<attenuation> | ||
<range>20</range> | ||
<constant>0.5</constant> | ||
<linear>0.01</linear> | ||
<quadratic>0.001</quadratic> | ||
</attenuation> | ||
<cast_shadows>0</cast_shadows> | ||
<direction>0 0 -1</direction> | ||
</light> | ||
|
||
<state world_name='default'> | ||
|
||
<light name='sun'> | ||
<pose frame=''>0 0 10 0 -0 3.14</pose> | ||
</light> | ||
|
||
<light name='user_point_light_0'> | ||
<pose frame=''>0.197302 -0.215077 1 0 -0 0</pose> | ||
</light> | ||
</state> | ||
|
||
<include> | ||
<uri>model://ground_plane</uri> | ||
</include> | ||
|
||
<include> | ||
<uri>model://table</uri> | ||
<pose>-0.530772 0 0 0 0 -1.57</pose> | ||
</include> | ||
|
||
<include> | ||
<uri>model://pudding_box</uri> | ||
<pose>-0.35 -0.1 0.5 0 0 -1.57</pose> | ||
</include> | ||
|
||
<model name="iCub"> | ||
<include> | ||
<uri>model://iCubGazeboV2_5_visuomanip</uri> | ||
<pose>0.0 0.0 0.63 0.0 0.0 0.0</pose> | ||
</include> | ||
</model> | ||
|
||
<gui fullscreen='0'> | ||
<camera name='user_camera'> | ||
<pose frame=''>-1.73754 2.13332 1.77051 0 0.463643 -1.0638</pose> | ||
<view_controller>orbit</view_controller> | ||
<projection_type>perspective</projection_type> | ||
</camera> | ||
</gui> | ||
|
||
</world> | ||
</sdf> |
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
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,130 @@ | ||
<application> | ||
<name>iCub Grasp</name> | ||
|
||
<dependencies> | ||
</dependencies> | ||
|
||
<module> | ||
<name>gzserver</name> | ||
<parameters>-e dart icub-gazebo-grasping-sandbox-test.sdf</parameters> | ||
<node>localhost</node> | ||
</module> | ||
|
||
<module> | ||
<name>gzclient</name> | ||
<node>localhost</node> | ||
</module> | ||
|
||
<module> | ||
<name>yarprobotinterface</name> | ||
<parameters>--context gazeboCartesianControl --config no_legs.xml</parameters> | ||
<dependencies> | ||
<port timeout="20">/icubSim/torso/state:o</port> | ||
<port timeout="20">/icubSim/left_arm/state:o</port> | ||
<port timeout="20">/icubSim/right_arm/state:o</port> | ||
</dependencies> | ||
<ensure> | ||
<wait when="stop">5</wait> | ||
</ensure> | ||
<node>localhost</node> | ||
</module> | ||
|
||
<module> | ||
<name>iKinCartesianSolver</name> | ||
<parameters>--context gazeboCartesianControl --part right_arm</parameters> | ||
<dependencies> | ||
<port timeout="20">/icubSim/torso/state:o</port> | ||
<port timeout="20">/icubSim/right_arm/state:o</port> | ||
</dependencies> | ||
<node>localhost</node> | ||
</module> | ||
|
||
<module> | ||
<name>iKinCartesianSolver</name> | ||
<parameters>--context gazeboCartesianControl --part left_arm</parameters> | ||
<dependencies> | ||
<port timeout="20">/icubSim/torso/state:o</port> | ||
<port timeout="20">/icubSim/left_arm/state:o</port> | ||
</dependencies> | ||
<node>localhost</node> | ||
</module> | ||
|
||
<module> | ||
<name>iKinGazeCtrl</name> | ||
<parameters>--context gazeboCartesianControl --from iKinGazeCtrl.ini</parameters> | ||
<dependencies> | ||
<port timeout="20">/icubSim/torso/state:o</port> | ||
<port timeout="20">/icubSim/head/state:o</port> | ||
</dependencies> | ||
<ensure> | ||
<wait when="stop">5</wait> | ||
</ensure> | ||
<node>localhost</node> | ||
</module> | ||
|
||
<module> | ||
<name>yarpview</name> | ||
<parameters>--name /view/left --compact --p 10 --x 20 --y 20</parameters> | ||
<dependencies> | ||
<port timeout="20">/icub-grasp/rpc</port> | ||
</dependencies> | ||
<node>localhost</node> | ||
</module> | ||
|
||
<module> | ||
<name>find-superquadric</name> | ||
<parameters>--remove-outliers "(0.01 10)" --random-sample 0.2 --disable-viewer</parameters> | ||
<dependencies> | ||
<port timeout="20">/icub-grasp/rpc</port> | ||
</dependencies> | ||
<node>localhost</node> | ||
</module> | ||
|
||
<module> | ||
<name>icub-gazebo-grasping-sandbox</name> | ||
<parameters></parameters> | ||
<dependencies> | ||
<port timeout="20">/iKinGazeCtrl/rpc</port> | ||
<port timeout="20">/icubSim/cartesianController/right_arm/state:o</port> | ||
<port timeout="20">/icubSim/cartesianController/left_arm/state:o</port> | ||
</dependencies> | ||
<node>localhost</node> | ||
</module> | ||
|
||
<connection> | ||
<from>/icub-grasp/mustard_bottle/mover:o</from> | ||
<to>/mustard_bottle/model-mover/delta-pose:i</to> | ||
<protocol>tcp</protocol> | ||
</connection> | ||
|
||
<connection> | ||
<from>/icub-grasp/pudding_box/mover:o</from> | ||
<to>/pudding_box/model-mover/delta-pose:i</to> | ||
<protocol>tcp</protocol> | ||
</connection> | ||
|
||
<connection> | ||
<from>/icubSim/cam/left/rgbImage:o</from> | ||
<to>/view/left</to> | ||
<protocol>fast_tcp</protocol> | ||
</connection> | ||
|
||
<connection> | ||
<from>/icubSim/cam/left/rgbImage:o</from> | ||
<to>/icub-grasp/rgb:i</to> | ||
<protocol>fast_tcp</protocol> | ||
</connection> | ||
|
||
<connection> | ||
<from>/icubSim/cam/left/depthImage:o</from> | ||
<to>/icub-grasp/depth:i</to> | ||
<protocol>fast_tcp</protocol> | ||
</connection> | ||
|
||
<connection> | ||
<from>/icub-grasp/sq:rpc</from> | ||
<to>/find-superquadric/points:rpc</to> | ||
<protocol>tcp</protocol> | ||
</connection> | ||
|
||
</application> |
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
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
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
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