Open flyingdoraemon opened 6 months ago
I try to run “/opt/ros/humble/share/webots_ros2_driver/scripts/webots-controller --robot-name=my_robot --protocol=tcp --ip-address=10.255.255.254 --port=1234 ros2 --ros-args -p robot_description:=/home/mol/ws/my_package/install/my_package/share/my_package/resource/my_robot.urdf”, and change "--ip-address=10.255.255.254". It works.
Describe the Bug After follow the tutorial in Installation (Windows) and try the Setting up a robot simulation (Basic), after executing
ros2 launch my_package robot_launch.py
, the problem is up above.Steps to Reproduce
Screenshots
System
$ ros2 pkg xml webots_ros2 | grep version
:<version>2023.1.1</version>
Additional context The previous problem is here, and the question in this comment is the same, in #759 .
As is mentioned in #879 , if I set
[experimental] dnsTunneling=true
in.wslconfig
, the error isIf I set
.wslconfig
tothe error is mentioned above.
If I set
networkingMode=mirrored
, the output is just waiting for connection, after I Ctrl+C, the output is(wondering why the ip-address is 8.8.8.8)
The method in this comment helped me checked there are no port 1234 in use and there are no firewall issues. And the test:
telnet 172.24.128.1 1234
while webots is running is ok.The output of running demo packages is the same, like
ros2 launch webots_ros2_universal_robot multirobot_launch.py
, except that it will endlessly try to reconnect.I tried to search for methods but failed, please help and thanks a lot!!!