windows tab completion

asked 2020-04-23 10:49:51 -0500

bwolfe gravatar image

updated 2020-04-23 13:57:30 -0500

gvdhoorn gravatar image

After installing melodic on windows, I've found that it pretty much works like it does on linux, with the exception of tab completion. On linux, a roscd h<tab> will list all the packages ros knows about to help narrow down your choices, or completely fill it in if there's only one match. On Windows, the <tab> just steps through an alphabetical list of matching entries in the current directory, being totally ignorant of the ros package space.

Is this expected behavior for the Windows environment or have I flubbed my ROS setup?

edit retag flag offensive close merge delete

Comments

Same here. Most things work(Win10 + VS2019). But tab completion is missing.

kingsimba0511 gravatar image kingsimba0511  ( 2021-04-05 07:35:00 -0500 )edit

I think with WSL(windows subsystem of Linux), we don't need to ROS for windows anymore.

I'm currently using ROS in WSL2. Everything works great! Even better than native Linux. VSCode can debug Linux ROS program like a charm. RVIZ runs like native app. "Windows Terminal" is a plus when well configured(Shift+Alt+D can split window)

Tips:

  1. When using XLaunch, select multi-window. This create seamless experience when using RVIZ, Gazebo, etc.
  2. In XLaunch, disable native OpenGL. This will force Linux to use mesa software implemented OpenGL. It's fast enough for RVIZ.
  3. Make sure to create C:\Users\YOURNAME\.wslconfig to limit the memory usage (https://github.com/microsoft/WSL/issu...)
kingsimba0511 gravatar image kingsimba0511  ( 2021-04-12 07:34:36 -0500 )edit

Same here Win11 + VSCode + wsl2 with gui support. Tab completion works with noetic, but not with ros2 foxy.

whitim gravatar image whitim  ( 2021-08-22 20:56:18 -0500 )edit