Skip to content

To wipe and rebuild ROS package files after a change #3

@connorjak

Description

@connorjak
# Remove build/install/log for one package
rm -rf build/<package_name> install/<package_name> log/latest_build

# Then rebuild that package only
colcon build --packages-select <package_name> --event-handlers console_cohesion+

So for example, for space_teams_definitions:

rm -rf build/space_teams_definitions install/space_teams_definitions log/latest_build
colcon build --packages-select space_teams_definitions --event-handlers console_cohesion+

And for space_teams_python:

rm -rf build/space_teams_python install/space_teams_python log/latest_build
colcon build --packages-select space_teams_python --event-handlers console_cohesion+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Docs.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions