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

(Experimental) Update message properties via Hostapi #868

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Robadob
Copy link
Member

@Robadob Robadob commented Jun 12, 2022

Experimental branch testing something @AshurstJ thought was already possible.

Only adds Spatial3D support currently. It appears to work, but not had any thorough testing.

Easier than expected (in this case of spatial messages and bucket?), as CUDAMessage already has the rebuild PBM flag method.

Not really a fan of the repetition of all the Msg::Description methods on the Msg::HostAPI object though. Can't simply provide desc, as this would expose the variable methods and wouldn't trigger the flags which need to be set on change. Some kind of shared class?/multi inheritance?

Video demo with circles: https://youtu.be/GZV1l5d9FEw
(Not actually necessary here tbh, if I made the radius smaller than bigger old PBM would work, just be inefficient. But you can see the model speed up when radius drops so seems to be working as expected.)

CI failing because I called the nested class HostAPI, needs a more distinct name I guess.

Relates #710

… HostAPI.

This would need expanding to other message types, not personally happy with all the setter repetition from Description class, so may need thought to rework.
@Robadob Robadob changed the title (Experimental) Hostapi message (Experimental) Update message properties via Hostapi Jun 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant