ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Tap key cannot find my package [closed]

asked 2019-02-20 11:11:31 -0500

zhaozhongChen gravatar image

updated 2019-02-20 11:26:53 -0500

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

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by zhaozhongChen
close date 2019-02-20 14:46:59.909120

Comments

Do you mean the tab key?

jayess gravatar image jayess  ( 2019-02-20 11:14:24 -0500 )edit

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 gravatar image zhaozhongChen  ( 2019-02-20 11:22:01 -0500 )edit

@zhaozhongChen is this a duplicate question? What's the other question?

jayess gravatar image jayess  ( 2019-02-20 19:32:53 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-02-20 14:46:35 -0500

zhaozhongChen gravatar image

I solve this problem. I try roscd my_package to see if it can find my package and it indeed finds it. Then I don't know why after I try roslaunch data_regi again and use tab key to help I get roslaunch data_registration. everything is fine now... It is still wired....

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2019-02-20 11:11:31 -0500

Seen: 311 times

Last updated: Feb 20 '19