Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "Node.js & TypeScript",
"image": "mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm",
"postCreateCommand": "sudo apt update && curl -1sLf 'https://dl.cloudsmith.io/public/evilmartians/lefthook/setup.deb.sh' | sudo -E bash && sudo apt install lefthook && npm install -g pnpm && lefthook install",
"postStartCommand": "pnpm install"
"postCreateCommand": "sudo apt update && curl -1sLf 'https://dl.cloudsmith.io/public/evilmartians/lefthook/setup.deb.sh' | sudo -E bash && sudo apt install lefthook && npm install -g pnpm && lefthook install && pnpm install"
}
4 changes: 3 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules# Ignore artifacts:
node_modules
build
coverage
.pnpm-store
public
11 changes: 0 additions & 11 deletions Dockerfile

This file was deleted.

10 changes: 0 additions & 10 deletions docker-compose.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions lefthook.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pre-commit:
commands:
prettier:
run: npx prettier . --write
run: npx prettier . --write --ignore-path .prettierignore
stage_fixed: true
lint:
run: npx eslint . --fix
run: npx eslint . --fix --ignore-pattern "build/**" --ignore-pattern "node_modules/**" --ignore-pattern "coverage/**" --ignore-pattern ".pnpm-store/**" --ignore-pattern "public/**"
stage_fixed: true
Binary file removed src/assets/image/AgroPickerBluBg.png
Binary file not shown.
Binary file removed src/assets/image/Agroarm2DModel-old.png
Binary file not shown.
Binary file removed src/assets/image/Agroarm2DModel-old2.png
Binary file not shown.
Binary file removed src/assets/image/Agroarm2DModel.png
Binary file not shown.
Binary file removed src/assets/image/FarmPath.jpeg
Binary file not shown.
3 changes: 0 additions & 3 deletions src/assets/image/FarmPath22.svg

This file was deleted.

5 changes: 0 additions & 5 deletions src/assets/image/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import AgroponicsFarm from './AgroponicsRiver.jpeg'
import AgrobotMoving from './Agrobot-Moving.png'
import FarmPath from './FarmPath.jpeg'
import AgrobotModel2D from './AgrobotModel2D.jpg'
import AgroponicModel2D from './AgroponicModel2D.png'
import AgroArm2DModel from './Agroarm2DModel.png'
import apsc from './apsc.png'
import AGROBOT_ICON from './AGROBOT_ICON.png'
import chbe from './chbe.png'
Expand All @@ -19,16 +17,13 @@ import verdi from './verdi.png'
import agrobot from './UBC_AGROBOTS.png'
import HomeFarm from './homeFarm.png'
import LOGO from './UBC_AGROBOTS.png'

import BP1Team from './BP1Team.webp'

