Comments (5)
Seems to be an issue with gzclient
, maybenot related to rmf?
# gzclient
Aborted (core dumped)
RMF has not been made available on docker environments yet, however you can have a look at some efforts being done here:
https://github.com/osrf/rmf-web/tree/main/packages/dashboard/docker
It might also be helpful to run the debian packaged binaries instead of the source for consistency. Instructions on how to use them can be found in the intro of the ros2 multi-robot book:
https://osrf.github.io/ros2multirobotbook/intro.html#install-and-run-rmf-demos
from rmf_demos.
Thanks for having a look!
As mentioned in the issue description the issue also happens when using the deb packages. Other demos based on docker and gz client work fine it may be due to some RMF plugins or models?
from rmf_demos.
I tested it with some tweaks on the docker file:
Dockerfile used
FROM ros:foxy
RUN apt-get update \
&& apt-get install -y \
cmake \
curl \
git \
python3-colcon-common-extensions \
python3-requests \
python3-shapely \
python3-vcstool \
python3-yaml \
qt5-default \
wget \
npm \
python3-pip \
&& pip3 install Flask flask-socketio flask-cors \
&& rm -rf /var/lib/apt/lists/*
# setup keys
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys D2486D2DD83DB69272AFE98867170598AF249743
# setup sources.list
RUN . /etc/os-release \
&& echo "deb http://packages.osrfoundation.org/gazebo/$ID-stable `lsb_release -sc` main" > /etc/apt/sources.list.d/gazebo-latest.list
RUN mkdir $HOME/rmf_demos_ws
WORKDIR $HOME/rmf_demos_ws
RUN mkdir src
RUN rosdep update --rosdistro $ROS_DISTRO
RUN wget https://raw.githubusercontent.com/osrf/rmf_demos/master/rmf_demos.repos \
&& vcs import src < rmf_demos.repos \
&& apt-get update \
&& apt-get upgrade -y \
&& rosdep install --from-paths src --ignore-src --rosdistro $ROS_DISTRO -y \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get update \
&& apt-get install -y ignition-dome \
&& rm -rf /var/lib/apt/lists/*
# compile rmf_demo_panel gui
RUN npm install --prefix src/rmf/rmf_demos/rmf_demo_panel/rmf_demo_panel/static/ \
&& npm run build --prefix src/rmf/rmf_demos/rmf_demo_panel/rmf_demo_panel/static/
# colcon compilation
RUN . /opt/ros/$ROS_DISTRO/setup.sh \
&& colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release \
&& rm -rf build devel src \
&& sed -i '$isource "/rmf_demos_ws/install/setup.bash"' /ros_entrypoint.sh
Then run with headless
docker run -it --network host rmf:test ros2 launch demos office.launch.xml headless:=true
<New terminal> firefox localhost:5000
Similarly, this works on rocker
from rmf_demos.
thanks for these updates @tanyouliang95 ! I'll give this a try in the coming days and let you know
from rmf_demos.
No update on this issue. Closing this as rmf_demos
repo is migrated to https://github.com/open-rmf/rmf_demos
from rmf_demos.
Related Issues (20)
- Improve visualization of the maps HOT 1
- Specify enclaves for ros nodes started by plugins on gzclient HOT 1
- rmf_demos installation - colcon build error (stderr: test_maps...) HOT 2
- Handshake timed out on SROS 2 HOT 2
- Robot gets stuck on task if dispenser is set incorrectly HOT 4
- package that spawns tinyrobot HOT 15
- gzclient crashes when launching airport_temrinal or clinic worlds
- Unable to connect to RMF Panel HOT 15
- How to publish robot's current floor name in the level name field of its RobotState? HOT 6
- Loop request fails for a certain waypoint HOT 7
- Error while running office_traffic_light_test.launch.xml HOT 3
- Is it required to customized your own RViz? HOT 2
- How to send loop request via RMF Panel in RViz HOT 4
- Feature request: Add a dispatch_loop script to rmf_demo_tasks HOT 1
- npm building process in rmf_pannel needs improvement
- rmf_demos installation - colcon build error (stderr: rmf_schedule_visualizer ) HOT 3
- Cleaning Task in airport_terminal and clinic demos not working HOT 2
- RMF Panel report an error HOT 4
- Could not checkout ref 'master': fatal: invalid reference: master HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmf_demos.