mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-19 00:43:54 +08:00
* WIP try modeld all in python * fix plan * add lane lines stds * fix lane lines prob * add lead prob * add meta * simplify plan parsing * add hard brake pred * add confidence * fix desire state and desire pred * check this file for now * rm prints * rm debug * add todos * add plan_t_idxs * same as cpp * removed cython * add wfd width - rm cpp code * add new files rm old files * get metadata at compile time * forgot this file * now uses more CPU * not used * update readme * lint * copy this too * simplify disengage probs * update model replay ref commit * update again * confidence: remove if statemens * use publish_state.enqueue * Revert "use publish_state.enqueue" This reverts commit d8807c8348338a1f773a8de00fd796abb8181404. * confidence: better shape defs * use ModelConstants class * fix confidence * Parser * slightly more power too * no inline ifs :( * confidence: just use if statements
39 lines
1.4 KiB
Docker
39 lines
1.4 KiB
Docker
FROM ghcr.io/commaai/openpilot-base-cl:latest
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
tmux \
|
|
vim \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
# get same tmux config used on NEOS for debugging
|
|
RUN cd $HOME && \
|
|
curl -O https://raw.githubusercontent.com/commaai/eon-neos-builder/master/devices/eon/home/.tmux.conf
|
|
|
|
ENV OPENPILOT_PATH /tmp/openpilot
|
|
ENV PYTHONPATH ${OPENPILOT_PATH}:${PYTHONPATH}
|
|
|
|
RUN mkdir -p ${OPENPILOT_PATH}
|
|
WORKDIR ${OPENPILOT_PATH}
|
|
|
|
COPY SConstruct ${OPENPILOT_PATH}
|
|
|
|
COPY ./openpilot ${OPENPILOT_PATH}/openpilot
|
|
COPY ./body ${OPENPILOT_PATH}/body
|
|
COPY ./third_party ${OPENPILOT_PATH}/third_party
|
|
COPY ./site_scons ${OPENPILOT_PATH}/site_scons
|
|
COPY ./rednose ${OPENPILOT_PATH}/rednose
|
|
COPY ./laika_repo ${OPENPILOT_PATH}/laika_repo
|
|
RUN ln -s ${OPENPILOT_PATH}/laika_repo/laika/ ${OPENPILOT_PATH}/laika
|
|
COPY ./common ${OPENPILOT_PATH}/common
|
|
COPY ./opendbc ${OPENPILOT_PATH}/opendbc
|
|
COPY ./cereal ${OPENPILOT_PATH}/cereal
|
|
COPY ./panda ${OPENPILOT_PATH}/panda
|
|
COPY ./selfdrive ${OPENPILOT_PATH}/selfdrive
|
|
COPY ./system ${OPENPILOT_PATH}/system
|
|
COPY ./tools ${OPENPILOT_PATH}/tools
|
|
COPY ./release ${OPENPILOT_PATH}/release
|
|
|
|
RUN --mount=type=bind,source=.ci_cache/scons_cache,target=/tmp/scons_cache,rw scons -j$(nproc) --cache-readonly
|
|
|
|
RUN python -c "from openpilot.selfdrive.test.helpers import set_params_enabled; set_params_enabled()"
|