Skip to content

Commit

Permalink
[jsk_fetch_startup] Support fetch gazebo in noetic
Browse files Browse the repository at this point in the history
  • Loading branch information
mqcmd196 committed May 2, 2024
1 parent 25dd087 commit 34fdcc5
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
20 changes: 19 additions & 1 deletion jsk_fetch_robot/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,19 @@ or
Gazebo can be used for simulating robot's movements.
It is unable to communicate to the real robot when running the simulation.

#### Create the environment

``` bash
cd catkin_ws/src
vcs import < jsk-ros-pkg/jsk_robot/jsk_fetch_robot/jsk_fetch_gazebo.noetic.repos
rosdep install -y -r --from-paths . --ignore-src
cd ../
catkin build
source devel/setup.bash
```

#### How to run

```bash
roslaunch fetch_gazebo simulation.launch
roslaunch fetch_moveit_config move_group.launch
Expand All @@ -106,6 +119,11 @@ Roseus script can be executed on Gazebo. The whole demo is in `jsk_fetch_gazebo_
roslaunch jsk_fetch_gazebo_demo demo.launch
```

If you want to spawn 73B2 model
```bash
roslaunch jsk_fetch_startup fetch_gazebo_73b2.launch
```

## Fetcheus APIs

### Common
Expand Down Expand Up @@ -357,7 +375,7 @@ c.f.
furushchev@fetch15:/var/log/ros$ ls -lFahd
drwxrwsr-x 381 ros ros 36K Nov 2 01:45 ./
furushchev@pr2:/var/log/ros$ ls -lFahd
drwxr-xr-x 6 ros ros 36K 11月 1 15:25 ./
drwxr-xr-x 6 ros ros 36K 11 月 1 15:25 ./
```

- change script for auto `undocking` to disable auto rotatation after unplugged
Expand Down
9 changes: 9 additions & 0 deletions jsk_fetch_robot/jsk_fetch_gazebo.noetic.repos
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
repositories:
ZebraDevs/fetch_gazebo:
type: git
url: [email protected]:ZebraDevs/fetch_gazebo
version: gazebo11
GT-RAIL/robot_pose_publisher:
type: git
url: [email protected]:GT-RAIL/robot_pose_publisher
version: develop
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<arg name="INITIAL_POSE_Y" default="0.0" />
<arg name="INITIAL_POSE_Z" default="0.0" />
<arg name="INITIAL_POSE_YAW" default="0.0" />
<arg name="launch_move_base" default="false" />

<include file="$(find jsk_fetch_startup)/launch/fetch_gazebo_bringup.launch">
<arg name="world" value="$(find eusurdf)/worlds/room73b2.world" />
Expand All @@ -11,6 +12,7 @@
<arg name="INITIAL_POSE_Y" value="$(arg INITIAL_POSE_Y)" />
<arg name="INITIAL_POSE_Z" value="$(arg INITIAL_POSE_Z)" />
<arg name="INITIAL_POSE_YAW" value="$(arg INITIAL_POSE_YAW)" />
<arg name="launch_move_base" default="$(arg launch_move_base)" />
</include>

<node name="initial_pose_publisher" output="screen"
Expand Down

0 comments on commit 34fdcc5

Please sign in to comment.