Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial addition of Blackfly #19

Merged
merged 2 commits into from
Oct 3, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from clearpath_config.sensors.types.sensor import BaseSensor
from clearpath_config.sensors.types.lidars_2d import BaseLidar2D, HokuyoUST, SickLMS1XX
from clearpath_config.sensors.types.lidars_3d import BaseLidar3D, VelodyneLidar
from clearpath_config.sensors.types.cameras import BaseCamera, IntelRealsense
from clearpath_config.sensors.types.cameras import BaseCamera, FlirBlackfly, IntelRealsense
from clearpath_config.sensors.types.imu import BaseIMU, Microstrain, CHRoboticsUM6, RedshiftUM7
from clearpath_config.sensors.types.gps import (BaseGPS, SwiftNavDuro, Garmin18x, NovatelSmart6,
NovatelSmart7)
Expand Down Expand Up @@ -205,6 +205,14 @@ def __init__(self,
self.get_gz_bridge_remap('image', sensor.name + '/color/image'),
]

class FlirBlackflyLaunch(CameraLaunch):
def __init__(self,
sensor: FlirBlackfly,
namespace: str,
launch_path: str,
param_path: str) -> None:
super().__init__(sensor, namespace, launch_path, param_path)

class IntelRealsenseLaunch(CameraLaunch):
def __init__(self,
sensor: IntelRealsense,
Expand Down Expand Up @@ -256,6 +264,7 @@ def __init__(self,
MODEL = {
HokuyoUST.SENSOR_MODEL: Lidar2dLaunch,
SickLMS1XX.SENSOR_MODEL: Lidar2dLaunch,
FlirBlackfly.SENSOR_MODEL: FlirBlackflyLaunch,
IntelRealsense.SENSOR_MODEL: IntelRealsenseLaunch,
CHRoboticsUM6.SENSOR_MODEL: ImuLaunch,
Microstrain.SENSOR_MODEL: ImuLaunch,
Expand Down