I want to create a variable that can be indexed/sliced using a string and contains different kinds of values. So for example:
solution_params = {‘high’:{‘speed’:10,
‘size’:2,
‘loc’:(0,0,1)},
‘mid’:{‘speed’:5,
‘size’:2,
‘loc’:(0,0,0)}}
and so on…
I’ve tried to do it with a function library and structs but I don’t really know how I can create them in the way I need them and how to pass them on to other actors.
So how can I create a struct like that and pass on an entry (in this case, all the data in solution_params[‘high’]) to a different actor?