Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update cb model naming #81

Merged
merged 7 commits into from
Sep 24, 2024
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
128 changes: 76 additions & 52 deletions package-lock.json

Large diffs are not rendered by default.

Binary file removed public/models/UniversalRobots_UR10.glb
Binary file not shown.
Binary file added public/models/UniversalRobots_UR10CB.glb
Binary file not shown.
Binary file modified public/models/UniversalRobots_UR3e.glb
Binary file not shown.
Binary file removed public/models/UniversalRobots_UR5.glb
Binary file not shown.
Binary file added public/models/UniversalRobots_UR5CB.glb
Binary file not shown.
18 changes: 9 additions & 9 deletions src/components/robots/SupportedRobot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import { KUKA_KR16_R2010_2 } from "./KUKA_KR16_R2010_2"
import { KUKA_KR210_R2700 } from "./KUKA_KR210_R2700"
import { KUKA_KR270_R2700 } from "./KUKA_KR270_R2700"
import { KUKA_KR6_R700_2 } from "./KUKA_KR6_R700_2"
import { UniversalRobots_UR10 } from "./UniversalRobots_UR10"
import { UniversalRobots_UR10CB } from "./UniversalRobots_UR10CB"
import { UniversalRobots_UR10e } from "./UniversalRobots_UR10e"
import { UniversalRobots_UR3 } from "./UniversalRobots_UR3"
import { UniversalRobots_UR3CB } from "./UniversalRobots_UR3CB"
import { UniversalRobots_UR3e } from "./UniversalRobots_UR3e"
import { UniversalRobots_UR5 } from "./UniversalRobots_UR5"
import { UniversalRobots_UR5CB } from "./UniversalRobots_UR5CB"
import { UniversalRobots_UR5e } from "./UniversalRobots_UR5e"
import { Yaskawa_AR1440 } from "./Yaskawa_AR1440"
import { Yaskawa_AR1730 } from "./Yaskawa_AR1730"
Expand Down Expand Up @@ -156,20 +156,20 @@ export const SupportedRobot = externalizeComponent(
}, [isGhost])

switch (modelFromController) {
case "UniversalRobots_UR3":
Robot = UniversalRobots_UR3
case "UniversalRobots_UR3CB":
Robot = UniversalRobots_UR3CB
break
case "UniversalRobots_UR3e":
Robot = UniversalRobots_UR3e
break
case "UniversalRobots_UR5":
Robot = UniversalRobots_UR5
case "UniversalRobots_UR5CB":
Robot = UniversalRobots_UR5CB
break
case "UniversalRobots_UR5e":
Robot = UniversalRobots_UR5e
break
case "UniversalRobots_UR10":
Robot = UniversalRobots_UR10
case "UniversalRobots_UR10CB":
Robot = UniversalRobots_UR10CB
break
case "UniversalRobots_UR10e":
Robot = UniversalRobots_UR10e
Expand Down
305 changes: 0 additions & 305 deletions src/components/robots/UniversalRobots_UR10.tsx

This file was deleted.

Loading