Skip to content

(Experimental) Update message properties via Hostapi#868

Draft
Robadob wants to merge 4 commits intomasterfrom
hostapi_message
Draft

(Experimental) Update message properties via Hostapi#868
Robadob wants to merge 4 commits intomasterfrom
hostapi_message

Conversation

@Robadob
Copy link
Copy Markdown
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

Robadob added 2 commits June 12, 2022 17:14
… 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.

2 participants