It seems that we cannot initialize all 4x3 (4 cap stations, 3 pucks each) pucks at the same time. Commands may be overwritten when they get too many commands at once. So I initialize the pucks in the OnUpdata function, which is called periodically, each time each cap station initializes a puck.
But it's not perfect, we always have to wait a few seconds to see the caps. I think the reason is that the pucks are generated immediately when the cap station is created, but it can be initialized with caps only after getting the puck model in the function on_new_puck . This will take some time.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
It seems that we cannot initialize all 4x3 (4 cap stations, 3 pucks each) pucks at the same time. Commands may be overwritten when they get too many commands at once. So I initialize the pucks in the
OnUpdata
function, which is called periodically, each time each cap station initializes a puck. But it's not perfect, we always have to wait a few seconds to see the caps. I think the reason is that the pucks are generated immediately when the cap station is created, but it can be initialized with caps only after getting the puck model in the functionon_new_puck
. This will take some time.