Hi, I started today the ROS2 BASICS for C++ in 5 days and nothing seems to work correctly:
for the example 1.1 I get the following messages:
user:~$ source ~/.bashrc_bridge
ROS_DISTRO was set to ‘melodic’ before. Please make sure that the environment does not mix paths from different distributions.
ROS_DISTRO was set to ‘dashing’ before. Please make sure that the environment does not mix paths from different distributions.
ROS_DISTRO was set to ‘melodic’ before. Please make sure that the environment does not mix paths from different distributions.
ROS_DISTRO was set to ‘dashing’ before. Please make sure that the environment does not mix paths from different distributions.
user:~$ export ROS_MASTER_URI=http://localhost:11311
user:~$ ros2 run ros1_bridge dynamic_bridge
[ERROR] [1578479794.989658031]: [registerPublisher] Failed to contact master at [localhost:11311]. Retrying…
Please can you tell me what is the problem ?
Thanks in advance for your answer.