This package includes a custom rosdep.yaml file to manage Python dependencies that may not be available in the official rosdistro yet.
# Navigate to the over_vps package directory
cd /path/to/your_workspace/src/over_vps
# Add the local rosdep source
sudo sh -c "echo 'yaml file://$(pwd)/rosdep.yaml' > /etc/ros/rosdep/sources.list.d/50-over-vps.list"
# Update rosdep database
rosdep update
# Install all dependencies
cd /path/to/your_workspace
rosdep install --from-paths src --ignore-src -r -yIf you prefer to install Python dependencies manually:
pip3 install -r requirements.txtMost dependencies are available via apt (except open3d):
sudo apt update
sudo apt install -y \
python3-requests \
python3-numpy \
python3-scipy \
python3-opencv \
python3-pil
# Open3D must be installed via pip
pip3 install open3d>=0.13.0# Check if all Python packages are available
python3 -c "import requests, numpy, scipy, cv2, PIL, open3d; print('All dependencies OK')"| Package | Purpose | Ubuntu Package | Pip Package |
|---|---|---|---|
| requests | HTTP API client | python3-requests |
requests>=2.25.0 |
| numpy | Numerical computing | python3-numpy |
numpy>=1.19.0 |
| scipy | Spatial transformations | python3-scipy |
scipy>=1.5.0 |
| opencv-python | Image processing | python3-opencv |
opencv-python>=4.5.0 |
| Pillow | Image I/O | python3-pil |
Pillow>=8.0.0 |
| open3d | Point cloud processing | N/A (pip only) | open3d>=0.13.0 |
This is expected. Open3D is not available in Ubuntu repositories and will be installed via pip automatically by rosdep.
Make sure to use sudo when adding the rosdep source file.
Try clearing the rosdep cache:
sudo rm -rf /etc/ros/rosdep/sources.list.d/20-default.list
sudo rosdep init
rosdep updateWhen submitting to rosdistro, these dependencies should be added to the official rosdep database. Until then, users can use this local rosdep.yaml file.