Skip to main content

Library for representing 3D scene graphs

Project description

ubuntu-latest: Build and Test ROS Noetic: Build and Test python: Build and Test

Spark-DSG

This is the core c++ library that contains the dynamic scene graph data-structure used by Hydra. It also has python bindings.

Change Notes

  • 4/22/24: Python bindings and unit tests are built by default. You will need to install relevant dependencies (via sudo apt install python3-dev or rosdep) or disable the bindings and tests via cmake options.
  • 3/16/24: Updated dependencies to use system libraries for nlohmann_json. You will need to install it either via sudo apt install nlohmann-json3-dev or use rosdep to update dependencies.

Acknowledgements and Disclaimer

Acknowledgements: This work was partially funded by the AIA CRA FA8750-19-2-1000, ARL DCIST CRA W911NF-17-2-0181, and ONR RAIDER N00014-18-1-2828.

Disclaimer: Research was sponsored by the United States Air Force Research Laboratory and the United States Air Force Artificial Intelligence Accelerator and was accomplished under Cooperative Agreement Number FA8750-19-2-1000. The views and conclusions contained in this document are those of the authors and should not be interpreted as representing the official policies, either expressed or implied, of the United States Air Force or the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprints for Government purposes notwithstanding any copyright notation herein.

Building for Python

  1. Install requirements and make a virtual environment:
sudo apt install python3-venv libzmqpp-dev nlohmann-json3-dev
mkdir /path/to/environment
cd /path/to/environment
python3 -m venv dsg  # or some other environment name

# you may also want to upgrade pip, though it shouldn't be necessary
# source dsg/bin/activate
# pip install --upgrade pip
  1. Install the python package
source /path/to/dsg/environment/bin/activate
git clone git@github.com:MIT-SPARK/Spark-DSG.git
pip install ./Spark-DSG

Python Bindings Usage

