Ask Your Question
0

How to execute ros2 daemon in foreground?

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

rubicks gravatar image

Invoking

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
0

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: [('172.17.0.1', 'eth0', True)]
Addresses by interfaces: {2: {'eth0': '172.17.0.2'}}
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

3 followers

Stats

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

Seen: 108 times

Last updated: Mar 05