From 47e10ba05fe76bde6f73770ea1e8828bbab344b8 Mon Sep 17 00:00:00 2001 From: Corwin Perren Date: Mon, 10 Nov 2025 01:06:31 -0800 Subject: [PATCH] Enabled astro preload, added video components, videos for software lead, part of content for software lead --- astro.config.mjs | 3 + src/components/Video.astro | 12 + src/interfaces/video.ts | 5 + .../mars-rover-software-team-lead.astro | 239 ++++++++++++++++++ 4 files changed, 259 insertions(+) create mode 100644 src/components/Video.astro create mode 100644 src/interfaces/video.ts diff --git a/astro.config.mjs b/astro.config.mjs index 7e73f35..c0fb8ba 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -10,6 +10,9 @@ const disabledPaths = getPaths(siteLayout, [], true) // https://astro.build/config export default defineConfig({ site: "https://caperren.com", + prefetch: { + prefetchAll: true + }, integrations: [ sitemap({ filter: (pagePath) => diff --git a/src/components/Video.astro b/src/components/Video.astro new file mode 100644 index 0000000..0f218f5 --- /dev/null +++ b/src/components/Video.astro @@ -0,0 +1,12 @@ +--- +import {type videoConfig} from "@interfaces/video.ts"; + +const config: videoConfig = Astro.props.videoConfig; +console.log(config); +--- + + + diff --git a/src/interfaces/video.ts b/src/interfaces/video.ts new file mode 100644 index 0000000..7af5779 --- /dev/null +++ b/src/interfaces/video.ts @@ -0,0 +1,5 @@ +export interface videoConfig { + videoTitle?: string + videoPath: string; + videoType?: string; +} \ No newline at end of file diff --git a/src/pages/experience/osu-robotics-club/mars-rover-software-team-lead.astro b/src/pages/experience/osu-robotics-club/mars-rover-software-team-lead.astro index 9440caa..a7fc4c5 100644 --- a/src/pages/experience/osu-robotics-club/mars-rover-software-team-lead.astro +++ b/src/pages/experience/osu-robotics-club/mars-rover-software-team-lead.astro @@ -1,6 +1,245 @@ --- import ExperienceLayout from "@layouts/ExperienceLayout.astro"; +import Carousel from "@components/CustomCarousel/CustomCarousel.astro"; +import type {carouselGroup} from "@interfaces/image-carousel.ts"; +import YtVideo from "@components/YtVideo.astro"; +import type {videoConfig} from "@interfaces/video.ts"; + + + +const headerCarouselGroup: carouselGroup = { + animation: "slide", + images: [] +} + + +const videoList: videoConfig[] = [ + { + videoTitle: "Ground Station Software Quick Overview", + videoPath: "https://www.youtube-nocookie.com/embed/ZjGW-HWapVA" + }, + { + videoTitle: "Rover Software Environment And Full Code Overview", + videoPath: "https://www.youtube-nocookie.com/embed/sceA2ZbEV8Y" + } +] --- + + +

Ground Station Readouts & Features

+
    +
  • Clock
  • +
  • Event Timer
  • +
  • Status Indication +
      +
    • Rover Connection
    • +
    • Controller Connection Info
    • +
    • Radio Stats
    • +
    • GPS Stats
    • +
    • NVidia Jetson TX2 Computer Stats
    • +
    • Battery Voltage w/Low Battery Warning
    • +
    • Wheel Connections
    • +
    • Camera Connections
    • +
    +
  • +
  • Radio Direction Finding +
      +
    • Raw Radio RSSI Indication
    • +
    • Radio RSSI Pulse Frequency w/Validity Indication
    • +
    +
  • +
  • Arm +
      +
    • Special Movements +
        +
      • Stow Arm
      • +
      • Unstow Arm
      • +
      • Upright Arm
      • +
      +
    • +
    • Calibrate Arm
    • +
    • Clear Arm Fault
    • +
    • Reset Arm Motor Drivers
    • +
    • Task Movements +
        +
      • Approach Oxygen Tank
      • +
      • Depart Oxygen Tank
      • +
      • Approach Light Beacon
      • +
      • Depart Light Beacon
      • +
      +
    • +
    +
  • +
  • Mining/Science +
      +
    • Bucket Weight Measurement
    • +
    • Bucket Lift/Tilt Position Readouts
    • +
    • Preset Bucket Movements +
        +
      • Mining Transport
      • +
      • Mining Measure
      • +
      • Mining Scoop
      • +
      • Science Panorama
      • +
      • Mining Sample
      • +
      • Mining Probe
      • +
      +
    • +
    • Science Probe Readings +
        +
      • Temp in C
      • +
      • Moisture %
      • +
      • Loss Tangent
      • +
      • Soil Electrical Conductivity
      • +
      • Real Dielectric Permitivity
      • +
      • Imaginary Dielectric Permitivity
      • +
      +
    • +
    • Science Camera Controls +
        +
      • Video Output Selection +
          +
        • Network Video
        • +
        • Camera LCD
        • +
        +
      • +
      • Photo Controls +
          +
        • Zoom In One Step
        • +
        • Zoom Out One Step
        • +
        • Full Zoom In
        • +
        • Full Zoom Out
        • +
        • Shoot Photo
        • +
        +
      • +
      +
    • +
    +
  • +
  • SSH Console +
      +
    • SSH Terminal Display
    • +
    • SSH Command Entry
    • +
    • Preset Commands +
        +
      • Network Host Scan
      • +
      • List Wifi Networks
      • +
      • Equipment Login and Help
      • +
      • Equipment Logout
      • +
      • Equipment Status
      • +
      • Equipment Start
      • +
      • Equipment Stop
      • +
      +
    • +
    • Connect/Disconnect Rover Wifi by SSID
    • +
    +
  • +
  • Settings +
      +
    • Map Selection
    • +
    • Map Zoom Level
    • +
    • Rover Wifi Radio Channel Selection
    • +
    +
  • +
  • Mapping Display +
      +
    • Shows Google Map Terrain
    • +
    • Shows Rover Location And Orientation
    • +
    • Shows Rover GPS Coordinates
    • +
    • Shows Saved Waypoints
    • +
    +
  • +
  • Waypoint Entry / Editing +
      +
    • Name Entry For Landmarks
    • +
    • GPS Entry in Decimal
    • +
    • GPS Entry in Degree/Minute/Second
    • +
    • Waypoint Color Choice
    • +
    +
  • +
  • Navigation Waypoints +
      +
    • Shows And Allows Editing Of Nav Waypoints
    • +
    +
  • +
  • Landmark Waypoints +
      +
    • Shows And Allows Editing Of Landmark Waypoints
    • +
    +
  • +
  • Arm Joint Positions +
      +
    • Positions Of Six Arm Joints In Revolutions
    • +
    +
  • +
  • Gripper Joint Positions +
      +
    • Positions Shown As Raw Encoder Positions
    • +
    +
  • +
  • Arm Motor Drive Statuses +
      +
    • Communication/Movement/Fault Statuses For All Six Arm Joints
    • +
    +
  • +
  • Gripper Mode Readouts +
      +
    • Gripper Mode Control State
    • +
    +
  • +
  • Xbox Control Mode +
      +
    • Showed Whether Xbox Controller Moving Arm Or Mining
    • +
    +
  • +
  • Heading and Goal Indication w/Compass +
      +
    • Raw Heading Indication
    • +
    • Goal Indication (Unused)
    • +
    • Compass Heading Indication
    • +
    +
  • +
  • Low Resolution Mode +
      +
    • Controlled Low Resolution Fallback Mode During Radio Failure
    • +
    +
  • +
  • Current Speed +
      +
    • GPS Speed
    • +
    +
  • +
  • Speed Limit +
      +
    • % Of Max Rover Speed As Limit
    • +
    +
  • +
  • Tank Drive Output +
      +
    • % Of Total Power To Left/Right Rover Drive Systems
    • +
    +
  • +
  • IMU Readings +
      +
    • Pitch/Roll Readings In +/- 1 Readout
    • +
    +
  • +
  • Triple Camera Displays +
      +
    • One Primary Video Display
    • +
    • Two Secondary Video Displays
    • +
    • Named Display For Currently Viewed Camera
    • +
    • Ability To Set Each Display To Any Camera
    • +
    • Ability to Disable Any Camera
    • +
    • Ability to Pan/Tilt Any Camera
    • +
    +
  • +
+

Rover Demos and Software Overviews

+ {videoList.map((video) => ( +

{video.videoTitle}

+ + ))} +
\ No newline at end of file