See this notebook for some examples for the bindings (you'll want to clone the repo, even if you installed from github). You'll want to install jupyter and jupytext if you want to run it as a notebook, though you can also just run it directly as a python script.

Python API documentation

Generating the python documentation should be as simple as:

source /path/to/dsg/environment/bin/activate
cd doc
pip install sphinx  # if you haven't already
make html
python -m http.server  # to serve them locally

Building For ROS

This repository is a valid catkin package and should build if placed in a workspace.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spark_dsg-1.1.1.tar.gz (384.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

spark_dsg-1.1.1-cp313-cp313-win_amd64.whl (438.8 kB view details)

Uploaded CPython 3.13Windows x86-64

spark_dsg-1.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (772.4 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64

spark_dsg-1.1.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (697.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ ARM64

spark_dsg-1.1.1-cp313-cp313-macosx_11_0_arm64.whl (543.5 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

spark_dsg-1.1.1-cp312-cp312-win_amd64.whl (438.9 kB view details)

Uploaded CPython 3.12Windows x86-64

spark_dsg-1.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (771.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

spark_dsg-1.1.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (697.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ ARM64

spark_dsg-1.1.1-cp312-cp312-macosx_11_0_arm64.whl (543.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

spark_dsg-1.1.1-cp311-cp311-win_amd64.whl (436.6 kB view details)

Uploaded CPython 3.11Windows x86-64

spark_dsg-1.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (771.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

spark_dsg-1.1.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (697.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ ARM64

spark_dsg-1.1.1-cp311-cp311-macosx_11_0_arm64.whl (539.5 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

spark_dsg-1.1.1-cp310-cp310-win_amd64.whl (434.9 kB view details)

Uploaded CPython 3.10Windows x86-64

spark_dsg-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (770.9 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

spark_dsg-1.1.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (696.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ ARM64

spark_dsg-1.1.1-cp310-cp310-macosx_11_0_arm64.whl (538.0 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

spark_dsg-1.1.1-cp39-cp39-win_amd64.whl (435.0 kB view details)

Uploaded CPython 3.9Windows x86-64

spark_dsg-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (771.3 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

spark_dsg-1.1.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (696.9 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ ARM64

spark_dsg-1.1.1-cp39-cp39-macosx_11_0_arm64.whl (538.1 kB view details)

Uploaded CPython 3.9macOS 11.0+ ARM64

spark_dsg-1.1.1-cp38-cp38-win_amd64.whl (434.9 kB view details)

Uploaded CPython 3.8Windows x86-64

spark_dsg-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (771.2 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

spark_dsg-1.1.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (696.0 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ ARM64

spark_dsg-1.1.1-cp38-cp38-macosx_11_0_arm64.whl (537.8 kB view details)

Uploaded CPython 3.8macOS 11.0+ ARM64

File details

Details for the file spark_dsg-1.1.1.tar.gz.

File metadata

  • Download URL: spark_dsg-1.1.1.tar.gz
  • Upload date:
  • Size: 384.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for spark_dsg-1.1.1.tar.gz
Algorithm Hash digest
SHA256 3a14352f48f889dfc015e3043c6735de84d12b8506cfb285014a974a5a36e418
MD5 3a7ef3d50bf863688fe6bd7ca93efc14
BLAKE2b-256 37105a39d061c109cb0ffc78c5c9278cc91c2f88f46f1f2066381e9761f66736

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: spark_dsg-1.1.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 438.8 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for spark_dsg-1.1.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 286ba21a66542fdb538c1101b1a6858acf34e49cbf3735956e716e8718815bcc
MD5 87d74b93dccb5dc5a0fd88017f682676
BLAKE2b-256 04e4779fae398dd6e34ed90e651426251787fd14883f7c930ce9afe495b83c5c

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 16ca9e5b62b25044a731a7f52cf6b131e62363f723e339017bcae1878953b8ac
MD5 80377341b637368abcd004afa0293fd3
BLAKE2b-256 966b25ef5e4acdea820160350c5b8f0941740a8745a98b09118d68887d29f869

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a9109e5eb21c31a584a214bf9774bfa8468246a63d9c4a8cd34d5cdc47501035
MD5 c46fb19131242ff47b2338be8814eb0e
BLAKE2b-256 e3f22ee05311fdda1044911d56cac5a7bd159f41a10d257eb51f10a24345dca2

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9c4e6ec70efc0e845e484a8bc37795d52ca43abe39c26c728cdd9a02e574f915
MD5 327110ff2252c9336f59413af3c430df
BLAKE2b-256 23ecccdfb56ff0bc35050ce0dcfe8d52da3acb9281e55d229eb91d0f32bc39bb

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: spark_dsg-1.1.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 438.9 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for spark_dsg-1.1.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ec7e577e4cbfd38f15baf8e6008d715e21f5122046e6e7a20c57fed5aa6322d0
MD5 ca53da464c19cc5fbb4cfd4881b51997
BLAKE2b-256 b438cff1f216a07e659d9cb25abac8786a27e31cdfde074183a8f418e3fa9dd7

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 cd8f935c328203f1d6c79615168f374f8f1c7b627d03052ce616ebc8e768fdac
MD5 1fce5d80f5350a3d286008a0cdd31e32
BLAKE2b-256 0366e75bb0b02415c067db0ab35a6efedbe32b9780b55ebedb594c2d9821d38a

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fdac4d4394417380da03723237ca37a592362e4bb309298beaf74e43498aa2ab
MD5 935260626af0e179c352ec22ecb929c3
BLAKE2b-256 a12146bba157c523d6d22f657679bad970fb9f07bcbccb395d27a3a042862731

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 10754773e18d67f81859ef5d330ec549129d624c164edf7e32756fab76d06775
MD5 cdc6823fa6ffa295f6fd29d16bd78af9
BLAKE2b-256 53d786eaff2f73b6569e61c6b9983ef4098b7ceabe5f514afb72f9814382b8dd

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: spark_dsg-1.1.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 436.6 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for spark_dsg-1.1.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3660ba9da3eb0710defc3699e73333f25deb311a167b863d5d3f6cd237177ed3
MD5 56545c6614b4efbb26a99d647899606a
BLAKE2b-256 0330bf8d6a822628dcf41c618f20ce114d4213f002bcacb31d3133ec58abc640

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e0bd579def9f5f0352864d87f91581fe866110e72f515529170efe22f6a05f46
MD5 8581aef1680e4fc36a37f15c5770d6bc
BLAKE2b-256 675812b0ac735f9468e5a1829d92d70617c35c3502f0a9eca3da9575486b796e

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 fededdf569de510465e82e2de633918e38da59bebf86a36425f58fe8d27ce10a
MD5 2d7ea5803da8c5b21646a3932e38b3a6
BLAKE2b-256 b37f0e172b26edd82915975a114a9fa6150c3a8a761e154837d8d6b79fcb549d

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5cfb9b4b36a3a5ecc7718174733b6b577cfced1a79055bb9883c4e945670c346
MD5 72c7e0ab04848c7a8a3910430cf4b1de
BLAKE2b-256 f94e78ea432a4b6b299ced911e9ccf943c0563f22c9a0a72724a3b9bf6a8268a

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: spark_dsg-1.1.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 434.9 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for spark_dsg-1.1.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b594b7ebd2f3c1827f336968c30db931ec97e9f93fec0618e87f7da152b6c37f
MD5 969b79c21f13902a18eac37a16449f22
BLAKE2b-256 b8e6c616d2d6befc5f28680b8b38defc161ea9e5772d8918bdcdd503b0e3551d

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 78bc51224b5d66cf24faddeef6497e2d0441e4713594ce1e3bfad8c975976ab3
MD5 de1b46577ba4d707388437e8a3c7fb55
BLAKE2b-256 943e6bf3f9967efee70a284c5b37ea962db14da1a34efb2cf89ece718970e1bf

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a96c2ba90d3732d73719752de9d2f84d0b9ba005829b5cf9a27ab9c62a4fbda6
MD5 60e838be720d7b2de6a871939c8466a4
BLAKE2b-256 060328c550e65439fb08820165e1122722d00b5a036bcd24de6425f27d4a6647

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d0ec01faf050c4823b9b3b862aa730778c641e83385365c3b0e55bb039277bba
MD5 cfc3c6167de87992a207b2ea1d684c84
BLAKE2b-256 c6b12e195627de8d1ade2dca573057dce6b41b95c87731c417007f170650c4cb

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: spark_dsg-1.1.1-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 435.0 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for spark_dsg-1.1.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f32bd8ca2711d8ce99d69d9ffd0014de2ec69422f06465f1f64fecd78b8fe0d9
MD5 2210b61d8da7469f794b04bb6f0c261c
BLAKE2b-256 d4c169800208a60190fa18e22802027025dec3c94e9d5ce4c6390d197787eab5

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6ce2984e5582669e0edb55dc6925ef85911ce0b57b93164e832a95225d49997a
MD5 6683fdce1c0b570bc87091317b905e10
BLAKE2b-256 6b2a816e215f25eeeca9eb2f08519ff7580c87d49a098e63e0612fbb9bff9e55

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8f2e006770b99c415dc6e0a23bfa6a11a35ca7f5ecee643d269fc6ca5e8ead43
MD5 73cee85955404a8a4462db3c4c8232c8
BLAKE2b-256 f206d453cf7cda44fa0c7d2af11d16253ae9000d08d78f6f0e9b99a1fbafb60d

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 53b5fbe760673c19ccf4f83640d56aa3ac63d7d6106d75d060315ed4b7fe74a1
MD5 822b485a3f758b66a5a92bfdcb0a52b0
BLAKE2b-256 bf8c7a8a5fdfe1d2f50aa31342435f5b9f6b4d86b6e89fe0a401675b64019ad3

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: spark_dsg-1.1.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 434.9 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for spark_dsg-1.1.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 553905186e3fa9ae83a05c7579f06c27ce2e4d7752bebe406619b07d6d88f0e2
MD5 52305e251e3db84136852e180113a8b4
BLAKE2b-256 28eeaf4697b8b5f1fe214610af06e9ef2ed6ce54f28357b7c53afa5be3dfc1d2

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4eeee3d1936e345ad5bfc35974e951348fc871be7ee0993d41f7fb0ad074e4a4
MD5 0b7475cb606936392bd0c64df2f3dc9c
BLAKE2b-256 0ed51319bac89f4e81559a44f062eb22787716475653535048314039bd09ff0c

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e56211984f4e523e3f64c7c692a4645e45027f97734314937215d1c257bb9853
MD5 2c0a241b460ade92a8643ef8ac4ee8e4
BLAKE2b-256 3677d808966f3eddcf5fa77bad95a34562203d3c60dbf1be8f06aab81852c01f

See more details on using hashes here.

File details

Details for the file spark_dsg-1.1.1-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spark_dsg-1.1.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6f83b16b7577fc4ae6cb066436ef4c41c159d324734fbe61a13cb8af88b877f7
MD5 2ff51890391c460b3057394f767c863c
BLAKE2b-256 aeb344b4a9a52954f87c17f515262eb2c59039bcf314688a45ac2344042d6f81

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page