| #pragma once |
|
|
| #include <limits> |
| #include <madrona/math.hpp> |
| #include <madrona/types.hpp> |
|
|
| namespace madrona_gpudrive { |
|
|
| namespace consts { |
|
|
| inline constexpr madrona::CountT kMaxAgentCount = 64; |
| inline constexpr madrona::CountT kMaxRoadEntityCount = 10000; |
| inline constexpr madrona::CountT kMaxAgentMapObservationsCount = 200; |
|
|
| inline constexpr bool useEstimatedYaw = true; |
|
|
| inline constexpr float staticThreshold = 0.2f; |
|
|
| |
| inline constexpr float worldLength = 40.f; |
|
|
| |
| |
| |
| inline constexpr float vehicleLengthScale = 0.7f; |
|
|
| |
| inline constexpr float rewardPerDist = 0.05f; |
| |
| |
| inline constexpr float slackReward = -0.005f; |
|
|
| |
| inline constexpr int32_t episodeLen = 91; |
|
|
| |
| inline constexpr madrona::CountT numLidarSamples = 50; |
|
|
| |
| |
| |
| inline constexpr float lidarCarOffset = 0.5f; |
| inline constexpr float lidarRoadEdgeOffset = 0.1f; |
| inline constexpr float lidarRoadLineOffset = -0.1f; |
| inline constexpr float lidarDistance = 200.f; |
| inline constexpr float lidarAngle = madrona::math::pi / 3; |
|
|
| |
| inline constexpr int bev_rasterization_resolution = 200; |
|
|
| |
| inline constexpr float deltaT = 0.04f; |
|
|
| |
| inline constexpr madrona::CountT numPhysicsSubsteps = 0.f; |
|
|
| inline constexpr float zDimensionScale = 1; |
| inline constexpr float xDimensionScaleRoadSegment = 1; |
|
|
| inline constexpr madrona::CountT kTrajectoryLength = 91; |
|
|
| inline constexpr madrona::CountT kMaxRoadGeometryLength = 1810; |
|
|
| inline constexpr madrona::math::Vector3 kPaddingPosition = { |
| -11000, -11000, std::numeric_limits<float>::max()}; |
| } |
|
|
| } |
|
|