vulp  2.3.0
vulp.spine.spine_interface Namespace Reference

Classes

class  SpineInterface
 Interface to interact with a spine from a Python agent. More...
 

Functions

SharedMemory wait_for_shared_memory (str shm_name, int retries)
 Connect to the spine shared memory. More...
 

Function Documentation

◆ wait_for_shared_memory()

SharedMemory vulp.spine.spine_interface.wait_for_shared_memory ( str  shm_name,
int  retries 
)

Connect to the spine shared memory.

Parameters
shm_nameName of the shared memory object.
retriesNumber of times to try opening the shared-memory file. @raise SpineError If the spine did not respond after the prescribed number of trials.

Definition at line 24 of file spine_interface.py.