From 94156c1ac578ca06e956d55dd6e88ca3064b7d6f Mon Sep 17 00:00:00 2001 From: Derek Fan Date: Sun, 20 Aug 2023 04:16:40 -0700 Subject: [PATCH] updated instructions for avoiding ros msg import error --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ec71bac6..cc2d7d91 100644 --- a/README.md +++ b/README.md @@ -136,11 +136,17 @@ git clone git@github.com:Herpderk/uavf_msgs.git cd .. source /opt/ros/foxy/setup.bash - colcon build + ``` + Everytime you make a change to your workspace, rebuild with this command: + ``` + colcon build --merge-install + ``` + If you compile with only "colcon build", you will get import errors with your ROS message types. + -3. Run this command everytime you've compiled the workspace: +3. Run this command after everytime you've built the workspace: ``` - source install/local_setup.bash + source install/setup.bash ``` 4. Test it out with an example