forked from tormach/hal_ros_control
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hal_hw_interface: Find HAL component directory from
LD_LIBRARY_PATH
The RT HAL comp is installed in the `CMAKE_LIBRARY_OUTPUT_DIRECTORY`, and that path was templated into the launch file at build time, to be passed on through `hal_mgr` and into the .hal files. @machinekoder discovered that using `configure_file()` to template the launch file back into the source directory caused trouble in `industrial-ci`, for obvious reasons. He had the good idea to find the install directory at run time by searching `LD_LIBRARY_PATH`, which is set in `setup.bash`. This patch undoes the previous system and does the search directly inside `hal_mgr`.
- Loading branch information
Showing
6 changed files
with
13 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
autosave.halscope | ||
/hal_hw_interface/launch/hal_hw_interface.launch | ||
/simple_hardware_interfaces/doc/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters