Drake
Drake C++ Documentation
lcm_py_bind_cpp_serializers.h File Reference

Detailed Description

LCM types in C++ and Python are implemented differently, and thus cannot simply be passed back and forth between the two languages.

The simplest method to communicate the structures is to expose the serialization of C++ Value<>s to Python, so that Python can serialize and deserialize between C++ and Python types.

For more usages in Python, see the following in _lcm_extra.py:

  • _make_lcm_subscriber / LcmSubscriberSystem.Make
  • _make_lcm_publisher / LcmPublisherSystem.Make

Namespaces

 drake
 
 drake::pydrake
 For more high-level information, see the Python Bindings technical notes.
 
 drake::pydrake::pysystems
 
 drake::pydrake::pysystems::pylcm
 

Functions

void BindCppSerializers ()