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

Revision history [back]

click to hide/show revision 1
initial version

Hi I know it's been quite a while, any update on this?

I'm following this tutorial on LGSVL documentation https://www.svlsimulator.com/docs/tutorials/create-ros2-ad-stack/ However after running colcon build --symlink-install and sourcing the file I'm still unable to find my package installed.

Basically, I followed the steps of creating the directory structure, setup.py and package.xml, and then ran colcon build to build the package. After that I sourced both local_setup.bash and local_setup.bash in install directory. Still not able to find it when using rospack list-names | grep lane_following or using rosrun lane_following drive.

autoware@meng:/home/autoware/shared_dir/autoware-data/ros2_ws$ colcon build --symlink-install
Starting >>> lane_following
Finished <<< lane_following [0.48s]          

Summary: 1 package finished [0.56s]
autoware@meng:/home/autoware/shared_dir/autoware-data/ros2_ws$ source install/local_setup.bash;source install/setup.bash 
autoware@meng:/home/autoware/shared_dir/autoware-data/ros2_ws$ rospack list-names | grep lane_following
autoware@meng:/home/autoware/shared_dir/autoware-data/ros2_ws$ rosrun lane_following drive
[rospack] Error: package 'lane_following' not found

Anyone knows how to do it correctly? Please help! Thanks in advance!