DRS tooling developed for the DigiForest project
Authors: Benoit Casseau, Matias Mattamala, Nived Chebrolu, Maurice Fallon
digiforest_analysis
: Python modules to extract tree datadigiforest_analysis_ros
: ROS wrappersdigiforest_slam_logger
: Tool to export a state estimate solution in the SLAM format
Use a virtual environment (env
in the example), isolated from the system dependencies:
python3 -m venv env
source env/bin/activate
Install the dependencies:
pip install -r requirements.txt
Install the automatic formatting pre-commit hooks (black and flake8), which will check the code before each commit:
pre-commit install
Install digiforest_analysis
:
cd ~/git/digiforest_drs/digiforest_analysis
pip install -e .
To run the offline pipeline:
cd ~/git/digiforest_drs/digiforest_analysis
python scripts/offline_pipeline.py <input_pcd_file> --out <output_directory>
This will export a series of PCD files:
ground_cloud.pcd
forest_cloud.pcd
tree_<ID>.pcd
...