TEXT 9
Pocolibs.txt Guest on 6th April 2021 09:34:03 AM
  1. Pocolibs
  2. ========
  3.  
  4. Pocolibs middleware is mainly used with the robot architecture established at
  5. LAAS. It relies heavily on the ctypes library, and for some more complex
  6. poster, on 'hand-tuned C'.
  7.  
  8. For the moment, the Pocolibs middleware relies only on the concept of *posters*
  9. to export and import data. It requires the use of the ``h2`` program to
  10. manage the posters running in the computer.
  11.  
  12. Each of the posters has a very specific data structure that is used to store
  13. and transfer the information. For this reason, there is no generic methods for
  14. this middleware, and all of the methods are defined as extensions to the basic
  15. functionality of the middleware.
  16.  
  17. Files
  18. -----
  19.  
  20. - Python: ``$MORSE_ROOT/src/morse/modifiers/pocolibs_datastream.py``
  21.  
  22. .. _pocolibs_ds_configuration:
  23.  
  24. Configuration specificities
  25. ---------------------------
  26.  
  27. When configuring a component to export its data through pocolibs, you can pass
  28. the option ``poster`` to define the name of the poster exported by the
  29. component.
  30.  
  31.  
  32. .. code-block :: python
  33.  
  34.     foo.add_stream('pocolibs', poster = 'myFooPoster')

Paste-bin is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.