Skip to content

Commit

Permalink
Demo fixes (#16)
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 authored Sep 27, 2024
1 parent 5e39cbb commit 8e1439a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 30 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,14 +64,19 @@ docker run --network host -it --rm \
ghcr.io/gazebosim/ionic_demo_rmf_dashboard:main
```

Start the API server docker image, make sure to note the `ROS_DOMAIN_ID` and `RMW_IMPLEMENTATION`. This starts the API server on `localhost:8000`.
Start the API server docker image, make sure to note the
[`ROS_DOMAIN_ID`](https://docs.ros.org/en/rolling/Concepts/Intermediate/About-Domain-ID.html) and
[`RMW_IMPLEMENTATION`](https://docs.ros.org/en/rolling/How-To-Guides/Working-with-multiple-RMW-implementations.html)
environment variables. This starts the API server on `localhost:8000`.
Example values: `ROS_DOMAIN_ID=1` and `RMW_IMPLEMENTATION=rmw_fastrtps_cpp`

```
docker run --network host -it --rm \
-e ROS_DOMAIN_ID=<ROS_DOMAIN_ID> \
-e RMW_IMPLEMENTATION=<RMW_IMPLEMENTATION> \
ghcr.io/open-rmf/rmf-web/api-server:rolling
```

The dashboard will be accessible at `localhost:3000` by default.

Spawn the world and arm,
Expand Down
2 changes: 1 addition & 1 deletion ionic_demo/launch/tb4_spawn_launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def generate_launch_description():
PythonLaunchDescriptionSource(str(launch_dir / 'rviz_launch.py')),
launch_arguments={
'use_sim_time': 'True',
'rviz_config': str(ionic_demo_dir / 'rviz' / 'nav2_default_view.rviz'),
'rviz_config': str(ionic_demo_dir / 'configs' / 'nav2.rviz'),
'namespace': namespace,
'use_namespace': use_namespace,
}.items(),
Expand Down
28 changes: 0 additions & 28 deletions ionic_demo/worlds/ionic.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -379,34 +379,6 @@
<cast_shadows>false</cast_shadows>
</light>

<light type="point" name="point_column_01">
<pose>0 1.75 1.75 0 0 0</pose>
<diffuse>1 1 1 1</diffuse>
<specular>1 1 1 1</specular>
<intensity>1</intensity>
<attenuation>
<range>20</range>
<linear>0.2</linear>
<constant>0.8</constant>
<quadratic>0.5</quadratic>
</attenuation>
<cast_shadows>false</cast_shadows>
</light>

<light type="point" name="point_column_02">
<pose>7.4 3.4 1.71 0 0 0</pose>
<diffuse>1 1 1 1</diffuse>
<specular>1 1 1 1</specular>
<intensity>1</intensity>
<attenuation>
<range>20</range>
<linear>0.2</linear>
<constant>0.8</constant>
<quadratic>0.5</quadratic>
</attenuation>
<cast_shadows>false</cast_shadows>
</light>

<include>
<name>Interior</name>
<uri>interior</uri>
Expand Down

0 comments on commit 8e1439a

Please sign in to comment.