export {
AGROBOT_ICON,
AgrobotModel2D,
AgrobotMoving,
AgroponicsFarm,
AgroArm2DModel,
FarmPath,
AgroponicModel2D,
apsc,
chbe,
Expand Down
4 changes: 0 additions & 4 deletions src/assets/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import {
AgroponicModel2D,
AgroArm2DModel,
AgrobotMoving,
AgroponicsFarm,
FarmPath,
AgrobotModel2D,
AGROBOT_ICON,
apsc,
Expand All @@ -28,8 +26,6 @@ export {
AgrobotMoving,
AgroponicsFarm,
AgrobotModel2D,
FarmPath,
AgroArm2DModel,
AGROBOT_ICON,
apsc,
chbe,
Expand Down
27 changes: 2 additions & 25 deletions src/components/home/HomeProjects.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
import React from 'react'
import { useSpring, animated } from 'react-spring'
import { useState, useEffect, useRef } from 'react'
import {
AgrobotModelView,
AgroponicModelView,
AgroPickerModelView,
} from '../models'
import { AgrobotModel2D, AgroArm2DModel, AgroponicModel2D } from '../../assets'
import { AgrobotModelView, AgroponicModelView } from '../models'
import { AgrobotModel2D, AgroponicModel2D } from '../../assets'
import { useMediaQuery } from 'react-responsive'
import { Link } from 'react-router-dom'

Expand All @@ -32,17 +28,6 @@ const AgroponicMod = (
/>
)

const AgropickerMod = (
<AgroPickerModelView
id={'agroPickerModelView'}
gsapType={'agroPickerModelGsap'}
scale={[3, 3, 3]}
cameraPosition={[2, 1, -3.5]}
groupPosition={[0, 0, 0]}
vectorPosition={[0.2, 0.8, 0]}
/>
)

const projects = [
{
ProjectName: 'AgroBot',
Expand All @@ -60,14 +45,6 @@ const projects = [
background: { background: '#cdff70' },
href: '/agroponics',
},
{
ProjectName: 'AgroPicker',
Text: 'An autonomous robotic arm capable of detecting fruits, assessing their ripeness, and harvesting them efficiently. The robotic arm will be attached to a mobile robot intended for on-field navigation. This system aims to improve the efficiency and accuracy of fruit harvesting, reduce labor costs, and minimize fruit damage. ',
ModelComponent: AgropickerMod,
MobileImg: AgroArm2DModel,
background: { background: '#cdff70' },
href: '#',
},
]

function Project({
Expand Down
52 changes: 0 additions & 52 deletions src/components/models/AgroPickerModelView.js

This file was deleted.

3 changes: 1 addition & 2 deletions src/components/models/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import AgrobotModelView from './AgrobotModelView'
import AgroPickerModelView from './AgroPickerModelView'
import AgroponicModelView from './AgroponicModelView'

export { AgrobotModelView, AgroPickerModelView, AgroponicModelView }
export { AgrobotModelView, AgroponicModelView }
29 changes: 0 additions & 29 deletions src/components/models/meshAndMaterials/AgropickerModel.js

This file was deleted.

24 changes: 0 additions & 24 deletions src/components/projects/agrobots/subteams/Extermination.js

This file was deleted.

24 changes: 24 additions & 0 deletions src/components/projects/agrobots/subteams/Mechatronics.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import SubteamSection from '../../utils/SubteamSection'
import TextChild from '../../utils/TextChild'
import ImageChild from '../../utils/ImageChild'
const Mechatronics = () => {
return (
<section id="mechatronics-section" className="flex w-[100lvw] ">
<SubteamSection
id={'mechatronicsSection'}
rightChild={
<TextChild
id={'mechatronicsText'}
header={'Mechatronics'}
body={
'The Mechatronics sub-team tackles multidisciplinary design challenges to create precision robotic capabilities. The team designs mechatronic systems, implementing control algorithms based on real-time sensor data to provide a multitude of capabilities for the Agrobot.'
}
/>
}
leftChild={<ImageChild />}
/>
</section>
)
}

export default Mechatronics
20 changes: 10 additions & 10 deletions src/components/recruitment/SubteamOverlay.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,15 +158,15 @@ function SubteamOverlay({ setOverlayId, overlayId }) {
],
}
break
case 'extermination':
case 'mechatronics':
content = {
title: 'Extermination',
title: 'Mechatronics',
description:
'The Extermination sub-team designs, builds, and programs precision weed elimination systems that focus on eco-friendly weed management and crop protection. Our active projects include a system for the targeted deployment of herbicide and a laser weeding system based on a 2 axis gantry to burn weeds with a high powered laser. Our project is very self contained and all encompassing, thus requiring members from various engineering disciplines.',
'The Mechatronics sub-team designs, builds, and programs the AgroBot’s additional robotic capabilities to allow it to fulfill various functions. Our active projects include a system for the targeted deployment of herbicide and a laser weeding system based on a 2 axis gantry to burn weeds with a high powered laser. Our projects are very self contained and all encompassing, thus requiring members from various engineering disciplines.',
responsibilities: [
'Designing mechanical, electrical, and software elements of the extermination system',
'Designing mechanical, electrical, and software elements of the mechatronic systems',
'Prototyping and Iterating on designs',
'Integrating Extermination Systems with Agrobot’s other subteams, notably the Applied AI, Mechanical, and Electrical subteams',
'Integrating Mechatronics Systems with Agrobot’s other subteams, notably the Applied AI, Mechanical, and Electrical subteams',
],
technologies: [
'SolidWorks, Altium, Kicad',
Expand All @@ -176,7 +176,7 @@ function SubteamOverlay({ setOverlayId, overlayId }) {
what_you_will_learn: [
{
bold: 'Mechanical Design: ',
text: 'Master the design of precision extermination systems using SolidWorks',
text: 'Master the design of precision electromechanical systems using SolidWorks',
},
{
bold: 'Electrical Design: ',
Expand All @@ -192,7 +192,7 @@ function SubteamOverlay({ setOverlayId, overlayId }) {
},
{
bold: 'Integration & Control: ',
text: 'Integrate data from crop detection models and implement control algorithms for accurate extermination methods',
text: 'Integrate data from crop detection models and implement control algorithms for precise motion',
},
{
bold: 'Mitigate Environmental Impact: ',
Expand All @@ -203,7 +203,7 @@ function SubteamOverlay({ setOverlayId, overlayId }) {
text: 'Gain experience with tools such as Arduino and Altium or Kicad for firmware/electrical development and SolidWorks for mechanical design',
},
],
note: 'Members are not required to be fluent in all technologies and fields described. Having a strong focus in one aspect of the system is useful and sought after. Members are also welcome to dabble in all aspects of the system (MECH,ELEC, & Software). ',
note: 'Members are not required to be fluent in all technologies and fields described. Having a strong focus in one aspect of the system is useful and sought after. Members are also welcome to dabble in all aspects of the system (MECH,ELEC, & Software)',
}
break
case 'navigation_embedded_systems':
Expand Down Expand Up @@ -340,9 +340,9 @@ function SubteamOverlay({ setOverlayId, overlayId }) {
content = {
title: 'Agricultural Research',
description:
'The Agricultural Research sub-team provides critical agricultural knowledge and conducts research to support the development of AgroBot, AgroPonics, and AgroPicker, ensuring our projects are informed by the latest advancements in the field.',
'The Agricultural Research sub-team provides critical agricultural knowledge and conducts research to support the development of AgroBot and AgroPonics, ensuring our projects are informed by the latest advancements in the field.',
responsibilities: [
'Conducting agricultural research to support the development of AgroBot, AgroPonics, and AgroPicker.',
'Conducting agricultural research to support the development of AgroBot and AgroPonics.',
'Providing domain-specific knowledge and expertise to guide project designs and improvements.',
'Reaching out to industry professionals and experts for insights and information on agricultural practices.',
'Collaborating with other sub-teams to ensure agricultural accuracy and relevance in all projects.',
Expand Down
14 changes: 7 additions & 7 deletions src/pages/Recruitment.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ function Recruitment() {
'The System Architecture sub-team integrates various components and optimizes deployment infrastructure for production, focusing on robust design and efficient communication between systems.',
}

const extermination = {
overlayId: 'extermination',
const mechatronics = {
overlayId: 'mechatronics',
bg: '#1F5200',
emoji: '🌱',
title: 'Extermination',
emoji: '🦾',
title: 'Mechatronics',
description:
'The Extermination sub-team tackles multidisciplinary design challenges to create precision extermination mechanisms. They focus on minimizing environmental impact while safeguarding crops from damage. The team designs mechatronic systems, implementing control algorithms based on real-time sensor data to ensure effective weed elimination. Extermination’s efforts are crucial in enabling AgroBot’s weed management capabilities, improving crop yields, and reducing labor and chemical usage.',
'The Mechatronics sub-team tackles multidisciplinary design challenges to create precision robotic capabilities. The team designs mechatronic systems, implementing control algorithms based on real-time sensor data to provide a multitude of capabilities for the Agrobot.',
}

const navigation_embedded_systems = {
Expand Down Expand Up @@ -143,7 +143,7 @@ function Recruitment() {
emoji: '📝',
title: 'Agricultural Research',
description:
'The Agricultural Research sub-team provides critical agricultural knowledge and conducts research to support the development of AgroBot, AgroPonics, and AgroPicker, ensuring our projects are informed by the latest advancements in the field.',
'The Agricultural Research sub-team provides critical agricultural knowledge and conducts research to support the development of AgroBot, and Agroponics, ensuring our projects are informed by the latest advancements in the field.',
}

const finance = {
Expand Down Expand Up @@ -181,7 +181,7 @@ function Recruitment() {
chassis_powertrain,
electrical,
system_architecture,
extermination,
mechatronics,
navigation_embedded_systems,
],
},
Expand Down