Tap key cannot find my package [closed]
I have ubuntu 18, ROS melodic.
Normally if I press the tap
it works. For example, I have folder def
under abc
, if I type
cd abc/de
Then press tap key I can have
cd abc/def
I believe everyone knows this. Just to be clear that my tap key works generally.
But the tap key cannot find my package under the workspace I build. For example, I have a rospackage called data_registration
under my workspace arpg_catkin_ws
. There is a launch file called run_regi.launch
in the launch folder.
When I do
source ~/arpg_catkin_ws/devel/setup.bash
roslaunch data_regi
Then I press tap, nothing shows.
1: I only have two package in the workspace, the other one's name is totally different from this one.
2: I know if it is the first time I run the program I need complete the package name and launch file by myself. But I have run the launch file a dozen times.
3: The program works. If I finish typing roslaunch data_registration run_regi.launch
by myself. the program can run without any problem.
4: The tap
key can find the ROS build-in package. For example, if I type roslaunch d
and then press tap several times it will list a lot of packages.
depth_image_proc diagnostic_msgs
devel/ diagnostic_updater
diagnostic_aggregator diff_drive_controller
diagnostic_analysis dynamic_reconfigure
diagnostic_common_diagnostics
In short the tap
just cannot find the package build by myself. This is not deadly, after all, all my packages work fine. Just not convenient if the tap doesn't work. Hope someone can help me with this
Do you mean the tab key?
Yes. ROS works fine, tap key works fine generally but the tap key doesn't work when I want to find a pakcage in my workspace
@zhaozhongChen is this a duplicate question? What's the other question?