Commit 9fb6c93f authored by Uwe Woessner's avatar Uwe Woessner
Browse files

Added missing files and license info


Signed-off-by: Uwe Woessner's avatarhpcwoess <woessner@hlrs.de>
parent 83eea9ae
/******************************************************************************
* Copyright (c) 2019 AMFD GmbH
* Copyright (C) 2001-2018 German Aerospace Center (DLR) and others.
* Copyright (c) 2021 HLRS, Universitaet Stuttgart
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
......
/******************************************************************************
* Copyright (c) 2019 AMFD GmbH
* Copyright (c) 2021 HLRS, Universitaet Stuttgart
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
......
/******************************************************************************
* Copyright (c) 2019 TU Dresden
* Copyright (c) 2019 AMFD GmbH
* Copyright (c) 2021 HLRS, Universitaet Stuttgart
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
......
/******************************************************************************
* Copyright (c) 2019 AMFD GmbH
* Copyright (c) 2021 HLRS, Universitaet Stuttgart
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
......
/******************************************************************************
* Copyright (c) 2019 TU Dresden
* Copyright (c) 2019 AMFD GmbH
* Copyright (c) 2021 HLRS, Universitaet Stuttgart
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
......
/******************************************************************************
* Copyright (c) 2021 HLRS, Universitaet Stuttgart
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*****************************************************************************/
#include "agentParameters.h"
agentParameters &agentParameters::operator = (const VehicleModelParameters &vp)
{
vehicleType = vp.vehicleType;
width = vp.width;
length = vp.length;
height = vp.height;
wheelbase = vp.wheelbase;
trackwidth = vp.trackwidth;
distanceReferencePointToLeadingEdge = vp.distanceReferencePointToLeadingEdge;
distanceReferencePointToFrontAxle = vp.distanceReferencePointToFrontAxle;
maxVelocity = vp.maxVelocity;
weight = vp.weight;
heightCOG = vp.heightCOG;
momentInertiaRoll = vp.momentInertiaRoll;
momentInertiaPitch = vp.momentInertiaPitch;
momentInertiaYaw = vp.momentInertiaYaw;
frontSurface = vp.frontSurface;
airDragCoefficient = vp.airDragCoefficient;
minimumEngineSpeed = vp.minimumEngineSpeed;
maximumEngineSpeed = vp.maximumEngineSpeed;
minimumEngineTorque = vp.minimumEngineTorque;
maximumEngineTorque = vp.maximumEngineTorque;
numberOfGears = vp.numberOfGears;
gearRatios = vp.gearRatios;
axleRatio = vp.axleRatio;
decelerationFromPowertrainDrag = vp.decelerationFromPowertrainDrag;
steeringRatio = vp.steeringRatio;
maximumSteeringWheelAngleAmplitude = vp.maximumSteeringWheelAngleAmplitude;
maxCurvature = vp.maxCurvature;
staticWheelRadius = vp.staticWheelRadius;
frictionCoeff = vp.frictionCoeff;
return *this;
}
/******************************************************************************
* Copyright (c) 2021 HLRS, Universitaet Stuttgart
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*****************************************************************************/
#pragma once
#include <common/globalDefinitions.h>
class agentParameters : public VehicleModelParameters
{
public:
agentParameters &operator=(const VehicleModelParameters &);
double maxDeceleration;
double maxAcceleration;
};
/******************************************************************************
* Copyright (c) 2019 TU Dresden
* Copyright (c) 2019 AMFD GmbH
* Copyright (c) 2021 HLRS, Universitaet Stuttgart
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
......
/******************************************************************************
* Copyright (c) 2019 TU Dresden
* Copyright (c) 2019 AMFD GmbH
* Copyright (c) 2021 HLRS, Universitaet Stuttgart
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment