Skip to content

Commit 001caf0

Browse files
committed
Squashed commit of the following:
commit 4f1f713 Merge: 58e8a89 92a8e7a Author: Peyton McKee <mckee.p@northeastern.edu> Date: Sun Apr 27 10:08:43 2025 -0400 Merge pull request #369 from Northeastern-Electric-Racing/graph-fix-apex Graph fix apex commit 92a8e7a Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Sun Apr 27 10:03:45 2025 -0400 Remove Logs commit 58e8a89 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Sun Apr 27 09:38:40 2025 -0400 Car Command Dashboard commit 7f79594 Author: wyattb <bracy.w@northeastern.edu> Date: Sun Apr 27 00:53:00 2025 -0400 commit 2cfab84 Author: wyattb <bracy.w@northeastern.edu> Date: Sun Apr 27 00:32:40 2025 -0400 commit fd316cb Author: wyattb <bracy.w@northeastern.edu> Date: Sat Apr 26 23:20:50 2025 -0400 commit a79a754 Author: wyattb <bracy.w@northeastern.edu> Date: Sat Apr 26 19:09:47 2025 -0400 commit 52c7c80 Author: wyattb <bracy.w@northeastern.edu> Date: Sat Apr 26 17:54:29 2025 -0400 commit faa854c Author: wyattb <bracy.w@northeastern.edu> Date: Sat Apr 26 15:14:14 2025 -0400 testing commit 730c8f1 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Fri Apr 25 18:09:59 2025 -0400 Remove Compresion commit 47344fc Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Fri Apr 25 15:07:17 2025 -0400 Fix Date Pipe commit 478559b Author: Wyatt Bracy <138251570+bracyw@users.noreply.github.com> Date: Fri Apr 25 03:11:12 2025 -0400 commit 748b724 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 24 17:04:27 2025 -0400 Add Indexing to Database commit a76eca1 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 24 15:21:31 2025 -0400 Add Accumulator Level Heat Map commit 89cd4d2 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Thu Apr 24 12:13:14 2025 -0400 Fix Charybdis Uploads and Dumps commit 2ea1d96 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Apr 22 18:03:41 2025 -0400 Fix Memory Issues commit c7ca5dd Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Tue Apr 22 16:05:47 2025 -0400 Transition to copy download commit d939dde Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Apr 21 22:10:02 2025 -0400 Undo Env Change commit c3622c9 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Mon Apr 21 22:09:13 2025 -0400 Fix Charybdis and Fix Bad Indexing commit cc94d32 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Sat Apr 19 21:28:21 2025 -0400 Fix Limiting Range for Historical Data commit d424a13 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Sat Apr 19 17:29:52 2025 -0400 Actually fix the timestamps commit f86a9b3 Author: Peyton-McKee <mckee.p@northeastern.edu> Date: Sat Apr 19 16:52:37 2025 -0400 Convert back to i32 for client
1 parent c3f279c commit 001caf0

68 files changed

Lines changed: 1243 additions & 811 deletions

File tree

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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
scylla-server-typescript/src/prisma/mydatabase.db
77
scylla-server-typescript/src/prisma/mydatabase.db-journal
88
scylla-server/files
9+
<<<<<<< Updated upstream
10+
=======
11+
scylla-server/target
12+
backups
13+
>>>>>>> Stashed changes
914

1015
# Xcode
1116
#

angular-client/package-lock.json

Lines changed: 71 additions & 195 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import { urls } from './urls';
2+
3+
export const sendConfig = (key: string, values: number[]): Promise<Response> => {
4+
return fetch(urls.carCommandConfig(key, values), { method: 'POST' });
5+
};
6+
7+
export const authenticatePw = (password: string) => {
8+
const body = { password };
9+
return fetch(urls.authenticate(), {
10+
method: 'POST',
11+
headers: { 'Content-Type': 'application/json' },
12+
body: JSON.stringify(body)
13+
});
14+
};

angular-client/src/api/urls.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ const getAllVideos = () => `${baseURL}/videos`;
3232
const getVideo = (fileName: string) => `${getAllVideos()}/${encodeURIComponent(fileName)}`;
3333
const updateVideos = () => `${getAllVideos()}/update`;
3434

35+
/* Car Commands */
36+
const carCommandConfig = (key: string, values: number[]) =>
37+
`${baseURL}/config/set/${key}?${values.map((value) => `data=${value}`).join('&')}`;
38+
39+
/* Authentication */
40+
const authenticate = () => `${baseURL}/authenticate`;
41+
3542
export const urls = {
3643
getAllDatatypes,
3744

@@ -49,5 +56,8 @@ export const urls = {
4956

5057
getAllVideos,
5158
getVideo,
52-
updateVideos
59+
updateVideos,
60+
61+
carCommandConfig,
62+
authenticate
5363
};

0 commit comments

Comments
 (0)