clearpath_config.sensors.types.sensor module
- class clearpath_config.sensors.types.sensor.BaseSensor(idx: int = None, name: str = None, topic: str = 'base', 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:
IndexedAccessory
- LAUNCH_ENABLED = True
- class ROSParameter(key: str, get: Callable, set: Callable)
Bases:
object
- ROS_PARAMETERS = {}
- ROS_PARAMETERS_TEMPLATE = {}
- SENSOR_MODEL = 'base'
- SENSOR_TYPE = 'generic'
- TOPIC = 'base'
- URDF_ENABLED = True
- static assert_is_ipv4_address(addr: str) None
- static assert_valid_rate(rate: float | int) None
- disable_launch() None
- disable_urdf() None
- enable_launch() None
- enable_urdf() None
- from_dict(d: dict) None
- get_launch_enabled() bool
- classmethod get_name_from_idx(idx: int) str
- get_ros_parameters() dict
- classmethod get_sensor_model() str
- classmethod get_sensor_type() str
- classmethod get_topic_from_idx(idx: int) str
- get_topic_name(topic: str, local=False) str
- get_topic_rate(topic: str) float | int
- get_topic_type(topic: str) str
- get_urdf_enabled() bool
- getter(prop: property)
- property ros_parameters: dict
- property ros_parameters_template: dict
- set_idx(idx: int) None
- set_launch_enabled(enabled: bool) None
- set_ros_parameters(d: dict) None
- set_topic(topic: str) None
- set_urdf_enabled(enabled: bool) None
- setter(prop: property)
- to_dict() dict