How to create and build a package in autoware ai docker? [closed]

asked 2021-05-05 04:21:00 -0500

meng100 gravatar image

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
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by meng100
close date 2021-06-24 04:08:42.523140

Comments

Autoware AI is for ROS1

Do you mean AutowareAuto?

turtleMaster20 gravatar image turtleMaster20  ( 2021-05-06 02:21:14 -0500 )edit