Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamBenes3 committed Dec 2, 2023
1 parent a9816e9 commit f45f242
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CDP.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ async def forward_heartbeat(request: Request):
car_dict[car_id] = Uploader(car_id)
print(car_dict)
car_dict[car_id].upload_station_position(
"fik-" + car_id + "Test",
"fik-" + car_id,
[latitude, longitude, altitude],
mobile=True
)
Expand All @@ -98,7 +98,7 @@ async def forward_data(request: Request):
response = send_data_to_express("/post/car/data", data)
print("Received data is newer than the existing data.")
uploader_data.add_telemetry(
"fik-" + balloon_id + "Test",
"fik-" + balloon_id,
datetime.datetime.utcnow(),
latitude,
longitude,
Expand Down
2 changes: 1 addition & 1 deletion LDP.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def on_message(client, userdata, message):
balloons_dict[balloon_id] = Uploader(balloon_id)

balloons_dict[balloon_id].add_telemetry(
"fik-" + balloon_id + "Test",
"fik-" + balloon_id,
datetime.datetime.utcnow(),
latitude,
longitude,
Expand Down

0 comments on commit f45f242

Please sign in to comment.