Skip to content
This repository was archived by the owner on Apr 13, 2024. It is now read-only.

Commit d452706

Browse files
committed
add requirements.txt
1 parent ec3b459 commit d452706

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ ENV PATH="/root/.pyenv/bin:/root/.pyenv/shims:${PATH}"
77
RUN pyenv install 3.7.3
88
RUN pyenv global 3.7.3
99
RUN pyenv rehash
10-
RUN pip3 install pyyaml==5.1.2 Cython==0.29.14 scons==3.1.1 pycapnp==0.6.4 Jinja2==2.10.3
1110

11+
COPY requirements.txt /tmp/
12+
RUN pip install -r /tmp/requirements.txt
1213

1314
ENV PYTHONPATH=/project
1415

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ For example:
4242
SG_ VEHICLE_SPEED : 7|15@0+ (0.01,0) [0|250] "kph" PCM
4343
```
4444
45-
- Signal's size: always use the smallest amount of bits possible. For example, let's say I'm reverse engineering the gas pedal position and I've determined that it's in a 3 bytes message. For 0% pedal position I read a message value of `0x00 0x00 0x00`, while for 100% of pedal position I read `0x64 0x00 0x00`: clearly, the gas pedal position is within the first byte of the message and I might be tempted to define the signal `GAS_POS` as:
45+
- Signal size: always use the smallest amount of bits possible. For example, let's say I'm reverse engineering the gas pedal position and I've determined that it's in a 3 bytes message. For 0% pedal position I read a message value of `0x00 0x00 0x00`, while for 100% of pedal position I read `0x64 0x00 0x00`: clearly, the gas pedal position is within the first byte of the message and I might be tempted to define the signal `GAS_POS` as:
4646
```
4747
SG_ GAS_POS : 7|8@0+ (1,0) [0|100] "%" PCM
4848
```

requirements.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Cython==0.29.14
2+
flake8==3.7.9
3+
Jinja2==2.10.3
4+
pycapnp==0.6.4
5+
pylint==2.4.3
6+
pyyaml==5.1.2
7+
scons==3.1.1

0 commit comments

Comments
 (0)