- CUDA 11.8
- Clone and install FoundationPose: https://github.com/NVlabs/FoundationPose.
- Download the pretrained weights.
- Go to
estimater.py, at line 24 right beforeos.makedirs(debug_dir, exist_ok=True), addif debug > 0:.
To add a mesh for a new object, create a folder under assets with the folder name as the object name. In the object folder, include the .obj mesh file (and a .mtl material file, if there is one) and a color.txt. The color.txt contains one line of RGB color values, e.g. 0 255 255.
.
+- FoundationPose
+- assets
| +- obj_name
| | +- *.obj
| | +- color.txt
│ +- ...
+- pose_tracker_server..py
+- pose_tracker.py
+- README.md
# Change TCP port and assets folder in the script.
python pose_tracker_server.py
Go to "bundlesdf/mycuda/setup.py" and change the path at line 35 include_dirs to "/path/to/conda/include/eigen3".