Skip to content

Commit

Permalink
Coffee Shop AI Festival (#208)
Browse files Browse the repository at this point in the history
* build: coffee shop

* refactor: get rid of datahub shit

* refactor: use tf2_ros.

* refactor: remove random directory?

* refactor: get rid of tf wrapper service.

* refactor: get rid of empty subpackage.

* refactor: move main.py into nodes.

* refactor: remove leftover markdown file.

* refactor: use shapely directly.

* refactor: remove lasr_shapely.

* refactor: use tf2_ros again.

* build: no need to generate_messages().

* build: aruco_service

* build: no need to depend on aruco_msgs.

* refactor: remove leftover configs.

* refactor: store rviz config in its own directory.

* refactor: don't wait for old services.

* refactor: check_table.

* refactor: get rid of commented code.

* demo.

* fix: don't prefix frames with '/'

* Update launch.

* refactor: cleaning up.

* refactor: more cleaning up.

* refactor: more more more.

* more.

* feat: update interfaces.

* more fixes.

* feat: GoIdle.

* feat: loop

* a lot of shit.

* so close.

* fix: reset counter.

* fix: only reset counter on 'correct' output.

* Final changes.
  • Loading branch information
jws-1 authored Jun 3, 2024
1 parent 09bae51 commit ffccf5c
Show file tree
Hide file tree
Showing 97 changed files with 2,673 additions and 4,864 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,20 @@ import { SetStateAction, useState } from "react";
type State = "edit" | "confirm";

type Item =
| "coffee"
| "biscuits"
| "sandwich"
| "orange_juice"
| "smoothie"
| "granola";
| "cup"
// | "banana"
| "bottle";

const items: Item[] = [
"coffee",
"biscuits",
"sandwich",
"orange_juice",
"smoothie",
"granola",
"cup",
// "banana",
"bottle",
];

const NAMES: { [key in Item]: string } = {
coffee: 'Coffee',
biscuits: 'Biscuits',
sandwich: 'Sandwich',
orange_juice: 'Juice',
smoothie: 'Smoothie',
granola: 'Granola'
cup: 'Coffee',
// banana: 'Banana',
bottle: 'Coca Cola'
}

export function CreateOrder({ finish }: { finish: (order: Item[]) => void }) {
Expand Down Expand Up @@ -118,14 +109,9 @@ function EditMode({
return (
<>
<div className="flex flex-row gap-4 flex-[2] min-h-0">
<Card item="coffee" order={order} setOrder={setOrder} />
<Card item="sandwich" order={order} setOrder={setOrder} />
<Card item="smoothie" order={order} setOrder={setOrder} />
</div>
<div className="flex flex-row gap-4 flex-[2] min-h-0">
<Card item="orange_juice" order={order} setOrder={setOrder} />
<Card item="granola" order={order} setOrder={setOrder} />
<Card item="biscuits" order={order} setOrder={setOrder} />
<Card item="cup" order={order} setOrder={setOrder} />
{/* <Card item="banana" order={order} setOrder={setOrder} /> */}
<Card item="bottle" order={order} setOrder={setOrder} />
</div>
<div className="flex flex-row gap-4 flex-1">
<div
Expand Down
Loading

0 comments on commit ffccf5c

Please sign in to comment.