Skip to content

Commit

Permalink
465 adding some telemetry data (#467)
Browse files Browse the repository at this point in the history
* adding panel temperatures and battery current out

* fix lint

* Updating descirption for telemetry

* fixing the tab bar for non in orbit satellites

* fix
  • Loading branch information
Thibault authored and GitHub committed Jul 14, 2025
1 parent 8165d87 commit 7ca2847
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
Binary file modified backend/dbLocation.sqlite
Binary file not shown.
8 changes: 5 additions & 3 deletions frontend/src/app/satellites/[satelliteSlug]/satInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ export default function SatInfo({
<>
{" "}
<TabProvider>
<div className="flex w-full ">
<TabBar />
</div>
{satAttributes.missionStatus === "IN ORBIT" ? (
<div className="flex w-full ">
<TabBar />
</div>
) : null}
{/* Container for satname, stats and sat image */}
<div className="flex w-full flex-col border-2 border-gray-600 xl:flex-row">
{/* Stats Container */}
Expand Down
8 changes: 8 additions & 0 deletions frontend/src/app/satellites/[satelliteSlug]/satTelemetry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ export default function SatTelemetry({
yAxisTitle: "Temperature (°C)",
series: solarPanelChartData,
valueSuffix: " °C",
description:
"There is that much difference in temperature between some solar panels because those panels point more or less towards the sun.",
},
{
title: "Uptime",
Expand All @@ -224,6 +226,7 @@ export default function SatTelemetry({
fontSize: "24px",
},
},

xAxis: {
type: "datetime",
labels: {
Expand Down Expand Up @@ -292,6 +295,11 @@ export default function SatTelemetry({
style: { height: "400px", width: "100%" },
}}
/>
{config.description && (
<div className="mt-2 px-4 text-center text-sm text-gray-400">
{config.description}
</div>
)}
</div>
))}
</div>
Expand Down

0 comments on commit 7ca2847

Please sign in to comment.