Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[humble]strange bug on windows11 #1489

Open
sdlizheng2015 opened this issue Sep 27, 2023 · 4 comments
Open

[humble]strange bug on windows11 #1489

sdlizheng2015 opened this issue Sep 27, 2023 · 4 comments
Assignees

Comments

@sdlizheng2015
Copy link

sdlizheng2015 commented Sep 27, 2023

Bug report

Hello, everyone, I am using ros2 humble on windows11. Today I write my code and compile and run them, all of them is normal. However, in the afternoon some bug happens.

I can not use "ros2 run" or "ros2 launch" to run my packages, including ros2 demo(demo_nodes_cpp, turtlesim and so on). It is very strange, because I can still use "ros2 create" and can compile my code.

When I use "ros2 run" or "ros2 launch", the cmd has nothing to print or display so that I can not get any information about error. It seems like the program is in stuck.

Besides, I also can not use rqt. I can open it, but if I want to publish topics, it will be stuck.

Looking forward to your reply,thanks!

屏幕截图 2023-09-27 160022

屏幕截图 2023-09-27 160004

Machine Info

  • Operating System: Windows 11
  • Installation type: binaries
  • Version or commit hash: humble
  • DDS implementation: Fast-RTPS
  • Client library (if applicable): rclcpp
@mjcarroll
Copy link
Member

I can not use "ros2 run" or "ros2 launch" to run my packages, including ros2 demo(demo_nodes_cpp, turtlesim and so on). It is very strange, because I can still use "ros2 create" and can compile my code.

Can you directly run the nodes in question? For example ./lib/demo_nodes_cpp/demo_nodes_cpp.exe

@sdlizheng2015
Copy link
Author

I can not use "ros2 run" or "ros2 launch" to run my packages, including ros2 demo(demo_nodes_cpp, turtlesim and so on). It is very strange, because I can still use "ros2 create" and can compile my code.

Can you directly run the nodes in question? For example ./lib/demo_nodes_cpp/demo_nodes_cpp.exe

Unlucky, can not run these nodes

@q2013
Copy link

q2013 commented Dec 4, 2023

You can try this method:
Deleting C:\ProgramData\eprosima\fastrtps_interprocess and rebooting.

@sdlizheng2015
Copy link
Author

You can try this method: Deleting C:\ProgramData\eprosima\fastrtps_interprocess and rebooting.

Thanks! I will try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants