Skip to content

Draw agents as rotated rectangles#79

Merged
SamanKazemkhani merged 1 commit into
mainfrom
sk/visualize-agents
Apr 15, 2024
Merged

Draw agents as rotated rectangles#79
SamanKazemkhani merged 1 commit into
mainfrom
sk/visualize-agents

Conversation

@SamanKazemkhani

@SamanKazemkhani SamanKazemkhani commented Apr 12, 2024

Copy link
Copy Markdown
Collaborator

This draws a rotated cube for each valid agent. By only drawing valid agents (as determined by valid_state_tensor()), padding agents and expert-stepped agents in an invalid state (ie. a step whose positions is at (-10,000,-10,000) are elided.

@SamanKazemkhani SamanKazemkhani marked this pull request as draft April 12, 2024 18:30
@SamanKazemkhani SamanKazemkhani force-pushed the sk/visualize-agents branch 2 times, most recently from 43f45b4 to 4c3bd91 Compare April 15, 2024 21:01
@SamanKazemkhani SamanKazemkhani marked this pull request as ready for review April 15, 2024 21:02
@SamanKazemkhani SamanKazemkhani changed the title Local rendering Draw agents as rotated rectangles Apr 15, 2024

@eugenevinitsky eugenevinitsky left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So good, just the best

@SamanKazemkhani SamanKazemkhani merged commit cb24f33 into main Apr 15, 2024
aaravpandya pushed a commit that referenced this pull request Apr 15, 2024
aaravpandya pushed a commit that referenced this pull request Apr 17, 2024
@SamanKazemkhani SamanKazemkhani deleted the sk/visualize-agents branch April 25, 2024 17:46
aaravpandya added a commit that referenced this pull request May 4, 2024
* Update mgr.cpp

* Fix viewer

* Fix padding agent values on reset

* Render padding agents too

* Export valid state

* Fix mean calculations (#84)

* Local rendering (#79)

* Add scale to road observations (#83)

* Fix scale road issue

* save progress

* Looking good

* Add json for viewer

* Remove M_PI sub

* Reintroduce means

* Remove floor plane

---------

Co-authored-by: SamanKazemkhani <skazemkhani@gmail.com>
wangbingke0 pushed a commit to wangbingke0/gpudrive that referenced this pull request Feb 13, 2026
wangbingke0 pushed a commit to wangbingke0/gpudrive that referenced this pull request Feb 13, 2026
* Update mgr.cpp

* Fix viewer

* Fix padding agent values on reset

* Render padding agents too

* Export valid state

* Fix mean calculations (Emerge-Lab#84)

* Local rendering (Emerge-Lab#79)

* Add scale to road observations (Emerge-Lab#83)

* Fix scale road issue

* save progress

* Looking good

* Add json for viewer

* Remove M_PI sub

* Reintroduce means

* Remove floor plane

---------

Co-authored-by: SamanKazemkhani <skazemkhani@gmail.com>
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.

2 participants