Skip to content

Commit

Permalink
feat(nebula_launch): add Aeva sensors to the generic launch file
Browse files Browse the repository at this point in the history
Signed-off-by: Max SCHMELLER <[email protected]>
  • Loading branch information
mojomex committed Nov 18, 2024
1 parent 3a7898a commit dfb1a02
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nebula_ros/launch/nebula_launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,14 @@
]
SENSOR_MODELS_ROBOSENSE = ["Bpearl", "Helios"]
SENSOR_MODELS_CONTINENTAL = ["ARS548", "SRR520"]
SENSOR_MODELS_AEVA = ["Aeries2"]

SENSOR_MODELS = (
SENSOR_MODELS_VELODYNE
+ SENSOR_MODELS_HESAI
+ SENSOR_MODELS_ROBOSENSE
+ SENSOR_MODELS_CONTINENTAL
+ SENSOR_MODELS_AEVA
)


Expand All @@ -58,6 +60,8 @@ def launch_setup(context: launch.LaunchContext, *args, **kwargs):
vendor_launch_file = "robosense_launch_all_hw.xml"
elif sensor_model in SENSOR_MODELS_CONTINENTAL:
vendor_launch_file = "continental_launch_all_hw.xml"
elif sensor_model in SENSOR_MODELS_AEVA:
vendor_launch_file = "aeva_launch_all_hw.xml"
else:
raise KeyError(f"Sensor model {sensor_model} does not have an associated launch file")

Expand Down

0 comments on commit dfb1a02

Please sign in to comment.