Added to enable optional compilation of CarSim plugin.
This commit is contained in:
parent
009663e57d
commit
b068dd81d5
|
@ -6,6 +6,7 @@ using UnrealBuildTool;
|
||||||
|
|
||||||
public class Carla : ModuleRules
|
public class Carla : ModuleRules
|
||||||
{
|
{
|
||||||
|
bool UsingCarSim = false;
|
||||||
private bool IsWindows(ReadOnlyTargetRules Target)
|
private bool IsWindows(ReadOnlyTargetRules Target)
|
||||||
{
|
{
|
||||||
return (Target.Platform == UnrealTargetPlatform.Win64) || (Target.Platform == UnrealTargetPlatform.Win32);
|
return (Target.Platform == UnrealTargetPlatform.Win64) || (Target.Platform == UnrealTargetPlatform.Win32);
|
||||||
|
@ -20,6 +21,21 @@ public class Carla : ModuleRules
|
||||||
bEnableExceptions = true;
|
bEnableExceptions = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Read config about carsim
|
||||||
|
string CarlaPluginPath = Path.GetFullPath( ModuleDirectory );
|
||||||
|
string ConfigDir = Path.GetFullPath(Path.Combine(CarlaPluginPath, "../../../../Config/"));
|
||||||
|
string CarSimConfigFile = Path.Combine(ConfigDir, "CarSimConfig.ini");
|
||||||
|
string[] text = System.IO.File.ReadAllLines(CarSimConfigFile);
|
||||||
|
foreach (string line in text)
|
||||||
|
{
|
||||||
|
Console.WriteLine(line);
|
||||||
|
if (line == "CarSim ON")
|
||||||
|
{
|
||||||
|
UsingCarSim = true;
|
||||||
|
PublicDefinitions.Add("WITH_CARSIM");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
PublicIncludePaths.AddRange(
|
PublicIncludePaths.AddRange(
|
||||||
new string[] {
|
new string[] {
|
||||||
// ... add public include paths required here ...
|
// ... add public include paths required here ...
|
||||||
|
@ -42,13 +58,10 @@ public class Carla : ModuleRules
|
||||||
// ... add other public dependencies that you statically link with here ...
|
// ... add other public dependencies that you statically link with here ...
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
PublicDependencyModuleNames.AddRange(
|
if (UsingCarSim)
|
||||||
new string[]
|
{
|
||||||
{
|
PublicDependencyModuleNames.AddRange(new string[] { "CarSim" });
|
||||||
"CarSim"
|
}
|
||||||
// ... add other public dependencies that you statically link with here ...
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
if (Target.Type == TargetType.Editor)
|
if (Target.Type == TargetType.Editor)
|
||||||
{
|
{
|
||||||
|
@ -75,14 +88,12 @@ public class Carla : ModuleRules
|
||||||
// ... add private dependencies that you statically link with here ...
|
// ... add private dependencies that you statically link with here ...
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
PrivateDependencyModuleNames.AddRange(
|
if (UsingCarSim)
|
||||||
new string[]
|
{
|
||||||
{
|
PrivateDependencyModuleNames.AddRange(new string[] { "CarSim" });
|
||||||
"CarSim"
|
PrivateIncludePathModuleNames.AddRange(new string[] { "CarSim" });
|
||||||
// ... add private dependencies that you statically link with here ...
|
}
|
||||||
}
|
|
||||||
);
|
|
||||||
PrivateIncludePathModuleNames.AddRange(new string[] { "CarSim" });
|
|
||||||
|
|
||||||
DynamicallyLoadedModuleNames.AddRange(
|
DynamicallyLoadedModuleNames.AddRange(
|
||||||
new string[]
|
new string[]
|
||||||
|
|
|
@ -942,7 +942,9 @@ void FCarlaServer::FPimpl::BindActions()
|
||||||
if(Vehicle)
|
if(Vehicle)
|
||||||
{
|
{
|
||||||
Vehicle->SetActorEnableCollision(true);
|
Vehicle->SetActorEnableCollision(true);
|
||||||
|
#ifdef WITH_CARSIM
|
||||||
if(!Vehicle->IsCarSimEnabled())
|
if(!Vehicle->IsCarSimEnabled())
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
RootComponent->SetSimulatePhysics(bEnabled);
|
RootComponent->SetSimulatePhysics(bEnabled);
|
||||||
RootComponent->SetCollisionEnabled(ECollisionEnabled::QueryAndPhysics);
|
RootComponent->SetCollisionEnabled(ECollisionEnabled::QueryAndPhysics);
|
||||||
|
@ -1098,6 +1100,7 @@ void FCarlaServer::FPimpl::BindActions()
|
||||||
bool bEnabled,
|
bool bEnabled,
|
||||||
std::string SimfilePath) -> R<void>
|
std::string SimfilePath) -> R<void>
|
||||||
{
|
{
|
||||||
|
#ifdef WITH_CARSIM
|
||||||
REQUIRE_CARLA_EPISODE();
|
REQUIRE_CARLA_EPISODE();
|
||||||
auto ActorView = Episode->FindActor(ActorId);
|
auto ActorView = Episode->FindActor(ActorId);
|
||||||
if (!ActorView.IsValid())
|
if (!ActorView.IsValid())
|
||||||
|
@ -1111,12 +1114,16 @@ void FCarlaServer::FPimpl::BindActions()
|
||||||
}
|
}
|
||||||
Vehicle->SetCarSimEnabled(bEnabled, carla::rpc::ToFString(SimfilePath));
|
Vehicle->SetCarSimEnabled(bEnabled, carla::rpc::ToFString(SimfilePath));
|
||||||
return R<void>::Success();
|
return R<void>::Success();
|
||||||
|
#else
|
||||||
|
RESPOND_ERROR("CarSim plugin is not enabled");
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
BIND_SYNC(use_carsim_road) << [this](
|
BIND_SYNC(use_carsim_road) << [this](
|
||||||
cr::ActorId ActorId,
|
cr::ActorId ActorId,
|
||||||
bool bEnabled) -> R<void>
|
bool bEnabled) -> R<void>
|
||||||
{
|
{
|
||||||
|
#ifdef WITH_CARSIM
|
||||||
REQUIRE_CARLA_EPISODE();
|
REQUIRE_CARLA_EPISODE();
|
||||||
auto ActorView = Episode->FindActor(ActorId);
|
auto ActorView = Episode->FindActor(ActorId);
|
||||||
if (!ActorView.IsValid())
|
if (!ActorView.IsValid())
|
||||||
|
@ -1130,6 +1137,9 @@ void FCarlaServer::FPimpl::BindActions()
|
||||||
}
|
}
|
||||||
Vehicle->UseCarSimRoad(bEnabled);
|
Vehicle->UseCarSimRoad(bEnabled);
|
||||||
return R<void>::Success();
|
return R<void>::Success();
|
||||||
|
#else
|
||||||
|
RESPOND_ERROR("CarSim plugin is not enabled");
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
//-----CARSIM--------------------------------
|
//-----CARSIM--------------------------------
|
||||||
// ~~ Traffic lights ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
// ~~ Traffic lights ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
|
@ -33,8 +33,11 @@ ACarlaWheeledVehicle::ACarlaWheeledVehicle(const FObjectInitializer& ObjectIniti
|
||||||
VelocityControl = CreateDefaultSubobject<UVehicleVelocityControl>(TEXT("VelocityControl"));
|
VelocityControl = CreateDefaultSubobject<UVehicleVelocityControl>(TEXT("VelocityControl"));
|
||||||
VelocityControl->Deactivate();
|
VelocityControl->Deactivate();
|
||||||
|
|
||||||
CarSimMovementComponent = CreateDefaultSubobject<UCarSimMovementComponent>(TEXT("CarSimMovement"));
|
#ifdef WITH_CARSIM
|
||||||
|
ExternalMovementComponent = CreateDefaultSubobject<UCarSimMovementComponent>(TEXT("CarSimMovement"));
|
||||||
|
CarSimMovementComponent = Cast<UCarSimMovementComponent>(ExternalMovementComponent);
|
||||||
CarSimMovementComponent->DisableVehicle = true;
|
CarSimMovementComponent->DisableVehicle = true;
|
||||||
|
#endif
|
||||||
|
|
||||||
GetVehicleMovementComponent()->bReverseAsBrake = false;
|
GetVehicleMovementComponent()->bReverseAsBrake = false;
|
||||||
}
|
}
|
||||||
|
@ -114,7 +117,9 @@ void ACarlaWheeledVehicle::BeginPlay()
|
||||||
|
|
||||||
Vehicle4W->WheelSetups = NewWheelSetups;
|
Vehicle4W->WheelSetups = NewWheelSetups;
|
||||||
|
|
||||||
|
#ifdef WITH_CARSIM
|
||||||
SetCarSimEnabled(false);
|
SetCarSimEnabled(false);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void ACarlaWheeledVehicle::AdjustVehicleBounds()
|
void ACarlaWheeledVehicle::AdjustVehicleBounds()
|
||||||
|
@ -144,14 +149,13 @@ void ACarlaWheeledVehicle::AdjustVehicleBounds()
|
||||||
|
|
||||||
float ACarlaWheeledVehicle::GetVehicleForwardSpeed() const
|
float ACarlaWheeledVehicle::GetVehicleForwardSpeed() const
|
||||||
{
|
{
|
||||||
|
#ifdef WITH_CARSIM
|
||||||
if (bCarSimEnabled)
|
if (bCarSimEnabled)
|
||||||
{
|
{
|
||||||
return CarSimMovementComponent->GetForwardSpeed();
|
return CarSimMovementComponent->GetForwardSpeed();
|
||||||
}
|
}
|
||||||
else
|
#endif
|
||||||
{
|
return GetVehicleMovementComponent()->GetForwardSpeed();
|
||||||
return GetVehicleMovementComponent()->GetForwardSpeed();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
FVector ACarlaWheeledVehicle::GetVehicleOrientation() const
|
FVector ACarlaWheeledVehicle::GetVehicleOrientation() const
|
||||||
|
@ -161,14 +165,13 @@ FVector ACarlaWheeledVehicle::GetVehicleOrientation() const
|
||||||
|
|
||||||
int32 ACarlaWheeledVehicle::GetVehicleCurrentGear() const
|
int32 ACarlaWheeledVehicle::GetVehicleCurrentGear() const
|
||||||
{
|
{
|
||||||
|
#ifdef WITH_CARSIM
|
||||||
if (bCarSimEnabled)
|
if (bCarSimEnabled)
|
||||||
{
|
{
|
||||||
return CarSimMovementComponent->GetCurrentGear();
|
return CarSimMovementComponent->GetCurrentGear();
|
||||||
}
|
}
|
||||||
else
|
#endif
|
||||||
{
|
return GetVehicleMovementComponent()->GetCurrentGear();
|
||||||
return GetVehicleMovementComponent()->GetCurrentGear();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
FTransform ACarlaWheeledVehicle::GetVehicleBoundingBoxTransform() const
|
FTransform ACarlaWheeledVehicle::GetVehicleBoundingBoxTransform() const
|
||||||
|
@ -196,6 +199,7 @@ float ACarlaWheeledVehicle::GetMaximumSteerAngle() const
|
||||||
|
|
||||||
void ACarlaWheeledVehicle::FlushVehicleControl()
|
void ACarlaWheeledVehicle::FlushVehicleControl()
|
||||||
{
|
{
|
||||||
|
#ifdef WITH_CARSIM
|
||||||
if (bCarSimEnabled)
|
if (bCarSimEnabled)
|
||||||
{
|
{
|
||||||
//-----CARSIM--------------------------------
|
//-----CARSIM--------------------------------
|
||||||
|
@ -224,6 +228,7 @@ void ACarlaWheeledVehicle::FlushVehicleControl()
|
||||||
//-----------------------------------------
|
//-----------------------------------------
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
auto *MovementComponent = GetVehicleMovementComponent();
|
auto *MovementComponent = GetVehicleMovementComponent();
|
||||||
MovementComponent->SetThrottleInput(InputControl.Control.Throttle);
|
MovementComponent->SetThrottleInput(InputControl.Control.Throttle);
|
||||||
|
@ -539,12 +544,15 @@ void ACarlaWheeledVehicle::SwitchToUE4Physics()
|
||||||
|
|
||||||
void ACarlaWheeledVehicle::RevertToCarSimPhysics()
|
void ACarlaWheeledVehicle::RevertToCarSimPhysics()
|
||||||
{
|
{
|
||||||
|
#ifdef WITH_CARSIM
|
||||||
SetCarSimEnabled(true, CarSimMovementComponent->VsConfigFile);
|
SetCarSimEnabled(true, CarSimMovementComponent->VsConfigFile);
|
||||||
carla::log_warning("Collision: giving control to carsim");
|
carla::log_warning("Collision: giving control to carsim");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void ACarlaWheeledVehicle::SetCarSimEnabled(bool bEnabled, FString SimfilePath)
|
void ACarlaWheeledVehicle::SetCarSimEnabled(bool bEnabled, FString SimfilePath)
|
||||||
{
|
{
|
||||||
|
#ifdef WITH_CARSIM
|
||||||
if (bEnabled == bCarSimEnabled)
|
if (bEnabled == bCarSimEnabled)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
|
@ -605,16 +613,20 @@ void ACarlaWheeledVehicle::SetCarSimEnabled(bool bEnabled, FString SimfilePath)
|
||||||
GetMesh()->SetCollisionProfileName("Vehicle");
|
GetMesh()->SetCollisionProfileName("Vehicle");
|
||||||
}
|
}
|
||||||
bCarSimEnabled = bEnabled;
|
bCarSimEnabled = bEnabled;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void ACarlaWheeledVehicle::UseCarSimRoad(bool bEnabled)
|
void ACarlaWheeledVehicle::UseCarSimRoad(bool bEnabled)
|
||||||
{
|
{
|
||||||
|
#ifdef WITH_CARSIM
|
||||||
carla::log_warning("Enabling CarSim Road", bEnabled);
|
carla::log_warning("Enabling CarSim Road", bEnabled);
|
||||||
CarSimMovementComponent->UseVehicleSimRoad = bEnabled;
|
CarSimMovementComponent->UseVehicleSimRoad = bEnabled;
|
||||||
CarSimMovementComponent->ResetVsVehicle(false);
|
CarSimMovementComponent->ResetVsVehicle(false);
|
||||||
CarSimMovementComponent->SyncVsVehicleLocOri();
|
CarSimMovementComponent->SyncVsVehicleLocOri();
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef WITH_CARSIM
|
||||||
FVector ACarlaWheeledVehicle::GetVelocity() const
|
FVector ACarlaWheeledVehicle::GetVelocity() const
|
||||||
{
|
{
|
||||||
if (bCarSimEnabled)
|
if (bCarSimEnabled)
|
||||||
|
@ -626,6 +638,7 @@ FVector ACarlaWheeledVehicle::GetVelocity() const
|
||||||
return Super::GetVelocity();
|
return Super::GetVelocity();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
bool ACarlaWheeledVehicle::IsCarSimEnabled() const
|
bool ACarlaWheeledVehicle::IsCarSimEnabled() const
|
||||||
{
|
{
|
||||||
|
|
|
@ -19,7 +19,9 @@
|
||||||
#include "CoreMinimal.h"
|
#include "CoreMinimal.h"
|
||||||
|
|
||||||
//-----CARSIM--------------------------------
|
//-----CARSIM--------------------------------
|
||||||
|
#ifdef WITH_CARSIM
|
||||||
#include "CarSimMovementComponent.h"
|
#include "CarSimMovementComponent.h"
|
||||||
|
#endif
|
||||||
//-------------------------------------------
|
//-------------------------------------------
|
||||||
|
|
||||||
#include "CarlaWheeledVehicle.generated.h"
|
#include "CarlaWheeledVehicle.generated.h"
|
||||||
|
@ -241,7 +243,7 @@ private:
|
||||||
FVehicleControl LastAppliedControl;
|
FVehicleControl LastAppliedControl;
|
||||||
|
|
||||||
|
|
||||||
//-----CARSIM--------------------------------
|
//-----CARSIM--------------------------------
|
||||||
public:
|
public:
|
||||||
|
|
||||||
UFUNCTION(Category="CARLA Wheeled Vehicle", BlueprintCallable)
|
UFUNCTION(Category="CARLA Wheeled Vehicle", BlueprintCallable)
|
||||||
|
@ -250,7 +252,9 @@ public:
|
||||||
UFUNCTION(Category="CARLA Wheeled Vehicle", BlueprintCallable)
|
UFUNCTION(Category="CARLA Wheeled Vehicle", BlueprintCallable)
|
||||||
void UseCarSimRoad(bool bEnabled);
|
void UseCarSimRoad(bool bEnabled);
|
||||||
|
|
||||||
|
#ifdef WITH_CARSIM
|
||||||
virtual FVector GetVelocity() const override;
|
virtual FVector GetVelocity() const override;
|
||||||
|
#endif
|
||||||
|
|
||||||
UFUNCTION(Category="CARLA Wheeled Vehicle", BlueprintPure)
|
UFUNCTION(Category="CARLA Wheeled Vehicle", BlueprintPure)
|
||||||
bool IsCarSimEnabled() const;
|
bool IsCarSimEnabled() const;
|
||||||
|
@ -281,6 +285,11 @@ private:
|
||||||
bool bCarSimEnabled = false;
|
bool bCarSimEnabled = false;
|
||||||
|
|
||||||
UPROPERTY(Category="CARLA Wheeled Vehicle", VisibleAnywhere, BlueprintReadOnly, meta = (AllowPrivateAccess = "true"))
|
UPROPERTY(Category="CARLA Wheeled Vehicle", VisibleAnywhere, BlueprintReadOnly, meta = (AllowPrivateAccess = "true"))
|
||||||
|
UMovementComponent * ExternalMovementComponent;
|
||||||
|
|
||||||
|
#ifdef WITH_CARSIM
|
||||||
|
// Casted version of ExternalMovementComponent
|
||||||
UCarSimMovementComponent * CarSimMovementComponent;
|
UCarSimMovementComponent * CarSimMovementComponent;
|
||||||
|
#endif
|
||||||
//-------------------------------------------
|
//-------------------------------------------
|
||||||
};
|
};
|
||||||
|
|
|
@ -24,11 +24,12 @@ REMOVE_INTERMEDIATE=false
|
||||||
HARD_CLEAN=false
|
HARD_CLEAN=false
|
||||||
BUILD_CARLAUE4=false
|
BUILD_CARLAUE4=false
|
||||||
LAUNCH_UE4_EDITOR=false
|
LAUNCH_UE4_EDITOR=false
|
||||||
|
USE_CARSIM=false
|
||||||
|
|
||||||
GDB=
|
GDB=
|
||||||
RHI="-vulkan"
|
RHI="-vulkan"
|
||||||
|
|
||||||
OPTS=`getopt -o h --long help,build,rebuild,launch,clean,hard-clean,gdb,opengl -n 'parse-options' -- "$@"`
|
OPTS=`getopt -o h --long help,build,rebuild,launch,clean,hard-clean,gdb,opengl,carsim -n 'parse-options' -- "$@"`
|
||||||
|
|
||||||
eval set -- "$OPTS"
|
eval set -- "$OPTS"
|
||||||
|
|
||||||
|
@ -57,6 +58,9 @@ while [[ $# -gt 0 ]]; do
|
||||||
--opengl )
|
--opengl )
|
||||||
RHI="-opengl";
|
RHI="-opengl";
|
||||||
shift ;;
|
shift ;;
|
||||||
|
--carsim )
|
||||||
|
USE_CARSIM=true;
|
||||||
|
shift ;;
|
||||||
-h | --help )
|
-h | --help )
|
||||||
echo "$DOC_STRING"
|
echo "$DOC_STRING"
|
||||||
echo "$USAGE_STRING"
|
echo "$USAGE_STRING"
|
||||||
|
@ -123,6 +127,12 @@ if ${BUILD_CARLAUE4} ; then
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if ${USE_CARSIM} ; then
|
||||||
|
echo "CarSim ON" > ${PWD}/Config/CarSimConfig.ini
|
||||||
|
else
|
||||||
|
echo "CarSim OFF" > ${PWD}/Config/CarSimConfig.ini
|
||||||
|
fi
|
||||||
|
|
||||||
log "Build CarlaUE4 project."
|
log "Build CarlaUE4 project."
|
||||||
make CarlaUE4Editor
|
make CarlaUE4Editor
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ REMOVE_INTERMEDIATE=false
|
||||||
BUILD_RSS_VARIANT=false
|
BUILD_RSS_VARIANT=false
|
||||||
BUILD_PYTHONAPI=true
|
BUILD_PYTHONAPI=true
|
||||||
|
|
||||||
OPTS=`getopt -o h --long help,config:,rebuild,clean,rss,python-version:,packages:,clean-intermediate,all,xml, -n 'parse-options' -- "$@"`
|
OPTS=`getopt -o h --long help,config:,rebuild,clean,rss,carsim,python-version:,packages:,clean-intermediate,all,xml, -n 'parse-options' -- "$@"`
|
||||||
|
|
||||||
eval set -- "$OPTS"
|
eval set -- "$OPTS"
|
||||||
|
|
||||||
|
|
|
@ -15,8 +15,9 @@ DO_TARBALL=true
|
||||||
DO_CLEAN_INTERMEDIATE=false
|
DO_CLEAN_INTERMEDIATE=false
|
||||||
PROPS_MAP_NAME=PropsMap
|
PROPS_MAP_NAME=PropsMap
|
||||||
PACKAGE_CONFIG=Shipping
|
PACKAGE_CONFIG=Shipping
|
||||||
|
USE_CARSIM=false
|
||||||
|
|
||||||
OPTS=`getopt -o h --long help,config:,no-zip,clean-intermediate,packages:,python-version: -n 'parse-options' -- "$@"`
|
OPTS=`getopt -o h --long help,config:,no-zip,clean-intermediate,carsim,packages:,python-version: -n 'parse-options' -- "$@"`
|
||||||
|
|
||||||
eval set -- "$OPTS"
|
eval set -- "$OPTS"
|
||||||
|
|
||||||
|
@ -34,6 +35,9 @@ while [[ $# -gt 0 ]]; do
|
||||||
--packages )
|
--packages )
|
||||||
PACKAGES="$2"
|
PACKAGES="$2"
|
||||||
shift 2 ;;
|
shift 2 ;;
|
||||||
|
--carsim )
|
||||||
|
USE_CARSIM=true;
|
||||||
|
shift ;;
|
||||||
-h | --help )
|
-h | --help )
|
||||||
echo "$DOC_STRING"
|
echo "$DOC_STRING"
|
||||||
echo "$USAGE_STRING"
|
echo "$USAGE_STRING"
|
||||||
|
@ -87,6 +91,12 @@ if ${DO_CARLA_RELEASE} ; then
|
||||||
|
|
||||||
pushd "${CARLAUE4_ROOT_FOLDER}" >/dev/null
|
pushd "${CARLAUE4_ROOT_FOLDER}" >/dev/null
|
||||||
|
|
||||||
|
if [ ${USE_CARSIM} ]; then
|
||||||
|
echo "CarSim ON" > ${PWD}/Config/CarSimConfig.ini
|
||||||
|
else
|
||||||
|
echo "CarSim OFF" > ${PWD}/Config/CarSimConfig.ini
|
||||||
|
fi
|
||||||
|
|
||||||
log "Cooking CARLA project."
|
log "Cooking CARLA project."
|
||||||
|
|
||||||
rm -Rf ${RELEASE_BUILD_FOLDER}
|
rm -Rf ${RELEASE_BUILD_FOLDER}
|
||||||
|
|
Loading…
Reference in New Issue