Namespaces | Functions | Variables
pyuavcan_v0.driver Namespace Reference

Namespaces

 common
 
 python_can
 
 slcan
 
 socketcan
 
 timestamp_estimator
 

Functions

def make_driver (device_name, **kwargs)
 

Variables

list __all__ = ['make_driver', 'DriverError', 'CANFrame']
 
 SocketCAN = None
 

Function Documentation

◆ make_driver()

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.

Variable Documentation

◆ __all__

list pyuavcan_v0.driver.__all__ = ['make_driver', 'DriverError', 'CANFrame']
private

Definition at line 21 of file pyuavcan/pyuavcan_v0/driver/__init__.py.

◆ SocketCAN

Definition at line 19 of file pyuavcan/pyuavcan_v0/driver/__init__.py.



uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:04