Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/fix binding demo pipeline #25

Open
wants to merge 13 commits into
base: develop
Choose a base branch
from

Conversation

LimHyungTae
Copy link
Member

I checked bindings_demo.py does not work now.

So I'd like to do this PR to address that issue.

nathanhhughes and others added 13 commits July 24, 2024 19:30
* forward declare DynamicSceneGraph where possible

* rework NodeSymbol and hide eigen in new file

* forward declare node attributes and some bounding boxes

* forward declare mesh for bounding box

* forward declare edge attributes and remove graph utilities from layer

* split bindings into separate files

* push edges towards derived layers

* (wip) move traits and status

* split layer prefix from types

* minor cleanup of node

* simplify eraseVertices

* drop getPosition and eigen dep

* drop node symbol include

* remove typedef from

* add missing bindings and fix compilation

* add binary serialization for python layers

* fix pytorch tests

* remove commented code

---------

Co-authored-by: Nathan Hughes <na26933@mit.edu>
* try adding python workflow

* add test deps

* install torch cpu only

* fix url typo

* add python badge

---------

Co-authored-by: Nathan Hughes <na26933@mit.edu>
* switch feature vector to single precision

* bump version
* add room colormap and cleanup ironbow

* add conversion to hsv and hls

* move colormaps to be functions

* move colormaps to new file

* add 150 class map and divergent map

* clean up discrete colormaps

* better sort colormaps

* improve divergent docstring

---------

Co-authored-by: Nathan Hughes <na26933@mit.edu>
* add khronos object bindings

* make complex types readonly for safety for now
* correctly parse flat meshes from old versions

* Update src/node_attributes.cpp

Co-authored-by: Lukas Schmid <36043993+Schmluk@users.noreply.github.com>

---------

Co-authored-by: Nathan Hughes <na26933@mit.edu>
Co-authored-by: Lukas Schmid <36043993+Schmluk@users.noreply.github.com>
* add mesh append function

* expand mesh python bindings

* add default args for transform
* recombine bindings and use system pybind11

* fix binding ordering for default args

* revert back to fetch content and reformat cmake

* revert changes for avoiding newer pybind features

* conditionally enable zmq implementation

* clean up dependencies and other changes

* switch to submodule

* enable verbose build

* add more status

* revert debugging and use recursive clone

* install git before checking out code
* add graph metadata object

* skip networkx tests if not available

* add python metadata interface

* add node and edge metadata

* use nodesymbol as primary arg type and add implicit conversion

* add node and edge metadata bindings
@nathanhhughes nathanhhughes force-pushed the develop branch 2 times, most recently from 0a8b0f2 to 0a8b29b Compare December 12, 2024 22:06
@nathanhhughes
Copy link
Collaborator

The issue that you're having is that you're visualizing a scene graph with 2D places ('P' is the prefix for 2D places, 'p' is the prefix for 3D places). I'm not opposed to the fix, but I'd rather solve it by providing defaults for unknown prefixes (i.e., by doing something like MARKER_SIZES.get(prefix, 6) (or whatever the actual offending dictionary was called).

I'll add an actual review once this gets rebased on develop (sorry, had a backlog of issues / PRs to work through and needed to update the history for develop)

Closes #24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants