import $"{AGX_DATA_DIR}/models/openplx/chassis.png" as ChassisColor
import $"{AGX_DATA_DIR}/models/openplx/ground.png" as GroundColor
import $"{AGX_DATA_DIR}/models/openplx/lidar_2d.png" as Lidar2DColor
import $"{AGX_DATA_DIR}/models/openplx/wheel.png" as WheelColor

const ChassisMaterial is Physics.Geometries.Material:
    unique_name: "BoxTruck_ChassisMaterial"
    density: 1000

const WheelMaterial is Physics.Geometries.Material:
    unique_name: "BoxTruck_WheelMaterial"
    density: 1000

const GroundMaterial is Physics.Geometries.Material:
    unique_name: "BoxTruck_GroundMaterial"

# Visual materials:

const ChassisVisualMaterial is Visuals.Materials.Material:
    with Visuals.Materials.SurfaceFeatures.BaseColor
    base_color_map: ChassisColor

const GroundVisualMaterial is Visuals.Materials.Material:
    with Visuals.Materials.SurfaceFeatures.BaseColor
    base_color_map: GroundColor

const Lidar2DVisualMaterial is Visuals.Materials.Material:
    with Visuals.Materials.SurfaceFeatures.BaseColor
    base_color_map: Lidar2DColor
    
const WheelVisualMaterial is Visuals.Materials.Material:
    with Visuals.Materials.SurfaceFeatures.BaseColor
    base_color_map: WheelColor
