pull/29498/head
Adeeb Shihadeh 2 years ago
parent 7d6d9fe903
commit db5e13b991
  1. 4
      .github/workflows/selfdrive_tests.yaml
  2. 3
      selfdrive/car/docs.py

@ -405,6 +405,10 @@ jobs:
run: |
${{ env.RUN }} "scons -j$(nproc) && python selfdrive/debug/dump_car_info.py --path /tmp/openpilot_cache/base_car_info"
sudo chown -R $USER:$USER ${{ github.workspace }}
- uses: actions/upload-artifact@v3
with:
name: my-artifact
path: ~/openpilot_cache/base_car_info
- uses: actions/checkout@v3
with:
submodules: true

@ -29,6 +29,8 @@ def get_all_car_info() -> List[CarInfo]:
all_car_info: List[CarInfo] = []
footnotes = get_all_footnotes()
for model, car_info in get_interface_attr("CAR_INFO", combine_brands=True).items():
print(model, car_info)
# If available, uses experimental longitudinal limits for the docs
CP = interfaces[model][0].get_params(model, fingerprint=gen_empty_fingerprint(),
car_fw=[car.CarParams.CarFw(ecu="unknown")], experimental_long=True, docs=True)
@ -48,6 +50,7 @@ def get_all_car_info() -> List[CarInfo]:
# Sort cars by make and model + year
sorted_cars: List[CarInfo] = natsorted(all_car_info, key=lambda car: car.name.lower())
print(sorted_cars)
return sorted_cars

Loading…
Cancel
Save