Ask Your Question

How to execute ros2 daemon in foreground?

asked 2021-03-05 12:46:16 -0500

rubicks gravatar image


ros2 daemon start

forks a process to the background. How do I force it to execute in the foreground?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2021-03-05 14:41:24 -0500

rubicks gravatar image

Here's something that seems to work:

# /usr/bin/python3 /opt/ros/foxy/bin/_ros2_daemon --rmw-implementation rmw_fastrtps_cpp --ros-domain-id 0
Interface kind: 2, info: [('', 'eth0', True)]
Addresses by interfaces: {2: {'eth0': ''}}
Serving XML-RPC on localhost:11511/ros2cli/
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2021-03-05 12:46:16 -0500

Seen: 108 times

Last updated: Mar 05