Skip to content

Instantly share code, notes, and snippets.

@antipole2
Created January 5, 2024 17:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antipole2/e30561728b7a9c75e157c8485ac1adc1 to your computer and use it in GitHub Desktop.
Save antipole2/e30561728b7a9c75e157c8485ac1adc1 to your computer and use it in GitHub Desktop.
Get details of OCPN active handles
handles = OCPNgetActiveDriverHandles()
for (h = 0; h < handles.length; h++){
attributes = OCPNgetDriverAttributes(handles[h]);
print(handles[h], "\t", attributes, "\n");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment