31#include "vehicle2/PxVehicleAPI.h"
33#include "../directdrivetrain/DirectDrivetrain.h"
36#pragma clang diagnostic push
37#pragma clang diagnostic ignored "-Wexpansion-to-defined"
39#pragma clang diagnostic push
40#pragma clang diagnostic ignored "-Wexpansion-to-defined"
41#pragma clang diagnostic ignored "-Wdocumentation"
42#pragma clang diagnostic ignored "-Wimplicit-fallthrough"
43#elif PX_LINUX && PX_CLANG
44#pragma clang diagnostic push
45#pragma clang diagnostic ignored "-Wdocumentation"
47#include "rapidjson/document.h"
48#include "rapidjson/prettywriter.h"
49#if (PX_LINUX && PX_CLANG) || PX_SWITCH
50#pragma clang diagnostic pop
53namespace snippetvehicle2
57using namespace physx::vehicle2;
59bool readThrottleResponseParams
63bool writeThrottleResponseParams
65 rapidjson::PrettyWriter<rapidjson::StringBuffer>& writer);
68bool readDirectDrivetrainParamsFromJsonFile(
const char* directory,
const char* filename,
71bool writeDirectDrivetrainParamsToJsonFile(
const char* directory,
const char* filename,
Sorts an array of objects in ascending order, assuming that the predicate implements the < operator:
Definition PxBoxController.h:39
Definition PxVehicleParams.h:53
Distribute a throttle response to the wheels of a direct drive vehicle.
Definition PxVehicleDrivetrainParams.h:57