Namespaces | |
| common | |
| python_can | |
| slcan | |
| socketcan | |
| timestamp_estimator | |
Functions | |
| def | make_driver (device_name, kwargs) |
Variables | |
| list | __all__ = ['make_driver', 'DriverError', 'CANFrame'] |
| SocketCAN = None | |
| def pyuavcan_v0.driver.make_driver | ( | device_name, | |
| kwargs | |||
| ) |
Creates an instance of CAN driver. The right driver class will be selected automatically based on the device_name. :param device_name: This parameter is used to select driver class. E.g. "/dev/ttyACM0", "COM9", "can0". :param kwargs: Passed directly to the constructor.
Definition at line 24 of file pyuavcan/pyuavcan_v0/driver/__init__.py.
|
private |
Definition at line 21 of file pyuavcan/pyuavcan_v0/driver/__init__.py.
| pyuavcan_v0.driver.SocketCAN = None |
Definition at line 19 of file pyuavcan/pyuavcan_v0/driver/__init__.py.