Closed AchmadFathoni closed 1 year ago
This works without issues for me on osx-arm64 ..
Note that ros-noetic-rosbash needs to be installed, but that seems to be the case in your environment (and I am assuming you have tried opening a new terminal, as well as see if it happens without sourcing your catkin setup.bash?)
Note that ros-noetic-rosbash needs to be installed, but that seems to be the case in your environment (and I am assuming you have tried opening a new terminal, as well as see if it happens without sourcing your catkin setup.bash?)
Still doesn't work in new terminal without sourcing setup.bash. Both in zsh and bash.
But it does work after sourcing?!?
But it does work after sourcing?!?
No, it still doesn't work. I've tried in my ubuntu and it works. Arch Linux is so peculiar.
It works in Ubuntu with RoboStack?
It works in Ubuntu with RoboStack?
Yes
And you have tried pacman -S bash-completion
?
And you have tried
pacman -S bash-completion
?
Already installed. I think it's not about missing package. Since the first package name completion is working but the second node name completion is not.
Not sure if it is relevant, but we also have a bash-completion package in conda-forge as well.
Yeah, might be worth mamba install bash-completion
. Could you please also provide the output of echo $ROS_PACKAGE_PATH
and echo $ROS_ROOT
, as well as of rospack profile
?
Yeah, might be worth
mamba install bash-completion
. Could you please also provide the output ofecho $ROS_PACKAGE_PATH
andecho $ROS_ROOT
, as well as ofrospack profile
?
Sure
List of packages in environment: "/home/toni/.mamba/envs/ros_env"
Name Version Build Channel
─────────────────────────────────────────────────────
bash-completion 2.11 ha770c72_1 conda-forge
❯ echo $ROS_PACKAGE_PATH
/home/toni/.mamba/envs/ros_env/share
❯ echo $ROS_ROOT
/home/toni/.mamba/envs/ros_env/share/ros
❯ rospack profile
Full tree crawl took 0.314788 seconds.
Directories marked with (*) contain no manifest. You may
want to delete these directories.
To get just of list of directories without manifests,
re-run the profile with --zombie-only
-------------------------------------------------------------
0.308692 /home/toni/.mamba/envs/ros_env/share
0.082386 * /home/toni/.mamba/envs/ros_env/share/qt
0.081231 * /home/toni/.mamba/envs/ros_env/share/qt/3rd_party_licenses
0.066833 * /home/toni/.mamba/envs/ros_env/share/qt/3rd_party_licenses/qtwebengine
0.066171 * /home/toni/.mamba/envs/ros_env/share/qt/3rd_party_licenses/qtwebengine/src
0.066136 * /home/toni/.mamba/envs/ros_env/share/qt/3rd_party_licenses/qtwebengine/src/3rdparty
0.065949 * /home/toni/.mamba/envs/ros_env/share/qt/3rd_party_licenses/qtwebengine/src/3rdparty/chromium
0.062755 * /home/toni/.mamba/envs/ros_env/share/qt/3rd_party_licenses/qtwebengine/src/3rdparty/chromium/third_party
0.043518 * /home/toni/.mamba/envs/ros_env/share/qt/3rd_party_licenses/qtwebengine/src/3rdparty/chromium/third_party/devtools-frontend
0.043479 * /home/toni/.mamba/envs/ros_env/share/qt/3rd_party_licenses/qtwebengine/src/3rdparty/chromium/third_party/devtools-frontend/src
0.039678 * /home/toni/.mamba/envs/ros_env/share/qt/3rd_party_licenses/qtwebengine/src/3rdparty/chromium/third_party/devtools-frontend/src/node_modules
0.039598 * /home/toni/.mamba/envs/ros_env/share/terminfo
0.034822 * /home/toni/.mamba/envs/ros_env/share/icons
0.034544 * /home/toni/.mamba/envs/ros_env/share/icons/Adwaita
0.020097 * /home/toni/.mamba/envs/ros_env/share/cmake-3.25
0.019345 * /home/toni/.mamba/envs/ros_env/share/locale
0.015581 * /home/toni/.mamba/envs/ros_env/share/doc
0.014081 * /home/toni/.mamba/envs/ros_env/share/man
0.012096 * /home/toni/.mamba/envs/ros_env/share/cmake-3.25/Help
0.009886 * /home/toni/.mamba/envs/ros_env/share/doc/gettext
I struggled with this the other day, and installing + setting up https://github.com/conda-incubator/conda-zsh-completion solved it for me. Please give it a go - if it doesn't work, feel free to reopen.
Solution to issue cannot be found in the documentation.
Issue
After activating the ros_env and source setup.zsh, auto-complete can't show node from a package. For example:
rosrun rqt_gra
in teminalrosrun rqt_graph
Installed packages
Environment info