ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Ros packages always come with the source code. If you work on Ubuntu and install via apt-get you receive both source code and precompiled modules.
To install a patch, you have to:
As the ROS distro is usually installed in /opt/ros directory, you need to sudo all the above tasks.
Be aware, that whenever you upgrade your ROS distro with apt-get upgrade all your patches will be lost, as new version of precompiled modules will be installed.
To avoid that, the best practice is to work with overlay as described in what is overlay question.
2 | No.2 Revision |
The official way of applying custom patches is to work with overlays. Check what is overlay question as starting point.
For hackers knowing what they are doing (especially for non-Ubuntu users):
Ros packages always come with the source code. If you work on Ubuntu and install via apt-get you receive both source code and precompiled modules.
To install a patch, you have to:
As the ROS distro is usually installed in /opt/ros directory, you need to sudo all the above tasks.
Be aware, that whenever you upgrade your ROS distro with apt-get upgrade all your patches will be lost, as new version of precompiled modules will be installed.
To avoid that, the best practice is to work with overlay as described in what is overlay question.
3 | No.3 Revision |
The official way of applying custom patches is to work with overlays. Check what is overlay question as starting point.
For hackers knowing what they are doing (especially for non-Ubuntu users):
Ros packages always come with the source code. If Only if you work on Ubuntu and install via apt-get you receive both source code and precompiled modules.
To install a patch, you have to:
As the ROS distro is usually installed in /opt/ros directory, you need to sudo all the above tasks.
Be aware, that whenever you upgrade your ROS distro with apt-get upgrade all your patches will be lost, as new version of precompiled modules will be installed.
To avoid that, the best practice is to work with overlay as described at the beginning of the answer.