diff --git a/clearpath_generator_common/clearpath_generator_common/description/generator.py b/clearpath_generator_common/clearpath_generator_common/description/generator.py index 37e46210..208bc59b 100644 --- a/clearpath_generator_common/clearpath_generator_common/description/generator.py +++ b/clearpath_generator_common/clearpath_generator_common/description/generator.py @@ -82,7 +82,7 @@ def generate(self) -> None: print(f'Generated {self.xacro_writer.file_path}robot.urdf.xacro') def generate_platform(self) -> None: - self.platform = self.clearpath_config.platform.get_model() + self.platform = self.clearpath_config.platform.get_platform_model() platform_description = PlatformDescription(self.platform) # Platform macro diff --git a/clearpath_generator_common/clearpath_generator_common/description/sensors.py b/clearpath_generator_common/clearpath_generator_common/description/sensors.py index e180dcc1..0fd47059 100644 --- a/clearpath_generator_common/clearpath_generator_common/description/sensors.py +++ b/clearpath_generator_common/clearpath_generator_common/description/sensors.py @@ -31,11 +31,16 @@ # of Clearpath Robotics. from clearpath_config.sensors.types.sensor import BaseSensor -from clearpath_config.sensors.types.lidars_2d import HokuyoUST10, SickLMS1XX, BaseLidar2D -from clearpath_config.sensors.types.lidars_3d import VelodyneLidar, BaseLidar3D +from clearpath_config.sensors.types.lidars_2d import BaseLidar2D, HokuyoUST10, 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.imu import BaseIMU, Microstrain -from clearpath_config.sensors.types.gps import SwiftNavDuro +from clearpath_config.sensors.types.gps import ( + Garmin18x, + NovatelSmart6, + NovatelSmart7, + SwiftNavDuro +) from typing import List @@ -160,7 +165,10 @@ def __init__(self, sensor: IntelRealsense) -> None: IntelRealsense.SENSOR_MODEL: IntelRealsenseDescription, Microstrain.SENSOR_MODEL: ImuDescription, VelodyneLidar.SENSOR_MODEL: Lidar3dDescription, - SwiftNavDuro.SENSOR_MODEL: BaseDescription + SwiftNavDuro.SENSOR_MODEL: BaseDescription, + Garmin18x.SENSOR_MODEL: BaseDescription, + NovatelSmart6.SENSOR_MODEL: BaseDescription, + NovatelSmart7.SENSOR_MODEL: BaseDescription } def __new__(cls, sensor: BaseSensor) -> BaseDescription: diff --git a/clearpath_sensors_description/urdf/garmin_18x.urdf.xacro b/clearpath_sensors_description/urdf/garmin_18x.urdf.xacro new file mode 100644 index 00000000..ba9e2d31 --- /dev/null +++ b/clearpath_sensors_description/urdf/garmin_18x.urdf.xacro @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + 1 + 1 + + + + diff --git a/clearpath_sensors_description/urdf/novatel_smart6.urdf.xacro b/clearpath_sensors_description/urdf/novatel_smart6.urdf.xacro index 9d493ee5..84b45e3c 100644 --- a/clearpath_sensors_description/urdf/novatel_smart6.urdf.xacro +++ b/clearpath_sensors_description/urdf/novatel_smart6.urdf.xacro @@ -1,6 +1,6 @@ - + @@ -12,5 +12,17 @@ + + + + + + + + + 1 + 1 + + diff --git a/clearpath_sensors_description/urdf/novatel_smart7.urdf.xacro b/clearpath_sensors_description/urdf/novatel_smart7.urdf.xacro index 6c5d954c..71f54f1e 100644 --- a/clearpath_sensors_description/urdf/novatel_smart7.urdf.xacro +++ b/clearpath_sensors_description/urdf/novatel_smart7.urdf.xacro @@ -20,9 +20,16 @@ - - - + + + + + + + 1 + 1 + +