taxi demo: Taxi integrated, phase 1 complete

This commit is contained in:
2026-09-17 04:58:46 +03:00
parent 129557c4ba
commit f9689eaa32
9 changed files with 490 additions and 175 deletions
+5 -1
View File
@@ -382,7 +382,11 @@ if trunk:
vehicle = {
"cameraDistance": 6.0,
"cameraHeight": 1.6,
"engineBrake": 0.5,
# Cars coast when the accelerator is released (braking is the
# driver's job: S while rolling forward, Space = handbrake).
# Slow yard vehicles like the forklift use ~0.5 instead so they
# do not roll forever.
"engineBrake": 0.0,
"maxPitchRollAngleDeg": 60.0,
"maxTorque": 300.0,
"rearSteer": False,
+3 -1
View File
@@ -27,7 +27,7 @@ endforeach()
# Convention-built drivable vehicles: same mesh/material export plus a
# generated scene-entity JSON fragment (<name>.vehicle.json, see
# assets/blender/scripts/gen_vehicle.py and vehicles/CAR_MODELING.md).
set(VEHICLES_GEN_SRC sedan-v2.blend)
set(VEHICLES_GEN_SRC sedan-v2.blend sedan-v2-taxi.blend)
foreach(VEHICLE_FILE ${VEHICLES_GEN_SRC})
get_filename_component(FILE_NAME ${VEHICLE_FILE} NAME_WE)
@@ -65,5 +65,7 @@ add_custom_target(update_vehicles
${CMAKE_BINARY_DIR}/resources/vehicles/sedan-v2.vehicle.json sedan1
COMMAND python3 merge_vehicle.py demo_scene_exterior.json
${CMAKE_BINARY_DIR}/resources/vehicles/sedan-v2.vehicle.json sedan_plain
COMMAND python3 merge_vehicle.py demo_scene_exterior.json
${CMAKE_BINARY_DIR}/resources/vehicles/sedan-v2-taxi.vehicle.json sedan_taxi
WORKING_DIRECTORY ${DEMO_TAXI_DIR}
DEPENDS import_vehicles)