Skip to content

Commit

Permalink
updated instructions for avoiding ros msg import error
Browse files Browse the repository at this point in the history
  • Loading branch information
Herpderk committed Aug 20, 2023
1 parent 2d1fe73 commit 94156c1
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,11 +136,17 @@
git clone [email protected]: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
Expand Down

0 comments on commit 94156c1

Please sign in to comment.