How to create and build a package in autoware ai docker? [closed]
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
.
Anyone knows how to do it correctly? Please help! Thanks in advance!
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
Autoware AI is for ROS1
Do you mean AutowareAuto?