Return to Video

36C3 - How (not) to build autonomous robots

  • 0:00 - 0:18
    36C3 preroll music
  • 0:18 - 0:25
    Herald: So Sasha is a doctor with a weak
    spot for LEDs and, completely abstains
  • 0:25 - 0:31
    from HDMI adapters these days. He wanted
    to share with us the experience of
  • 0:31 - 0:36
    attempting to build a delivery robots in
    the past 2.5 years in the Bay Area. And
  • 0:36 - 0:39
    so, yeah, let's give him a big welcome.
  • 0:46 - 0:52
    Sasha: Thank you, Mikael. So just a show
    of hands who here has built robots before?
  • 0:53 - 0:56
    Well, it's quite a few people. What about
    autonomous robots, anybody built
  • 0:56 - 1:03
    autonomous robots? Still quite a few
    people. Well, today I'm gonna be sharing
  • 1:03 - 1:09
    with you the story of how not to build
    autonomous robots. Over the course of the
  • 1:09 - 1:13
    past two and a half years together with my
    team, we built the world's largest robotic
  • 1:13 - 1:18
    delivery infrastructure. We went from a
    concept sketch to a commercially viable
  • 1:18 - 1:23
    service running in three cities. We've had
    lots of successes and one or two failures.
  • 1:27 - 1:30
    So over the course of the next 45 minutes,
    I'm going to be sharing with you a couple
  • 1:30 - 1:33
    of different stories. First of all, I'm
    going to briefly introduce myself and I'm
  • 1:33 - 1:37
    going to share the story of how we built
    robots, the different prototypes we had,
  • 1:37 - 1:41
    the different iterations that we tried.
    Then I'm going to jump on manufacturing.
  • 1:41 - 1:44
    We actually went to China and scaled up
    our manufacturing, our production line.
  • 1:44 - 1:48
    I'm gonna share with you the story of how
    he did that. And finally, I'm gonna talk
  • 1:48 - 1:52
    about A.I. and all the magic that is
    artificial intelligence. So we'll be able
  • 1:52 - 1:58
    to see how we were able to crack that
    puzzle. So without further ado, let's do
  • 1:58 - 2:04
    the introduction. This is me. Right here.
    I like to build things. I built my first
  • 2:04 - 2:08
    website when I was eleven and I built my
    first business when I was 13. I was the
  • 2:08 - 2:12
    iPhone repair business that I was running
    in my bedroom. I've been really, really
  • 2:12 - 2:16
    passionate about building things and over
    the course of many years I built a couple
  • 2:16 - 2:20
    of different startups. One of them was a
    food delivery platform. We ended up
  • 2:20 - 2:24
    running three different cities and doing
    hundreds of deliveries a day. By the time
  • 2:24 - 2:30
    I was 19. So I got to experience startups
    pretty early on. I've been really enjoying
  • 2:30 - 2:33
    that time. After this food delivery
    startup failed I went to some
  • 2:33 - 2:38
    cryptocurrency startups and then went to
    work for big corporations. And that's
  • 2:38 - 2:45
    actually very boring. I dorned my office
    with some supplementary graphics. After a
  • 2:45 - 2:48
    while, I got a little bit bored of this
    corporate life. It wasn't really for me.
  • 2:48 - 2:52
    So I decided to get a one way ticket to
    San Francisco. So I ended up in San
  • 2:52 - 2:57
    Francisco staying on a friend's couch, not
    really knowing anybody. And I was really
  • 2:57 - 3:01
    fortunate to be introduced to an
    incredible group of people. And over the
  • 3:01 - 3:07
    course of about two and a half years, we
    started to take a concepts. A scatch that
  • 3:07 - 3:11
    we had and we built up a robot. At first
    it was something that barely even worked.
  • 3:11 - 3:14
    But then we gradually got to something
    that worked a little bit better and better
  • 3:14 - 3:19
    and better. After a while, we actually
    managed to build a whole fleet of robots.
  • 3:19 - 3:24
    I think at the peak we had 150 robots. So
    it was a really, really cool experience.
  • 3:24 - 3:27
    And during that time, I got to meet the
    lieutenant governor of California, how to
  • 3:27 - 3:31
    figure out how to do manufacturing in
    China and most importantly, work with an
  • 3:31 - 3:36
    incredible team which who I had a lot of
    fun with building these robots. So, yeah,
  • 3:36 - 3:40
    it's a little bit about me and what we
    were building. And maybe now we can jump
  • 3:40 - 3:46
    in to how not to build robots. So this is
    our very first robot,this is a really
  • 3:46 - 3:51
    small prototype. We built is basically a
    shopping basket on wheels. There is a RC
  • 3:51 - 3:56
    car there below, there's a shopping basket
    and Arduino Raspberry Pi. The thing barely
  • 3:56 - 4:00
    work. Honestly, it was really, really
    hacky. And what ended up happening is that
  • 4:00 - 4:04
    most of the time we just dropped off the
    robot in front of the customer that
  • 4:04 - 4:07
    literally just dropped it in front of the
    door just to see if they would like order
  • 4:07 - 4:11
    food with robots. The answer was
    overwhelmingly yes. So we decided to spend
  • 4:11 - 4:15
    some more time building our technology.
    There is a small - I don't know if you can
  • 4:15 - 4:19
    see it here. Yeah, there you go. There's a
    small orange holder, that's actually a
  • 4:19 - 4:24
    phone holder. So our very first prototype,
    it had a phone sitting on top of it doing
  • 4:24 - 4:31
    a video call so that somebody can remotely
    control it from Colombia. So we really
  • 4:31 - 4:34
    started out small, really humble just to
    see if it would work. And that's something
  • 4:34 - 4:38
    that we did a lot of this being really
    resourceful in terms of trying out things.
  • 4:38 - 4:43
    For about a year of this, we moved on to
    something that looks a little bit more
  • 4:43 - 4:46
    like this. So we started playing around
    with the shape. We start playing around
  • 4:46 - 4:50
    with the design. We noticed that people
    responded really positively to faces and
  • 4:50 - 4:57
    to like things that looked like people. So
    we actually built in a face. So we took
  • 4:57 - 5:01
    this little animation that we built and we
    put it onto the robot and there's actually
  • 5:01 - 5:06
    really, really positive. We had a lot of
    good responses from the community, a lot
  • 5:06 - 5:10
    of great feedback. And what we've seen is
    that people really love to have robots
  • 5:10 - 5:13
    that are kind of friendly. There was
    another company that deployed robots that
  • 5:13 - 5:18
    looked like vending machines or almost
    like tanks in San Francisco, and they got
  • 5:18 - 5:22
    banned really, really quickly. So we
    decided that we would do our best to make
  • 5:22 - 5:27
    sure our robots were as friendly as
    possible instead of threatening and scary.
  • 5:27 - 5:32
    So that was a very important part of it.
    After another year, we ended up scaling up
  • 5:32 - 5:38
    our production and we went to China to
    manufacture robots. And here this is what
  • 5:38 - 5:40
    we ended up doing.
    music
  • 5:40 - 5:43
    It's actually, a cool robot. We built it
    entirely from scratch. We got our own
  • 5:43 - 5:49
    chassis, our cabin, our own compute
    module. Basically just about everything.
  • 5:49 - 5:56
    That was a really cool experience. That
    was me. So yeah, that's a robot. That's
  • 6:05 - 6:11
    the one we were rolling around the past
    six months. And we also had some failures
  • 6:11 - 6:17
    in between, as you saw previously, this
    one. So we actually tried a couple of
  • 6:17 - 6:21
    different concepts. So this was one of
    them. This was a Kiwi trike. We thought
  • 6:21 - 6:25
    that maybe we can figure out how to have
    robots do part of the delivery and then
  • 6:25 - 6:30
    trikes to another part of the delivery. We
    also tried to do restaurant robots. We had
  • 6:30 - 6:34
    like robots that sit in the restaurant and
    bring food out from the counter to your
  • 6:34 - 6:38
    doorstep. But what ended up happening is
    that it was actually pretty inefficient
  • 6:38 - 6:42
    and people would wait a really long time
    for their deliveries. So it was very
  • 6:42 - 6:45
    important for us to try a lot of different
    things. We tried this robot, the kiwi
  • 6:45 - 6:50
    TRIKE that not quite worked out as we
    expected. We tried a restaurant robot. We
  • 6:50 - 6:55
    tried a box that would sit behind our
    robot. We tryed a hub that would have like
  • 6:55 - 6:59
    of a bunch of different robots inside of
    it. So we really, really tried a lot. And
  • 6:59 - 7:03
    with every iteration, we constantly tried
    new techniques we costantly tried new
  • 7:03 - 7:07
    manufacturing methods. We really tried
    just about everything to see if we can
  • 7:07 - 7:11
    make it work. And what we ended up
    building is a platform that was really
  • 7:11 - 7:17
    loved by people. We built a platform that
    students adored. That was our primary
  • 7:17 - 7:21
    demographic we're delivering to college
    campuses and students really loved our
  • 7:21 - 7:25
    products. We actually had people dressed
    up as Halloween costumes. We had entire
  • 7:25 - 7:30
    classes go for Halloween in like kiwi bot
    costumes. So that was really, really cool
  • 7:30 - 7:34
    stuff. Had a lot of great support. A lot
    of trust from the community as well. And
  • 7:34 - 7:37
    that's like coming back to the design.
    That aspect of having a friendly robot,
  • 7:37 - 7:41
    that meshes seamlessly within the fabric
    of a community is like super, super
  • 7:41 - 7:45
    important. We've seen other robots around
    and they were maybe not as friendly, maybe
  • 7:45 - 7:49
    they looked a little scary. Maybe they had
    something that was a bit off or maybe a
  • 7:49 - 7:53
    little too industrial. But having like a
    friendly robot that could become a meme
  • 7:53 - 7:56
    that was something truly revolutionary,
    something that really changed the
  • 7:56 - 8:00
    landscape. And as a matter of fact, like
    these cute bots are the only robots that
  • 8:00 - 8:07
    are deployed somewhere in the world where
    they coexist. Day to day with a community,
  • 8:07 - 8:10
    with people. Like you have some limited
    deployments of robots here and there,
  • 8:10 - 8:14
    maybe have a Roomba at home or some like
    that. But you don't have any large scale
  • 8:14 - 8:20
    deployment. We have robots and people
    living in the same city all the time. So,
  • 8:20 - 8:23
    of course, it took us a while to figure
    out what to do and how to do it. At first
  • 8:23 - 8:27
    one of our models was to have robots
    deliver the entire meal, like go from the
  • 8:27 - 8:32
    restaurant all the way to the customer and
    we would have a robot do that delivery.
  • 8:32 - 8:34
    Turns out, it was pretty inefficient.
    People would wait like 60 minutes, 90
  • 8:34 - 8:39
    minutes for their delivery. And we
    realized that maybe automating all of that
  • 8:39 - 8:44
    was not the most efficient approach. So
    what we instead did is a multi-modal
  • 8:44 - 8:47
    approach where we had people and robots.
    This is actually a really cool
  • 8:47 - 8:52
    visualization that my team came up with.
    The blue lines are robots. So these are
  • 8:52 - 8:56
    robots roaming around our Berkeley
    coverage area and the yellow lines are
  • 8:56 - 9:00
    people. So how this would work is that
    people would go to restaurants, they pick
  • 9:00 - 9:04
    up the food and they take you to a
    cluster. They take it to a cluster where
  • 9:04 - 9:07
    you had a bunch of robots, they loaded
    into the robot and then the robot would
  • 9:07 - 9:11
    actually do the last few hundred meters to
    your doorstep. And because we were able to
  • 9:11 - 9:17
    do this, we were able to go and build a
    platform, that handled hundreds of orders a
  • 9:17 - 9:22
    day with very, very few people. I mean,
    labor costs are really high for delivery.
  • 9:22 - 9:25
    You'd be paying somewhere between five and
    thirteen dollars to get a meal delivered
  • 9:25 - 9:29
    in the U.S. And as a student, that's like
    super expensive. That's not something that
  • 9:29 - 9:32
    you can afford do every day. And also
    there is a pretty big shortage of people
  • 9:32 - 9:35
    who want to do this job in the first
    place. The trend is really high. People
  • 9:35 - 9:39
    are leaving all the time because they
    don't like to like sit in a car all day
  • 9:39 - 9:42
    and deliver food. So that's why we have
    this parallel like this multi-modal
  • 9:42 - 9:47
    approach where the people are biking around,
    they're enjoying their time outside and
  • 9:47 - 9:51
    the robots are actually doing other boring
    stuff like the waiting. So the robot would
  • 9:51 - 9:55
    go up to your doorstep and would wait for
    you to put on your pants, your shoes and
  • 9:55 - 9:58
    actually walk outside. So that way we were
    able to change the dynamic. We're able to
  • 9:58 - 10:03
    change our deficiency from one or two
    deliveries an hour, as you would have with
  • 10:03 - 10:08
    like a traditional delivery service to as
    much as 15 deliveries an hour per person.
  • 10:08 - 10:11
    So it made the delivery far more
    affordable and we were able to offer
  • 10:11 - 10:17
    delivery at just one dollar a delivery,
    which is a cost that changes completely
  • 10:17 - 10:22
    the way people approach delivery. In fact,
    if we look our top 20 percent of users,
  • 10:22 - 10:27
    they were ordering over 14 times a week.
    So they were very, very happy that they
  • 10:27 - 10:31
    could get whatever they wanted very
    quickly. Of course, not everybody was
  • 10:31 - 10:35
    super happy. So we did have some people
    that didn't fully appreciate the magic
  • 10:35 - 10:41
    that is kiwi bot. So we did have one
    person try to steal it, but they didn't
  • 10:41 - 10:48
    get away with it. We found them pretty
    quickly. They hid it in the trunk. Not a
  • 10:48 - 10:56
    very smart move. We ended up finding it with
    G.P.S. and also triangulating the Wi-Fi.
  • 10:56 - 11:01
    So this guy decided to steal it because he
    doesn't like robots. I don't know why, but
  • 11:01 - 11:07
    he was clearly very passionate about that
    topic. And he stole it and now he's in
  • 11:07 - 11:14
    jail. So, yeah, don't steal robots. So
    maybe some conclusions from our robot
  • 11:14 - 11:18
    part, like from building robots, from
    figuring out like what to do and what not
  • 11:18 - 11:22
    to do. Really important thing that we do a
    lot in software and maybe not as much
  • 11:22 - 11:27
    hardware is iteration. Like we iterated
    through three major revisions and like
  • 11:27 - 11:32
    lots of small revisions during a really
    small period of time. It was really
  • 11:32 - 11:36
    interesting to see like that transition.
    Every single time we try something new, we
  • 11:36 - 11:40
    try it maybe for like 20 robots at a time,
    like not our whole fleet. We just try for
  • 11:40 - 11:44
    a small portion of our fleet and that we
    were able to iterate really quickly and
  • 11:44 - 11:49
    see what sensors worked or cameras worked.
    And just to see what we could do in order
  • 11:49 - 11:55
    to grow the products, it was very
    important to iterate. Communication.
  • 11:55 - 12:00
    Communication is absolutely fundamental.
    And not only communication like inside the
  • 12:00 - 12:03
    company or anything, but more importantly,
    communication with your community. Because
  • 12:03 - 12:07
    we weren't just building a product in
    isolation. We were building a product for
  • 12:07 - 12:12
    people who live in a city, who have an
    established life. And we're kind of
  • 12:12 - 12:15
    intruding into their lives by bringing in
    a new product that takes the sidewalks. So
  • 12:15 - 12:20
    communicating what we're doing, showing
    them what this is and what this robot does
  • 12:20 - 12:24
    is super important. Actually, very early
    on our designs have no text on it. They
  • 12:24 - 12:29
    had like no information it was just like a
    basket case on RC car. And people were
  • 12:29 - 12:32
    like really confused. The police were
    like: "Hey, what is this?", so we had to
  • 12:32 - 12:36
    add a lot of communication, we had to put
    food delivery on the robots really
  • 12:36 - 12:39
    clearly, we had to add a license plate
    with like a phone number that somebody
  • 12:39 - 12:43
    could reach out to us. So communication is
    very, very, very important when it comes
  • 12:43 - 12:50
    to robots. Also: Scaling hardware is hard,
    super hard. I mean, it was crazy. When we
  • 12:50 - 12:55
    first started it was just Arduinos and
    Raspberry Pis and that did not scale
  • 12:55 - 13:00
    really well. Like, sure, we could have
    maybe 10 or 20 units at once. But then how
  • 13:00 - 13:05
    do you handle updates? How do you handle
    those weird things that happen all the
  • 13:05 - 13:09
    time? So it was really challenging to do
    this. We actually killed a bunch of SD
  • 13:09 - 13:13
    cards. Didn't really know you could
    destroy SD cards, but you can. And we
  • 13:13 - 13:17
    learned a lot of things about hardware
    pushing it beyond its normal boundaries.
  • 13:17 - 13:21
    So yeah, iteration, super important.
    Communication is key, like getting buy in
  • 13:21 - 13:26
    from the community and scaling hardware is
    super, super hard. That's something we
  • 13:26 - 13:33
    actually figured out how to solve by going
    into China. So how to do or how not to do
  • 13:33 - 13:42
    manufacturing? So as every China story
    goes, I hopped on a plane and I ended up
  • 13:42 - 13:46
    in China. And it's really interesting to
    see because like you have this perception
  • 13:46 - 13:51
    of China from the media, you have this
    idea of what it would look like. But the
  • 13:51 - 13:56
    reality is it doesn't look anything like
    what you would expect. It was a completely
  • 13:56 - 14:00
    different world. It was at the same time
    Bladerunner and like the most modern city
  • 14:00 - 14:06
    in the world and it was truly an awesome
    experience. I highly recommend anybody who
  • 14:06 - 14:11
    has the opportunity to go in and explore
    the world. But of course, the culture is a
  • 14:11 - 14:15
    little bit different. We were surprised to
    see some things happening there. Was a
  • 14:15 - 14:19
    weird dichotomy between communism and
    consumerism. This is kind of interesting
  • 14:19 - 14:28
    to see that sometimes. But the reason why
    we came to China is for manufacturing and
  • 14:28 - 14:32
    there is no better place for that than
    Shenzhen. In Shenzhen, you have
  • 14:32 - 14:38
    Huaqiangbei. This huge market. It's a
    market that spans several city blocks and
  • 14:38 - 14:42
    you can actually find anything and
    everything you want. We were able to get
  • 14:42 - 14:47
    components super quickly, super easily.
    And you could spend days just walking to a
  • 14:47 - 14:52
    single building finding different things.
    There were entire city blocks dedicated to
  • 14:52 - 14:58
    like just LEDs or just connectors or just
    processors. It was absolutely crazy. You
  • 14:58 - 15:02
    could really, really, really get lost
    inside of these mazes. And what was really
  • 15:02 - 15:06
    incredible to see and something I've never
    seen anywhere else in the world is just
  • 15:06 - 15:13
    how easy it is to get hardware, to get
    things, to get parts. It was super easy.
  • 15:13 - 15:17
    Just go in and get something and you could
    get it at one piece, two pieces, a
  • 15:17 - 15:21
    thousand pieces like instantly. If you're
    anywhere else in the world, that's super
  • 15:21 - 15:25
    hard to do. So just by this virtue, you're
    actually able to prototype things. You're
  • 15:25 - 15:29
    able to build things incredibly fast.
    You're able to go in, you're able to
  • 15:29 - 15:34
    comission a PCB and get all the parts
    almost instantly, which is not something
  • 15:34 - 15:38
    you see anywhere else in the world. And
    also a lot of the manufacturers have their
  • 15:38 - 15:42
    booths here so these would be direct
    booths from the manufacturers so you could
  • 15:42 - 15:45
    say go up to them, start talking to them
    and ask, hey, can you make this product
  • 15:45 - 15:50
    this specific way? Can you do it how I
    want it? And they'll be like, sure, why
  • 15:50 - 15:54
    not? They'll do it for you. So it was
    really, really valuable to just learn from
  • 15:54 - 15:59
    these people, from the vendors here, from
    manufacturers about how to build things.
  • 15:59 - 16:03
    And it was actually really surprising to
    see everything they had in stock. Two
  • 16:03 - 16:08
    years ago, we built an art installation
    here that covered a tunnel with LEDs. We
  • 16:08 - 16:13
    covered one of the tunnels at 34C3 with
    LEDs. And we used this tiny, tiny chip. It
  • 16:13 - 16:18
    was a five dollar ESP 8266 chip that
    basically was able to control all your
  • 16:18 - 16:23
    LEDs. And over the course of five years,
    up to that point, I spent a lot of time
  • 16:23 - 16:28
    figuring out how to build it myself. I
    played with Raspberry Pis I played with
  • 16:28 - 16:33
    PCA controllers over serial and like I
    finally managed to get a prototype to
  • 16:33 - 16:37
    work, but it was super clunky, it was
    super expensive and it wasn't very
  • 16:37 - 16:41
    reliable and I go to China and I find that
    it's available there and much better
  • 16:41 - 16:46
    quality, much cheaper, much faster, so it
    was a really, really interesting shift in
  • 16:46 - 16:49
    perspective. It's something you can't
    appreciate when you're abroad. Even if
  • 16:49 - 16:53
    you're browsing like eBay or Ali Express
    it's kind of hard to appreciate just how
  • 16:53 - 16:58
    much selection you have and how you can
    find just about any tool, anything you
  • 16:58 - 17:02
    need to find. So it's really, really
    incredible. But these markets were cool
  • 17:02 - 17:08
    but was even cooler are the factories and
    during a course in China, we were able to
  • 17:08 - 17:12
    visit a lot of factories. All these
    factories there are super, super
  • 17:12 - 17:15
    welcoming. They always love having you
    over. They invited you to really, really
  • 17:15 - 17:21
    luxurioius dinners. We had way too much
    food. And it was a feast of celebration
  • 17:21 - 17:24
    every time. Actually, relationships are
    super, super important in China. Like a
  • 17:24 - 17:28
    lot of people in the West, like they have
    contracts and they say, OK, this is the
  • 17:28 - 17:33
    terms of the contracts. Well, China, you
    do sort of have contracts, but they don't
  • 17:33 - 17:37
    matter as much as relationships. Like when
    you have a relationship with the
  • 17:37 - 17:40
    manufacturer, you have to like always go
    to dinner with them, drink beer, smoke, go
  • 17:40 - 17:44
    to KTV like it's a really evolved
    relationship. And you're only able to have
  • 17:44 - 17:47
    good communication based on that
    relationship, because if you don't have a
  • 17:47 - 17:50
    relationship they kind of forget about
    you. We actually had a couple of instances
  • 17:50 - 17:55
    where manufacturers ghosted us. Like they
    had a critical component and they just
  • 17:55 - 17:58
    stopped answering our emails, they stop
    answering our weechats, they just
  • 17:58 - 18:01
    completely ignored us. And for some pieces
    they were completely irreplaceable, we
  • 18:01 - 18:05
    could not just go out and find another
    factory to produce a specific part the way
  • 18:05 - 18:09
    we wanted. And the only way you can ensure
    that this doesn't happen is by really
  • 18:09 - 18:14
    explicitly making sure that you have good
    communication, a good relationship with
  • 18:14 - 18:17
    that manufacturers. It's super, super
    important. This is one of the factories we
  • 18:17 - 18:23
    worked with. It's really crazy. I mean, we
    went there and we're just absolutely blown
  • 18:23 - 18:28
    away by the scale of everything and also
    blown away by how manual everything is.
  • 18:28 - 18:32
    There's actually audio here. Everything
    was super manual. People were just like
  • 18:32 - 18:36
    there with minimal or no protective
    equipment whatsoever. Just like building
  • 18:36 - 18:40
    things that look like they were made by
    robots or machines, but they were in
  • 18:40 - 18:46
    reality built by people with their hands,
    which is super crazy to see. And there
  • 18:46 - 18:52
    were a lot of Blade Runner esque designs,
    really bizarre contraptions there in this
  • 18:52 - 18:57
    factory. This is our fiberglass factory.
    The way we build our casing, was actually
  • 18:57 - 19:04
    prototyping it first in carbon fiber,
    sorry, fiberglass and then moving onto a
  • 19:04 - 19:09
    mold in carbon fiber. And actually Scotty,
    he made a really cool video on YouTube. So
  • 19:09 - 19:13
    if you search for hockey stick factory on
    YouTube, you can see a huge video. My
  • 19:13 - 19:18
    buddy Scotty actually goes and meets his
    factory, discover how they make this mold
  • 19:18 - 19:21
    and how they make these carbon fiber
    things. It was actually really crazy to
  • 19:21 - 19:26
    see it. It was cheaper to make a carbon
    fiber mold than it was to make a plastic
  • 19:26 - 19:29
    mold. So since the tolerances were a
    little bit different, since like the
  • 19:29 - 19:33
    process was a little bit simpler, you were
    able to make a mold, that was very, very
  • 19:33 - 19:38
    strong and very indestructible without
    necessarily having to have all of that
  • 19:38 - 19:44
    expense upfront for like a plastic mold.
    So, yeah, that our a fiberglass factory.
  • 19:44 - 19:47
    Really exciting stuff. Really crazy scale.
    These folks like the first night we came
  • 19:47 - 19:51
    there, we arrived at like 8 pm and there
    was 100 people in the factory just like
  • 19:51 - 19:57
    working at 8pm. Really crazy to see. This
    is another factory worked with. So this
  • 19:57 - 20:02
    was a metal factory. It was actually
    really, really, really interesting to see
  • 20:02 - 20:06
    how they built all these things and at one
    hand, you can build super complex things,
  • 20:06 - 20:11
    you can build a super complex designs. But
    on the other hand, we got surprised a
  • 20:11 - 20:16
    couple of times by being unable to
    manufacture really simple designs. And it
  • 20:16 - 20:20
    took us a while to get a grasp was like,
    oh, OK, so we can make really complex
  • 20:20 - 20:24
    metal that's bent, but as soon as we add a
    well to aluminum, you start to have a big,
  • 20:24 - 20:28
    big problem. So we had to like change a
    lot of our designs. We had to really adapt
  • 20:28 - 20:32
    to the way things were being made in
    China. And sometimes you could adapt
  • 20:32 - 20:36
    yourself, but like at an insane cost. So
    it was better to adapt to the way things
  • 20:36 - 20:41
    were being done there. So, again, very,
    very interesting to see how things are
  • 20:41 - 20:45
    done. No protective equipment, this is
    like a two ton press and his hands are
  • 20:45 - 20:50
    millimeters away from it. So, yeah, it's a
    different world out there. Very, very
  • 20:50 - 20:58
    different. Another factory we visited was
    a PCB factory. So this one has a really
  • 20:58 - 21:02
    interesting story. This factory is not in
    Shenzhen. It's just across the border from
  • 21:02 - 21:07
    Shenzhen. The city actually passed a law a
    couple of years ago that has very, very
  • 21:07 - 21:12
    strict environmental policies. So you're
    no longer able to do PCB manufacturing
  • 21:12 - 21:16
    inside the city anymore. So we actually
    had to drive for a couple of hours outside
  • 21:16 - 21:21
    of the city and over there was a huge
    plant. And this plant was kind of semi
  • 21:21 - 21:27
    automated, semi handmade. Were part of the
    process were done by hand, as you see
  • 21:27 - 21:31
    here. But then parts of the process were
    done with machines. So they had this giant
  • 21:31 - 21:34
    machine, which is basically a black box we
    can't really see inside of it. But you had
  • 21:34 - 21:39
    a bunch of chemicals and it's like take a
    PCB and just like move it forward through
  • 21:39 - 21:43
    a chain. This is really intresting to see.
    And this factory also had a really quick
  • 21:43 - 21:46
    turnaround, they had a three hour
    turnaround if you paid a premium and the
  • 21:46 - 21:51
    standard was 24 hours. You could also ask
    them to do PCBA so you can actually get
  • 21:51 - 21:55
    them to assemble the PCB for you. And we
    ended up doing that for some of our PCBs.
  • 21:55 - 22:00
    We'd give them build materials and we'd
    give them our designs and then they
  • 22:00 - 22:04
    manifacture it. We actually got in a
    little bit of a situation with that
  • 22:04 - 22:08
    because we sent them some designs, we sent
    them some parts that we wanted to put in
  • 22:08 - 22:12
    our PCB and it turns out that one of these
    parts was unavailable and they didn't tell
  • 22:12 - 22:17
    that to us until it was almost Chinese New
    Year. So we had to scramble all that to
  • 22:17 - 22:21
    find another solution. Was very exciting
    to see how you would deal with these
  • 22:21 - 22:25
    factories. There are some even cooler
    factories. I think the coolest factory I
  • 22:25 - 22:29
    visited was a battery factory where they
    made lithium ion and lithium polymer
  • 22:29 - 22:34
    batteries and it was almost entirely
    automated. It had giant films of things
  • 22:34 - 22:39
    going into a machine and then you had all
    sorts of liquids and powders it was all
  • 22:39 - 22:43
    combined together. It was super, super
    cool. Didn't allow us to film it
  • 22:43 - 22:46
    unfortunately, there may be only a dozen
    or so such factories in the world. They're
  • 22:46 - 22:49
    very protective about their technology,
    but the scale of how quickly they're
  • 22:49 - 22:53
    manufacturing these batteries was just
    incredible. They would manufacture them at
  • 22:53 - 22:59
    a crazy, crazy scale. So all these factors
    are cool, but actually building things is
  • 22:59 - 23:03
    even cooler. So we ended up partnering
    with a contract manufacturer. I was really
  • 23:03 - 23:07
    fortunate to find one through my network.
    Otherwise, I would have been totally lost.
  • 23:07 - 23:11
    A couple of days before I ended up going
    to China I found a contract manufacturer
  • 23:11 - 23:16
    that liked to work with start ups and
    small scale people and we ended up working
  • 23:16 - 23:20
    with them to build our first batch of 50
    robots. It was really interesting to see
  • 23:20 - 23:26
    how different our designs were to what
    they expected. So they expected things are
  • 23:26 - 23:31
    really ready. They are very explicit, very
    clearly specified. But we didn't have
  • 23:31 - 23:35
    that. The difference between manufacturing
    in the U.S., for example, against China is
  • 23:35 - 23:39
    that in the U.S., like it's a super long
    process and the back and forth takes super
  • 23:39 - 23:42
    long just to get an idea of what kind of
    files they need. Whereas in China, you're
  • 23:42 - 23:46
    able to sit down directly with the
    engineer, with the person in charge, and
  • 23:46 - 23:50
    you can figure out what they need and they
    can help you out instantly. Actually, just
  • 23:50 - 23:55
    here, I just want to show you one thing.
    So this is my designer, Alehandrew, and he was
  • 23:55 - 24:00
    translating from English to Chinese with
    his phone with Google Translate, and it
  • 24:00 - 24:03
    worked surprisingly well. Google Translate
    actually is not blocked in China for some
  • 24:03 - 24:09
    reason. We were able to communicate almost
    all the time with that. Also, Weechat has
  • 24:09 - 24:12
    a built in translate feature. So Weechat
    is like the universal app that everyone in
  • 24:12 - 24:16
    China uses and has this built in
    translation feature that can translate
  • 24:16 - 24:22
    your text automatically. So it's really,
    really cool to see how that worked. One
  • 24:22 - 24:26
    question that we get commonly asked is
    like how do we find our manufacturers? How
  • 24:26 - 24:31
    do we get this relationship? So about 20
    percent of that was through Alibaba. So
  • 24:31 - 24:36
    our fiberglass manufacturer. We quoted
    like 30 different manufacturers and went
  • 24:36 - 24:41
    with the cheapest one. Of course, it was
    far more expensive than we expected and we
  • 24:41 - 24:46
    ended up producing with them. 20 percent
    that, for example, our chassey, it was
  • 24:46 - 24:50
    built with companies that we already had a
    relationship with. So we were just able to
  • 24:50 - 24:54
    continue working with them. And then 60
    percent was through just references so
  • 24:54 - 24:58
    select networks or getting to know people
    and talking to them saying, "Oh, hey, who
  • 24:58 - 25:02
    did you use for this or this" or "How did
    you make these PCBs?" or just getting a
  • 25:02 - 25:07
    conversation going. So having that kind of
    network was really, really helpful in
  • 25:07 - 25:13
    order to build these robots. So as you can
    actually see right here, our design, this
  • 25:13 - 25:17
    is what we had when we came into China.
    When we left, we had our own computer
  • 25:17 - 25:22
    module like super sophisticated. But this
    was like a Raspberry Pi, a pix hock and a
  • 25:22 - 25:27
    voltage converter like a DC to DC
    converter. That was pretty much it. As you
  • 25:27 - 25:31
    can see, it was not very reliable. It
    would break a lot. So it took us quite a
  • 25:31 - 25:36
    while to translate this into something
    that was manufacturing well. So thanks to
  • 25:36 - 25:42
    the dedication of my incredible team that
    we're able to do that. And we kind of did
  • 25:42 - 25:46
    not know what we were doing so, we ended
    up having all of our parts and all of the
  • 25:46 - 25:52
    components ready just days before Chinese
    New Year. So we actually had to do all of
  • 25:52 - 25:56
    that someday ourselves. We didn't have any
    Chinese workers who could help us do that.
  • 25:56 - 26:01
    So there's our team just assembling things
    in the factory like we wanted two days
  • 26:01 - 26:07
    before Chinese New Year. So that was very,
    very interesting. We kind of hacked or
  • 26:07 - 26:12
    tried to hack Chinese New Year. We
    assembled all the robots literally days if
  • 26:12 - 26:17
    not hours before Chinese New Year and we
    shipped them out and everything was great,
  • 26:17 - 26:22
    except our robots got stuck in customs. We
    had a trademark on our box and the customs
  • 26:22 - 26:26
    agents, they open the box and saw more
    trademarks on some parts. We had 3D
  • 26:26 - 26:29
    printed parts and they were like, no, this
    is not going to go through without the
  • 26:29 - 26:35
    proper paperwork. So our robots got stuck
    for three weeks in China, which was really
  • 26:35 - 26:39
    fun. Little problematic. So, yeah, those
    kind of things happen you have to be ready
  • 26:39 - 26:46
    for it. After we received our robots in
    California, we had to spend another like
  • 26:46 - 26:52
    maybe one or two months refinishing them,
    redoing some parts, tweaking them,
  • 26:52 - 26:56
    flashing them. So there's still a lot of
    work to get them to work. The pieces we
  • 26:56 - 27:00
    shipped out to China was maybe just like a
    case with most of the electronics in, but
  • 27:00 - 27:06
    not all of it. So we still had to do a lot
    of tweaking over back home. And of course,
  • 27:06 - 27:09
    all this going to be impossible without an
    incredible team so I was really fortunate
  • 27:09 - 27:15
    to be with some really, really passionate
    people who would work four months in a row
  • 27:15 - 27:19
    continuously without virtually taking any
    breaks. We had plenty of opportunities to
  • 27:19 - 27:23
    go and take the high speed rail or go to
    Shanghai or even Tokyo, but we all stayed
  • 27:23 - 27:27
    in Shenzhen and spend a lot of time
    together building these robots. It was a
  • 27:27 - 27:34
    really, really arduous journey. So maybe
    some conclusions for scaling,
  • 27:34 - 27:37
    manufacturing, some of the failures we've
    had in relationships. I mean,
  • 27:37 - 27:41
    relationships are super important, like
    super, super important, in China far more
  • 27:41 - 27:45
    important then contracts. If you're able
    to have a good line of communication with
  • 27:45 - 27:48
    your manufacturer, that really, really
    helps out. Because if you don't, things go
  • 27:48 - 27:51
    bad. We've had manufacturers that ghosted
    us. We have had manufacturers that
  • 27:51 - 27:56
    completely ignored us or manufacturers
    that just replaced components because they
  • 27:56 - 28:02
    just felt like it. So relationships, super
    important. Don't hack Chinese New Year. We
  • 28:02 - 28:06
    tried it, doesn't work. It's a thing.
    China just sit's down for like two or
  • 28:06 - 28:10
    three weeks. So it's really, really
    important to respect that. People buy
  • 28:10 - 28:14
    tickets to go to their hometowns like
    months in advance and they're not going to
  • 28:14 - 28:17
    move it for just like some pesky thing
    that you're building, especially for like
  • 28:17 - 28:21
    some small scale thing. So, yeah, don't
    try to hack Chinese New Year, it did not
  • 28:21 - 28:27
    work out well for us. Also, do it with a
    team . While I was in China, I saw a
  • 28:27 - 28:30
    couple of sole entrepreneurs try to build
    their own thing and it was super, super
  • 28:30 - 28:34
    hard, super stressful, having a team is
    really great, especially if like a foreign
  • 28:34 - 28:38
    place where you don't really know anybody.
    Having that team there together, to
  • 28:38 - 28:41
    support you is super, super important,
    especially since you can multitask, you
  • 28:41 - 28:45
    can split responsibilities and do
    something together. So it's really, really
  • 28:45 - 28:51
    important aspect. So that's how we
    manufactured and some of the failures
  • 28:51 - 28:59
    we've had. Now let's talk about how not to
    build A.I.. So as we all know, A.I. is
  • 28:59 - 29:03
    magic, right? Just as Blockchain and IoT
    and the cloud. It's absolutely magic,
  • 29:03 - 29:09
    right? Well, the reality is it's it's not
    that magic. So we decided to have a very
  • 29:09 - 29:15
    pragmatic approach to A.I.. We said, let's
    not do anything crazy. Let's just make
  • 29:15 - 29:20
    something that works. So our very first
    iteration of a robot was this. This is
  • 29:20 - 29:24
    like the control panel for a robot. It was
    super simple. We had a video call coming
  • 29:24 - 29:28
    in from the robot, on the left over there
    is literally an iframe, super simple
  • 29:28 - 29:31
    stuff. And on the right, we had a map, on
    the bottom we had some controls so you can
  • 29:31 - 29:36
    move the robot forwards, backwards. It was
    very, very simple. It barely worked. On
  • 29:36 - 29:40
    the robot we had our Arduino, Raspberry Pi
    all running in python and the server was
  • 29:40 - 29:45
    Java communicating over web sockets. But
    this barely worked. So we decided, OK,
  • 29:45 - 29:50
    what can we do? Maybe we can build an
    autonomous robot and we can both say that
  • 29:50 - 29:55
    would work entirely by itself. We actually
    did that. So we built a robot that could
  • 29:55 - 30:00
    go entirely by itself. It was fully
    autonomous. And it was actually really
  • 30:00 - 30:04
    cool. The way we built it is we had pretty
    beefy computer inside. We had it a Nvidia
  • 30:04 - 30:09
    Jetson TX2. On that, we were running ROSS
    and inside of ROSS we were running
  • 30:09 - 30:13
    TensorFlow and a couple of other
    technologies. We had YODA for object
  • 30:13 - 30:17
    detection and some other cool tech that I
    am not entirely familiar with it since I
  • 30:17 - 30:22
    didn't write that code, but over here what
    the robot did is it looked at objects. So
  • 30:22 - 30:28
    it was detecting objects. It was also
    measuring the distance to the objects. And
  • 30:28 - 30:31
    it also had an inference neural network.
    And you can see that on the top left of
  • 30:31 - 30:37
    the screen here. Basically, based on
    trained data, it would know where not to
  • 30:37 - 30:41
    drive into and it would try to plot a path
    based on 12 different directions it could
  • 30:41 - 30:45
    go into. So it had 12 directions and it
    would go in the direction which had the
  • 30:45 - 30:50
    highest probability of not colliding with
    somebody or something. And this worked,
  • 30:50 - 30:56
    OK. We were able to get like 99 percent
    autonomy. But the problem is, since we're
  • 30:56 - 31:00
    doing a commercially viable delivery
    service, that's like offering deliveries
  • 31:00 - 31:04
    to regular people and not something in the
    lab, it really had to do something that
  • 31:04 - 31:07
    worked all the time. And the challenge
    with this is we still needed to have
  • 31:07 - 31:11
    people in the loop. We still had to have
    people who looked at the robot to make
  • 31:11 - 31:16
    sure it would actually not crash. And what
    happens if you have something that's fully
  • 31:16 - 31:20
    autonomous and people assume it works
    well, when it doesn't work well instead
  • 31:20 - 31:23
    of looking at the screen and being ready
    to take over, they're just looking at the
  • 31:23 - 31:29
    phone and Instagram. So this approach
    wasn't the best one. And instead, we
  • 31:29 - 31:34
    decided to use a supervision approach. So
    we spent a lot of time building this. So
  • 31:34 - 31:38
    this is our supervisors console and it's
    actually really, really cool platform.
  • 31:38 - 31:42
    It's a platform that allows you to connect
    to a robot and the robot streams to you
  • 31:42 - 31:47
    video over Web RTC or like the 4G network
    and you're able to control it over web
  • 31:47 - 31:52
    sockets. So the way to work is you'd have
    a supervisor that sets waypoints for the
  • 31:52 - 31:56
    robot to follow. So the supervisor would
    click on the image and he or she would
  • 31:56 - 32:00
    tell the robot to move 10 meters at a
    time. So typically they'd set waypoints
  • 32:00 - 32:04
    every 5 to 10 seconds. It was a very
    interesting approach. We tried a couple of
  • 32:04 - 32:08
    different approaches. We tried to do slam,
    that really did not work out for us. It
  • 32:08 - 32:15
    took too much resources and it didn't give
    us a significant gain. We tried other
  • 32:15 - 32:19
    things as well. We tried traffic light
    detection. So we tried traffic light
  • 32:19 - 32:23
    detection. There are some amazing models
    available online, some great Github repos.
  • 32:23 - 32:29
    The problem is, yes, they do work on a
    very clean data set. But when you actually
  • 32:29 - 32:35
    have data, we actually have a real life
    scenario where we have like glare, you
  • 32:35 - 32:39
    have rain, you have weird situations, you
    have homeless people. It doesn't really
  • 32:39 - 32:44
    translate that well in the real world. So
    we kind of struggled with that. Instead,
  • 32:44 - 32:49
    we actually had a more middle ground
    approach. So we are able to detect traffic
  • 32:49 - 32:54
    lights really well, but we're not able to
    detect the color really well or the which
  • 32:54 - 32:58
    kind of signal it's giving. So instead,
    all we do over here, this automatically
  • 32:58 - 33:02
    zooms in to traffic lights. So it's very
    easy to see. This video actually that
  • 33:02 - 33:07
    you're seeing is transmitted over very low
    frame rate, very low bit rate as well. I
  • 33:07 - 33:14
    think we're doing 480p at 100 kilobytes a
    second. So it's very, very low bit rate.
  • 33:14 - 33:18
    And when the robot isn't moving, we
    actually make it go black and white and
  • 33:18 - 33:22
    even lower rate frame rate so that it
    doesn't waste resources. So yeah, it's
  • 33:22 - 33:28
    pretty cool stuff. Over here on the top
    left we actualy have our latency. So we
  • 33:28 - 33:31
    managed to build the infrastructure that
    allowed us to supervise this robots from
  • 33:31 - 33:37
    Columbia for 200 milliseconds and less than 20
    milliseconds. So it's like a blink of an
  • 33:37 - 33:41
    eye. It was a really, really cool
    technology, it worked or 4G and we did a
  • 33:41 - 33:46
    lot to optimize that. We had also a map
    over here. So this map is really, really
  • 33:46 - 33:50
    cool. A lot of people ask us like, hey,
    did you do mapping? Did you map out your
  • 33:50 - 33:56
    environment? Did you need to have
    something there before you came into a new
  • 33:56 - 34:02
    place? And well the answer is no. But what
    we do instead is we actually map out the
  • 34:02 - 34:08
    network conditions. So we would map out
    the network conditions of a city and we'd
  • 34:08 - 34:12
    say, OK, these areas like over here. This
    is like high latency. We should avoid
  • 34:12 - 34:16
    those areas because the robot could get
    stuck there. It is actually very
  • 34:16 - 34:20
    interesting to see the network conditions
    change continuously. You didn't have the
  • 34:20 - 34:23
    same network conditions every day, all
    day, all year. They'd actually change
  • 34:23 - 34:26
    every few hours. So it was something that
    took us a while to figure out.
  • 34:26 - 34:30
    Takes a sip of Mate
    So, of course, the way this works is we
  • 34:30 - 34:34
    had two or three people supervising,
    sorry, two or three robots for a
  • 34:34 - 34:38
    supervisor in Colombia, and we have just a
    bunch of people. Typically, students who
  • 34:38 - 34:41
    would just be working part time and they
    were sitting in an office in Colombia
  • 34:41 - 34:48
    doing this. Of course, the press found out
    about this and they wrote a very small bit
  • 34:48 - 34:53
    of text in the article saying like, oh,
    Kiwi hires Colombians and pays them two
  • 34:53 - 34:59
    dollars an hour. And people were really
    frustrated about that. We had a lot of
  • 34:59 - 35:04
    interesting feedback about that. But what
    was interesting to see is that this
  • 35:04 - 35:08
    technology actually helps people in
    Colombia. If you're there, it's a third
  • 35:08 - 35:11
    world country it's a developing country.
    You can get a job at a factory. You can
  • 35:11 - 35:15
    get a job at a textile shop, you can get a
    job maybe McDonald's. But there aren't
  • 35:15 - 35:22
    that many tech jobs per say. The biggest
    employer in the country is a phone support
  • 35:22 - 35:26
    company. So like when you call in to
    support line, you get connected to
  • 35:26 - 35:29
    Colombia sometimes. And that's the biggest
    employer in the country. So in order to
  • 35:29 - 35:33
    get like a tech job, it's really, really
    hard and giving people the ability to, go
  • 35:33 - 35:38
    and supervise robots it's something that
    helped them get something on their CV and
  • 35:38 - 35:42
    help them step up It helped them learn a
    little bit more about the technology and
  • 35:42 - 35:49
    helped them progress in terms of their
    careers. Our lead A.I. guy, he actually
  • 35:49 - 35:53
    started off as a supervisor and he went up
    through the ranks and then he ended up
  • 35:53 - 35:57
    leading the A.I. and robotics team. So it
    was really interesting, really inspiring
  • 35:57 - 36:01
    to see how that transition happened. And
    we managed to get our technology to work
  • 36:01 - 36:09
    so well that we can do this.
    Video of the inside of an airplane is shown
  • 36:09 - 36:15
    So we were able to get it to work with up to
    eight seconds latency, which meant that
  • 36:15 - 36:18
    you can control it literally from anywhere
    in the world. So even from an airplane
  • 36:18 - 36:24
    above the Pacific Ocean. So it was a
    really interesting experience. And we
  • 36:24 - 36:30
    really try to make it simple. So in
    conclusion, for A.I., we realized that the
  • 36:30 - 36:34
    best approach was to keep it simple. We
    tried a lot, a lot of different
  • 36:34 - 36:38
    approaches, like we tried the traffic
    light detection. We tried a yellow pad
  • 36:38 - 36:43
    detection. I didn't mention that. So in
    Berkeley, you have these accessibility
  • 36:43 - 36:47
    ramps and you have yellow pads that blind
    people can actually feel them and see them
  • 36:47 - 36:52
    easier. So we built the algorithm to
    detect that and we thought, OK, maybe if
  • 36:52 - 36:56
    the robot is stuck in the middle of the
    intersection, you can automatically detect
  • 36:56 - 37:01
    this yellow pattern and navigate to it.
    It's an approach that worked in theory, in
  • 37:01 - 37:06
    practice it did not quite work. We tried
    segmentation. So that was an approach that
  • 37:06 - 37:12
    worked OK. But some weird things broke it.
    So for example, any lamp posts or bicycle
  • 37:12 - 37:17
    posts would crash the robot because it
    didn't see it. So yeah, keeping it simple
  • 37:17 - 37:23
    was the best approach, really not going
    too crazy. And the approach we ended up
  • 37:23 - 37:27
    going in the end was to have it more of
    like a driver assist type, like a parallel
  • 37:27 - 37:32
    approach, parallel autonomy approach,
    where our robots would help people the
  • 37:32 - 37:37
    same way that cars would help people stay
    in lanes or have cruise control or like
  • 37:37 - 37:39
    with parking assistance. That's kind of
    the approach we're having. I think long
  • 37:39 - 37:44
    term it is gonna be possible to build
    robots more autonomous, it could be
  • 37:44 - 37:49
    Starship that have some interesting ideas
    about how to solve that. But I don't think
  • 37:49 - 37:53
    it's quite something I could be scaled to
    every city just yet. Another really
  • 37:53 - 37:59
    important thing is, the lab does not equal
    the real world. So there are many, many
  • 37:59 - 38:05
    great examples of fantastic research
    papers from some great groups and they
  • 38:05 - 38:10
    were great with very polished, very clean
    datasets. But they did not work when you
  • 38:10 - 38:15
    deployed them on 100 robots, there were
    all different. They all had slightly
  • 38:15 - 38:18
    different camera calibration that all had
    slightly different hardware, it all had
  • 38:18 - 38:23
    slightly different chassis. It did not
    really translate as well. So these
  • 38:23 - 38:29
    algorithms, these lab best case scenarios,
    will need to be modified a little bit.
  • 38:29 - 38:35
    What else? Yeah, one thing, maybe jumping
    back to the keep it simple. We decided to
  • 38:35 - 38:40
    put in a very simple safety mechanism. So
    the robot actually breaks if it sees
  • 38:40 - 38:44
    something within 50 centimeters in front
    of it. So as kind of like a last measure,
  • 38:44 - 38:47
    precaution, as you saw before, there is a
    video like you can supervise the robot
  • 38:47 - 38:52
    from anywhere in the world, but a lot of
    latency. But having this 50 centimeter
  • 38:52 - 38:57
    like hard break, actually saves us in case
    the robot loses connectivity or the
  • 38:57 - 39:02
    supervisor is no longer able to supervise
    the robot. So it's always breaking 50
  • 39:02 - 39:08
    centimeters away from any collision with
    like a baby or a car or whatever. So the
  • 39:08 - 39:12
    approach we really thought about is, how
    can we expand human potential? There is a
  • 39:12 - 39:19
    lot of talk about A.I. taking jobs or A.I.
    replacing people's roles, but we sort of
  • 39:19 - 39:22
    kind of try to do that and it didn't work.
    Like we try to build robots that were
  • 39:22 - 39:26
    fully autonomous that went from the
    restaurant to your door and that didn't
  • 39:26 - 39:29
    work. People were waiting a very long
    time. These robots required an obscene
  • 39:29 - 39:34
    amount of maintenance. So we ended up
    going for an approach that was far more
  • 39:34 - 39:38
    parallel autonomy where these robots were
    like helping people to do more. Same way
  • 39:38 - 39:42
    the supervisors are getting these
    assistive technologies where they able to
  • 39:42 - 39:46
    set a waypoint to do the path finding and
    the robot does the motion planning on
  • 39:46 - 39:50
    board. We also had the couriers who would
    just load food into the robots instead of
  • 39:50 - 39:54
    the robots picking up food from the
    restaurant directly, so really expanding
  • 39:54 - 39:58
    human potential. I think that's where it's
    at. And over the course of the past
  • 39:58 - 40:01
    century, we've seen a lot of examples of
    this. Like we've seen operators of
  • 40:01 - 40:06
    elevators. Like before, elevators had
    operators who would make it go up or down.
  • 40:06 - 40:09
    And now they're fully automated. We had
    switchboard operators who were there to
  • 40:09 - 40:12
    connect phone calls. Now we can make a
    phone call to anywhere in the world
  • 40:12 - 40:17
    instantly for free. So we're seeing this
    transformation of work and transformation
  • 40:17 - 40:21
    of the way things are done. And I think
    this is just the start. The way I see
  • 40:21 - 40:27
    these robots is really meshing into the
    fabric of our societies and solving
  • 40:27 - 40:32
    physical transportation. Like, sure, you
    can move bits from anywhere to anywhere in
  • 40:32 - 40:36
    the world, but can you move atoms? It's
    really expensive to do that. It's really
  • 40:36 - 40:44
    hard to do that. That's why I see robots
    expanding human potential. So.
  • 40:44 - 40:50
    Conclusions. What we did was really cool
    and I think it was a cool experience. One
  • 40:50 - 40:56
    thing that we realized is that tech isn't
    the hardest part, right? We spent a lot of
  • 40:56 - 41:02
    time thinking how to build something, but
    figuring what to build is sometimes very
  • 41:02 - 41:06
    important as well. And I don't think we
    spent enough time asking ourselves that
  • 41:06 - 41:10
    question. We kind of went in all sorts of
    directions we didn't focus as much on
  • 41:10 - 41:16
    making the best product possible. We kind
    of tried things that were really weird and
  • 41:16 - 41:19
    not well thought out. So like having that
    more long term thinking, like thinking
  • 41:19 - 41:22
    what should we build is very important
    because like how, you can just look up a
  • 41:22 - 41:27
    tutorial on Google and figure out how to
    build robots. It's not the end of the
  • 41:27 - 41:31
    world. One really important thing for us
    was interaction. So interacting with
  • 41:31 - 41:35
    people, figuring out how to make the door
    open, when you actually received your food
  • 41:35 - 41:40
    was super hard, super, super challenging
    to do. Actually, the only robot that opens
  • 41:40 - 41:44
    the door for you. Other companies like
    Starship, for example, they have a button
  • 41:44 - 41:47
    that unlocks a solenoid. So it's like the
    experience is not quite there yet to bend
  • 41:47 - 41:51
    it down. You have to figure out how the
    door actually opens. So we spent a lot of
  • 41:51 - 41:55
    time, a lot of effort in order to optimize
    that experience to make it as smooth as
  • 41:55 - 42:01
    possible for people. Also, one thing we
    didn't figure out is financing. I'll come
  • 42:01 - 42:04
    back to that in a second. That was really,
    really hard to do as well. So like tech,
  • 42:04 - 42:08
    you know, not the hardest, financing
    figuring out like how to manage cash flow,
  • 42:08 - 42:12
    super important. But I think the most
    important thing is to work with a great
  • 42:12 - 42:17
    team. If you're going to be spending a lot
    of time with people who you eat, live and
  • 42:17 - 42:22
    breathe with, it's really important to
    choose a team that you really connect with
  • 42:22 - 42:26
    and then share the same passion as you do,
    because you could be miserable making an
  • 42:26 - 42:30
    amazing amount of money, but if your with
    a really crappy team with a high turnover,
  • 42:30 - 42:33
    it's really boring. I was really fortunate
    to work with one of the best teams in the
  • 42:33 - 42:37
    world and over the course of the past two
    and a half years we managed to do quite a
  • 42:37 - 42:41
    lot. And just last month we actually got
    an article in The New York Times. So that
  • 42:41 - 42:45
    was a really big accomplishment for our
    team and we got to share it with our
  • 42:45 - 42:50
    families. My mom was really proud. So a
    lot of great traction and a lot of great
  • 42:50 - 42:55
    coverage. But unfortunately, we actually
    ran out of money, so we kind of ran out of
  • 42:55 - 43:00
    money last month and we are no longer
    delivering things. So I decided to leave
  • 43:00 - 43:06
    and start my own thing instead of doing
    robots. I decided to do data. So now I'm
  • 43:06 - 43:11
    actually focusing more on building a tool
    that helps you tell stories with data. So
  • 43:11 - 43:16
    this is Glint. This is a data storytelling
    tool. You're able to drag in some files
  • 43:16 - 43:22
    and it tells you the story of your data
    without you having to write any code. So
  • 43:22 - 43:26
    my hope for this is to allow anybody in
    the world without any knowledge about how
  • 43:26 - 43:30
    to wrangle data, how to clean data, how to
    analyze data, to be able to tell stories
  • 43:30 - 43:35
    with their data directly from their
    computers. I'm imagining a tool where you
  • 43:35 - 43:42
    can say, oh, "In December there were X X
    visitors to Congress" or "Last summer we
  • 43:42 - 43:45
    had X X sales" and automatically filled
    out for you. That's kind of what I'm
  • 43:45 - 43:49
    thinking about. If you want to join the
    effort, there is a Github. I'm more than
  • 43:49 - 43:54
    happy to have any contributors. And if you
    have any questions or comments we're happy
  • 43:54 - 44:02
    to answer on Twitter or here in person.
    Thank you.
  • 44:02 - 44:11
    Applause
  • 44:11 - 44:18
    H: So, as usual, feel free to line up in
    front of the microphones or write your
  • 44:18 - 44:24
    question to the signal angel over there.
    That already has one. Um, it's all the way
  • 44:24 - 44:29
    down. Go ahead.
    Signal Angel: OK. Here is a user of your
  • 44:29 - 44:34
    service who apparently got an e-mail from
    you that announced some changes. So he's
  • 44:34 - 44:38
    wondering, what's up? What you're going,
    what you're planning to do there, whether
  • 44:38 - 44:40
    you're continuing your service or closing
    shop?
  • 44:40 - 44:45
    S: Yeah, it's unclear. We ran out of
    funds, so I think the CEO is still trying
  • 44:45 - 44:49
    to figure out what to do with that. I wish
    him the best of luck, but I ended up
  • 44:49 - 44:53
    leaving with a lot of other people. So we
    have like 50 people in November, now we
  • 44:53 - 44:57
    have like 10 people left in the country.
    So it's very ambiguous what's happening,
  • 44:57 - 45:02
    but yeah, I left.
    H: Yeah, microphone?
  • 45:02 - 45:09
    Audience Member 1: No audio. Okay, now it
    works. I'm a little bit confused because
  • 45:09 - 45:15
    you are presenting a 1970s concept of a
    manipulator, because a robot is something
  • 45:15 - 45:19
    that works by itself, a manipulator is
    somebody who has some joysticks and moves
  • 45:19 - 45:23
    things. So it's nothing special. You just
    have a interlinked Internet link for
  • 45:23 - 45:27
    manipulator and in the 70s, there were
    cables. So what's the special thing?
  • 45:27 - 45:31
    S: Yeah, that's a good question. I think
    the magic here is connecting everything
  • 45:31 - 45:35
    together, figuring out for us how to build
    these robots, how to build a reliable
  • 45:35 - 45:39
    connection, and how about a platform that
    works. And as I mentioned, like the how
  • 45:39 - 45:43
    that's not that interesting. It's more of
    the what you build. It's that experience
  • 45:43 - 45:46
    where you're able to order anything you
    want at any time and get it delivered in
  • 45:46 - 45:49
    under 30 minutes virtually for free. So
    that's good.
  • 45:49 - 45:53
    AM1: So, so far, so good, but evil people
    could just buy a remote control car, put a
  • 45:53 - 46:00
    bomb in it, drive under a police car and
    make boom. And so it's the same use case.
  • 46:00 - 46:07
    You deliver something by remote control.
    Audience Member 2: Yeah. You talked about
  • 46:07 - 46:14
    iterating quickly and rapidly and that's
    very good model for conceptual stage and
  • 46:14 - 46:19
    software. Were you in the stage where you
    were leasing your hardware with your
  • 46:19 - 46:23
    iterations? Because usually a thick stack
    of certification has to come in between.
  • 46:23 - 46:28
    S:So I'm not entirely sure. Are you asking
    if we got certified at every single
  • 46:28 - 46:31
    release?
    AM2: I suppose. Yeah. What level of like
  • 46:31 - 46:36
    recertification was it totally released.
    So you had to meet like regulations for
  • 46:36 - 46:40
    each iteration of that?
    S: Yeah, absolutely. We didn't really get
  • 46:40 - 46:43
    certified because we're not building
    hardware product for consumers. So we're
  • 46:43 - 46:47
    not selling it to anybody. We're operating
    it ourselves. So we don't fit under the
  • 46:47 - 46:51
    same kind of requirements. However, we did
    have to have some permits. And part of the
  • 46:51 - 46:54
    conditions that these permits was that we
    had to meet some expectations. But they're
  • 46:54 - 46:58
    very, very basic. And there were rigid
    like an FCC or a CE certification, for
  • 46:58 - 47:01
    example.
    AM2: That was the question. Yeah. Thanks.
  • 47:01 - 47:07
    S: Thank you.
    SA: Another question from the Internet.
  • 47:07 - 47:12
    "Why did you develop different
    applications for Android and iOS?"
  • 47:12 - 47:18
    S: For the consumer application?
    SA: I haven't got any more details.
  • 47:18 - 47:25
    S: We just did. I mean, we had first an
    iOS application. I mean, 80 percent of our
  • 47:25 - 47:29
    customers are using iOS. So we really
    spent a lot of effort like polishing that
  • 47:29 - 47:34
    iOS experience, making sure that worked.
    And at one point, our Android app was
  • 47:34 - 47:39
    working super badly. So we decided to kill
    it. And everybody was really, really
  • 47:39 - 47:44
    pissed off, extremely pissed off. So we
    actually reintroduced it and we started
  • 47:44 - 47:48
    catching up with features to the iOS
    version. Internally, all of our apps are
  • 47:48 - 47:54
    built in React and React native. So we had
    a common framework for all of our internal
  • 47:54 - 47:57
    apps, but we didn't have that experience.
    Where you're expecting the quality of
  • 47:57 - 48:02
    experience, that we're expecting from a
    consumer app using React. That's why we
  • 48:02 - 48:14
    had two different code bases.
    H: Have tried different methods regarding
  • 48:14 - 48:20
    perception? For example, lidar, radar and
    what are your conclusions from that?
  • 48:20 - 48:24
    S: Yeah, we tried lidar, we tried the
    cheap lidar we didn't try the really high
  • 48:24 - 48:28
    end lidar. So the challenge with having
    like point clouds is that you have to
  • 48:28 - 48:33
    compute, spent a lot of time competing. We
    were using a relatively low power device
  • 48:33 - 48:36
    and it was running from batteries. So we
    didn't have the luxury of having like 10
  • 48:36 - 48:41
    GPUs is in the trunk of a car, for
    example. So that was one approach. One
  • 48:41 - 48:46
    question. Another question is how much
    does it cost? So lidars, they can cost ten
  • 48:46 - 48:49
    thousand, hundred thousand dollars. Our
    bill of materials was 'round two and a
  • 48:49 - 48:53
    half thousand. The last versions are two
    and a half thousand. So all of our sensors
  • 48:53 - 48:58
    were very minimal. In terms of what
    sensors we tried? We tried a lot of
  • 48:58 - 49:04
    different sensors. We tried ultrasonic
    sensors. We tried near field infrared
  • 49:04 - 49:11
    sensors. We tried other sensors. Yeah, we
    tried a lot of different sensors. We are
  • 49:11 - 49:16
    ended up just going with cameras. So we
    have cameras. We have six cameras onboard,
  • 49:16 - 49:23
    all of them full HD. We stitch them into
    an image on our compute module and then
  • 49:23 - 49:26
    the supervisor decides which portion of
    the image they want streams. They can
  • 49:26 - 49:30
    manipulate with the keyboard to see which
    portion of the image is streamed. So we
  • 49:30 - 49:33
    don't stream the whole image. We just
    stream a part of it. The really important
  • 49:33 - 49:37
    part for us was to make something that's
    viable, that can be used commercially. I'm
  • 49:37 - 49:41
    sure lidar is really cool, but I'm not
    seeing any commercial deployments of lidar
  • 49:41 - 49:46
    based autonomous vehicles or robots yet.
    Audience Member 3: Thank you.
  • 49:46 - 49:55
    Audience Member 4: You've tried out many
    different concepts how to do it. And you
  • 49:55 - 49:59
    saw that your company ran out of money. Do
    you still believe in the business concept
  • 49:59 - 50:07
    of robots delivering packages of food?
    S: Who knows? I think I think it was a
  • 50:07 - 50:12
    great learning experience. We learned a
    lot. We had a great team. And I think
  • 50:12 - 50:14
    we'll see some concept of robots. Maybe
    not exactly what we were building, maybe
  • 50:14 - 50:18
    something a little bit different, but I
    think it's a little bit inevitable,
  • 50:18 - 50:21
    especially with the rise of self-driving
    cars. Maybe we'll have cars delivering
  • 50:21 - 50:25
    packages instead of robots. Not entirely
    sure what it would look like. I could tell
  • 50:25 - 50:28
    you, Amazon, they bought one of our
    competitors dispatch labs. So they're
  • 50:28 - 50:32
    making a big bet on this. There are two
    delivery companies in the US, Postmates
  • 50:32 - 50:36
    and DoorDash, that are building products
    internally also for... with delivery
  • 50:36 - 50:40
    robots. And also companies like FedEx are
    also building delivery robots. And then
  • 50:40 - 50:43
    we have companies as Starship, for
    example, which are building robots and
  • 50:43 - 50:48
    doing B2B with companies all over the
    world. So, yeah, I think we'll see some
  • 50:48 - 50:51
    form of delivery robots. I don't know if
    it's going to be what we had or what
  • 50:51 - 50:59
    somebody else is going to have.
    Audience Member 5: Were there any safety
  • 50:59 - 51:03
    certifications you had to satisfy in order
    to operate around people?
  • 51:03 - 51:10
    S: No. So. laughter Well, the thing is,
    in the US, like, it's kind of just do
  • 51:10 - 51:14
    whatever you want. It's very different
    from Germany. You can kind of just do
  • 51:14 - 51:17
    things and you can do them until you get
    in trouble. So we kind of had that
  • 51:17 - 51:20
    approach don't ask for permission, don't ask for
    forgiveness. We ended up having to have a
  • 51:20 - 51:25
    permit in the cities we operate in. But it
    was very simple. It was like, OK, you have
  • 51:25 - 51:31
    to have lights. You have to have a phone
    number and you can not go in these areas.
  • 51:31 - 51:34
    That was essentially all the
    authorization, all the permitting and
  • 51:34 - 51:37
    certification that we had.
    H: Yeah?
  • 51:37 - 51:44
    Audience Member 6: I wanted to ask, did
    you try other markets? Like, autonomous
  • 51:44 - 51:49
    driving is very hard, even way more
    than... manage it fully. So like perhaps
  • 51:49 - 51:54
    elderly care, like you could use this
    robots in elder care where you have a
  • 51:54 - 52:00
    controlled environment where everything is
    the same. Did you search after other
  • 52:00 - 52:06
    markets where it's less...
    S: Yeah, that's a great question. Yeah,
  • 52:06 - 52:10
    there is a lot of potential for markets
    like elderly care, for example, also for
  • 52:10 - 52:15
    mail delivery, for applications inside of
    factories. We had a couple different
  • 52:15 - 52:19
    medical companies that reached out to us
    and like, hey, we want to move items, move
  • 52:19 - 52:22
    packages inside of our facilities. So we
    did have a lot of interest. We tried to
  • 52:22 - 52:25
    keep a focus on the consumer space, like
    really building a consumer experience that
  • 52:25 - 52:29
    worked out before branching out into these
    more B2B approaches. Where elderly care
  • 52:29 - 52:34
    could be one of them. I think one
    important thing about elderly care and
  • 52:34 - 52:38
    services like Meals on Wheels, for
    example, is that human contact. So I think
  • 52:38 - 52:42
    people who are maybe not seeing as much of
    their family, of their relatives, they
  • 52:42 - 52:45
    really cherish that connection they get
    from people who deliver them food. So I
  • 52:45 - 52:49
    think it's a multifaceted approach they
    have to have. You have a couple of
  • 52:49 - 52:55
    different considerations with these kind
    of services for the elderly, for example.
  • 52:55 - 53:00
    AM 6: Thank you.
    Audience Member 7: What kind of
  • 53:00 - 53:07
    personality do Chinese entrepreneurs have?
    S: laughs I think, as I mentioned like,
  • 53:07 - 53:11
    it's really important to have
    relationships. So they were very
  • 53:11 - 53:16
    interesting. They were very deeply in
    belief of their government. They had
  • 53:16 - 53:20
    nothing bad to say about it. They believe
    they would bring them everything... the
  • 53:20 - 53:23
    best possible, even though they still try
    to access Facebook and Twitter with VPNs.
  • 53:23 - 53:28
    So they were very, very loyal
    to their governments. They were very, very
  • 53:28 - 53:33
    diligent. If they committed to something,
    they would usually deliver on that. They
  • 53:33 - 53:38
    really wanted to make sure you had a good
    experience. And also what we saw, for
  • 53:38 - 53:41
    example, with building up these
    relationships, like the first few times we
  • 53:41 - 53:45
    talk, they would try everything to impress
    us. So we got taken to these ridiculously
  • 53:45 - 53:50
    expensive restaurants to make sure that we
    were welcomed well and make sure
  • 53:50 - 53:55
    everything was right. I actually had an
    interesting episode earlier this year. I
  • 53:55 - 54:00
    was going to go to Burning Man and then
    all of a sudden one of my colleagues had
  • 54:00 - 54:04
    an argument with my manufacturer about
    whether Hong Kong is another country or
  • 54:04 - 54:10
    not. And I ended up having to go to China
    to deal with our manufacturer instead of
  • 54:10 - 54:14
    going to Burning Man to make sure we're
    aligned in terms of our beliefs. So,
  • 54:14 - 54:18
    sometimes it's really delicate. You
    cannot, like talk too much about the
  • 54:18 - 54:21
    government there. You can't talk too much
    about politics. It's best to just stick to
  • 54:21 - 54:25
    business and, yeah, focus on building a
    product.
  • 54:25 - 54:30
    H: I guess this was it. Thank you.
    S: Thank you so much. Applause
  • 54:30 - 55:00
    subtitles created by c3subtitles.de
    in the year 2020. Join, and help us!
Title:
36C3 - How (not) to build autonomous robots
Description:

more » « less
Video Language:
English
Duration:
55:00

English subtitles

Revisions