Skip to content

Commit 88da55d

Browse files
committed
Updated readme with instructions for installation from deb files.
1 parent cb32fdc commit 88da55d

File tree

1 file changed

+37
-2
lines changed

1 file changed

+37
-2
lines changed

README.md

+37-2
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,43 @@ The dynamic_robot_localization node publishes in latched topics (if required, as
213213
The main tests performed using the dynamic_robot_localization package are available in [dynamic_robot_localization_tests](https://github.com/carlosmccosta/dynamic_robot_localization_tests).
214214

215215

216-
## Installation and package dependencies
217216

218-
After [installing and setting up ROS](http://wiki.ros.org/ROS/Installation), the installation scripts in the [install folder](install/) can be used to setup this package.
217+
## Installation
218+
219+
After [installing and setting up ROS](http://wiki.ros.org/ROS/Installation), the installation of this package can be done from pre-compiled debian files or from source.
220+
221+
In the future, I will release drl into the ROS build farm, making it easier to install (using apt).
222+
223+
224+
### Installation from debian files
225+
226+
drl and its dependencies are available in pre-compiled debian files available in the releases tab of the associated github repositories.
227+
228+
For installing from the debian files:
229+
* Run the [a_dependencies.bash](install/a_dependencies.bash) script to install the drl dependencies that are available from official pre-compiled debian files
230+
* Download the debian files associated with drl and its dependencies that were developed and compiled by me:
231+
* [my fork of pcl](https://github.com/carlosmccosta/pcl/releases)
232+
* [laserscan_to_pointcloud](https://github.com/carlosmccosta/laserscan_to_pointcloud/releases)
233+
* [pose_to_tf_publisher](https://github.com/carlosmccosta/pose_to_tf_publisher/releases)
234+
* [dynamic_robot_localization](https://github.com/carlosmccosta/dynamic_robot_localization/releases)
235+
* Then, install each deb, in the order specified above, by running:
236+
```
237+
sudo dpkg -i absolute_path_to_deb_file.deb
238+
```
239+
* For confirming that the installation finished correctly, run:
240+
```
241+
source /opt/ros/$(rosversion -d)/setup.bash
242+
rospack profile
243+
rospack find package_name_from_list_above
244+
```
245+
* Then, you can run the launch files available in each package
246+
247+
If your OS or ROS distribution does not yet have pre-compiled debian files of drl, you can follow [this tutorial](https://github.com/carlosmccosta/ros_development_tools/blob/master/catkin/create_deb_files_for_ros_packages.md) for generating then once, and then you can quickly and easily install drl and its dependencies in other machines (with the same OS and ROS distribution).
248+
249+
250+
### Installation from source
251+
252+
If you want the latest developments, you need to compile drl (and its dependencies) from source using the installation scripts in the [install folder](install/).
219253

220254
The [install.bash](install/install.bash) has 5 parameters:
221255
* catkin_ws_path=${1:-"$HOME/catkin_ws_drl"}
@@ -255,6 +289,7 @@ On the other hand, [wstool](http://wiki.ros.org/wstool) can be used since the [c
255289
- [perception_pcl](https://github.com/ros-perception/perception_pcl)
256290

257291

292+
258293
## List of related git repositories:
259294

260295
* [dynamic_robot_localization_tests](https://github.com/carlosmccosta/dynamic_robot_localization_tests)

0 commit comments

Comments
 (0)