Skip to content

Commit 2f560e3

Browse files
authored
Merge pull request #8 from Western-Formula-Racing/dev-main
Dev main
2 parents 59d2a3b + 46dab9b commit 2f560e3

58 files changed

Lines changed: 886422 additions & 399 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,4 +218,6 @@ ENV/
218218
# Conda artifacts
219219
*.conda
220220
*.tar.bz2
221+
222+
.idea/workspace.xml
221223
/.idea

README.md

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -100,25 +100,32 @@ daq-radio/
100100
## Contributing
101101

102102
1. Activate the carThings environment
103+
103104
2. Make your changes
105+
104106
3. Test with both real hardware and simulation modes
107+
105108
4. Update documentation as needed
106-
=======
107-
pecan
108-
├── app.py # Main entry point of the Flask application
109-
├── requirements.txt # List of dependencies for the project
110-
├── static
111-
│ ├── css
112-
│ │ └── styles.css # CSS styles for the application
113-
│ └── js
114-
│ └── app.js # JavaScript code for client-side interactions
115-
├── templates
116-
│ └── index.html # Main HTML template for the application
117-
├── dbc_files
118-
│ └── example.dbc # Example DBC file for testing
119-
└── README.md # Documentation for the project
120-
```
121109

110+
111+
112+
```
113+
pecan
114+
├── app.py # Main entry point of the Flask application
115+
├── requirements.txt # List of dependencies for the project
116+
├── static
117+
│ ├── css
118+
│ │ └── styles.css # CSS styles for the application
119+
│ └── js
120+
│ └── app.js # JavaScript code for client-side interactions
121+
├── templates
122+
│ └── index.html # Main HTML template for the application
123+
├── dbc_files
124+
│ └── example.dbc # Example DBC file for testing
125+
└── README.md # Documentation for the project
126+
```
127+
128+
122129
## Features
123130

124131
- **Real-time CAN Message Display**: View raw CAN messages as they are received.
@@ -145,7 +152,7 @@ This CAN viewer is part of a distributed timestamping system that ensures accura
145152
- **Named Pipe Output**: Messages are written to `/tmp/can_data_pipe` in CANserver-compatible format:
146153
```json
147154
{"time": 1726310400000, "bus": 0, "id": 123, "data": [1, 2, 3, 4, 5, 6, 7, 8]}
148-
```
155+
149156
- The original ESP32 timestamp is preserved in the `time` field
150157

151158
### 4. Message Processing (Pecan App)
@@ -206,4 +213,3 @@ This pipeline ensures that CAN messages from distributed ESP32 devices maintain
206213
## License
207214

208215
This project is licensed under the MIT License. See the LICENSE file for more details.
209-
>>>>>>> pecan-branch

base-station/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ FROM python:3.9-slim
22

33
WORKDIR /app
44

5-
RUN pip install cantools
5+
COPY requirements.txt .
6+
7+
RUN pip install --upgrade pip && \
8+
pip install --no-cache-dir -r requirements.txt
69

710
COPY base.py /app/base.py
811

0 commit comments

Comments
 (0)