clearpath_config.sensors.types.ptu module
- class clearpath_config.sensors.types.ptu.BasePTU(idx: int = None, name: str = None, topic: str = 'state', urdf_enabled: bool = True, launch_enabled: bool = True, ros_parameters: dict = {}, ros_parameters_template: dict = {}, parent: str = 'default_mount', xyz: List[float] = [0.0, 0.0, 0.0], rpy: List[float] = [0.0, 0.0, 0.0])
Bases:
BaseSensor- SENSOR_MODEL = 'base'
- SENSOR_TYPE = 'ptu'
- TOPIC = 'state'
- class clearpath_config.sensors.types.ptu.FlirPTU(idx: int = None, name: str = None, topic: str = 'state', ptu_model: str = 'd46', connection_type: str = 'tcp', tty_port: str = '/dev/ptu', tcp_port: int = 4000, ip: str = '192.168.131.70', limits_enabled: bool = False, urdf_enabled: bool = True, launch_enabled: bool = True, ros_parameters: dict = {}, ros_parameters_template: dict = {}, parent: str = 'default_mount', xyz: List[float] = [0.0, 0.0, 0.0], rpy: List[float] = [0.0, 0.0, 0.0])
Bases:
BasePTU- CONNECTION_TYPE = 'tcp'
- CONNECTION_TYPES = ['tty', 'tcp']
- D46 = 'd46'
- IP_ADDRESS = '192.168.131.70'
- JOINT_NAME_PREFIX = 'ptu_'
- LIMITS_ENABLED = False
- MAX_PORT = 65535
- MIN_PORT = 1024
- MODEL = 'd46'
- MODELS = ['d46', 'ptu5']
- PTU5 = 'ptu5'
- class ROS_PARAMETER_KEYS
Bases:
object- CONNECTION_TYPE = 'ptu_driver.connection_type'
- IP_ADDRESS = 'ptu_driver.ip_addr'
- JOINT_NAME_PREFIX = 'ptu_driver.joint_name_prefix'
- LIMITS_ENABLED = 'ptu_driver.limits_enabled'
- TCP_PORT = 'ptu_driver.tcp_port'
- TTY_PORT = 'ptu_driver.port'
- SENSOR_MODEL = 'flir_ptu'
- TCP = 'tcp'
- TCP_PORT = 4000
- TTY = 'tty'
- TTY_PORT = '/dev/ptu'
- property connection_type: str
- from_dict(d: dict) None
- classmethod get_joint_name_prefix_from_idx(idx: int) str
- property ip: str
- property joint_name_prefix: str
- property limits_enabled: bool
- property ptu_model: str
- set_idx(idx: int) None
- property tcp_port: int
- to_dict() dict
- property tty_port: str