# Go1 Dance Moves

**URL:** <https://community.droneblocks.io/t/go1-dance-moves/745>\
**Category:** Robots\
**Created:** [February 13, 2023, 11:58pm UTC](https://community.droneblocks.io/t/go1-dance-moves/745 "2023-02-13T23:58:57Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![dbaldwin](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@dbaldwin](https://community.droneblocks.io/u/dbaldwin)\
**Post date:** [February 13, 2023, 11:58pm UTC](https://community.droneblocks.io/t/go1-dance-moves/745/1 "2023-02-13T23:58:57Z")

</div>

I’ve been thinking about the super bowl video @Fritz posted where 8 Unitree Go1s are on stage with Jason Derulo and his dancers. I want to do some experimentation with Go1 in high level “joints” mode where the joints can be manipulated to create dance movements. The go1-js package already supports several as you can see here:

> <https://github.com/dbaldwin/go1-js/blob/main/src/go1.ts#L130-L215>

With the right timing and easing between -1 and 1 this may lead to some cool robot dog dance maneuvers. Will experiment with this but wanted to put it out there.

I’m also thinking of a way to record the movements provided from the remote to Go1. It would be cool to record motions from the wireless remove and play them back programmatically. Lots of fun possibilities here!

---

<div class="post-metadata">

**Author:** ![Fritz](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.droneblocks.io/fritz/32/422_2.png) [@Fritz](https://community.droneblocks.io/u/Fritz)\
**Post date:** [February 14, 2023, 1:16am UTC](https://community.droneblocks.io/t/go1-dance-moves/745/2 "2023-02-14T01:16:34Z")

</div>

Can’t try this dance code, cause I’m away for the week, but sounds like fun. But even better would be to see and understand the pre-programmed movements from the remote. I would especially be interested in getting the dog to stand up, but without the “praying/begging” motion.

---

<div class="post-metadata">

**Author:** ![dbaldwin](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@dbaldwin](https://community.droneblocks.io/u/dbaldwin)\
**Post date:** [February 15, 2023, 9:49pm UTC](https://community.droneblocks.io/t/go1-dance-moves/745/3 "2023-02-15T21:49:40Z")

</div>

I’m with you. Unfortunately, we are going to address that (standing up) with some low level code. Definitely doable but will require some more research. I’m curious to see how far we can go with the JS library as we get up to speed with low level. Glad to have you on this journey with us!

---

<div class="post-metadata">

**Author:** ![Fritz](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.droneblocks.io/fritz/32/422_2.png) [@Fritz](https://community.droneblocks.io/u/Fritz)\
**Post date:** [February 19, 2023, 6:53pm UTC](https://community.droneblocks.io/t/go1-dance-moves/745/4 "2023-02-19T18:53:00Z")

</div>

Back from Florida, which was really fun. Anyway, I’ve been looking over your go1.ts file, and I don’t know what to do with it. Also in your latest package.json 0.1.1 you should add “type”: “module”, so people (like me) don’t keep bugging you about the same problem. Thanks!

---

<div class="post-metadata">

**Author:** ![I.TeachPolarBears](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.droneblocks.io/i.teachpolarbears/32/375_2.png) [@I.TeachPolarBears](https://community.droneblocks.io/u/I.TeachPolarBears)\
**Post date:** [February 20, 2023, 6:14pm UTC](https://community.droneblocks.io/t/go1-dance-moves/745/5 "2023-02-20T18:14:43Z")

</div>

We managed to get the push ups and battery color change to work most of the time, but not 100% of the time. Not having errors, just strange runtime behavior. LEDs not changing when the battery level says it should (but then runs correctly next time with no change) ¯\_(ツ)\_/¯

We’re going to start on the dance moves Tuesday.  
Also, we finally got ROS installed on an Ubuntu machine so we can start looking at the low level programming. Should we start with the Python and C++ video you made?

---

<div class="post-metadata">

**Author:** ![dbaldwin](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@dbaldwin](https://community.droneblocks.io/u/dbaldwin)\
**Post date:** [February 21, 2023, 2:18am UTC](https://community.droneblocks.io/t/go1-dance-moves/745/6 "2023-02-21T02:18:28Z")

</div>

Yes give that a go and let us know if you run into any problems. I was able to mess around with rviz over the weekend and just published this video:

[![](https://canada1.discourse-cdn.com/flex036/uploads/droneblocks/original/1X/e882223ea088e36b7e2d5403ae90f670f5bfa845.jpeg "Unitree Go1 ROS Joint Movements with RVIZ Joint State Publisher and Python") ](https://www.youtube.com/watch?v=ED0OUXBfffA)

I’m very interested in knowing just how portable this example is to run on the real Go1. I hope to test it soon.

---

<div class="post-metadata">

**Author:** ![Fritz](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.droneblocks.io/fritz/32/422_2.png) [@Fritz](https://community.droneblocks.io/u/Fritz)\
**Post date:** [February 22, 2023, 12:48am UTC](https://community.droneblocks.io/t/go1-dance-moves/745/7 "2023-02-22T00:48:09Z")

</div>

Really like this video and the simulator program. Everything worked perfectly until I tried to run the Python part. Says unitree\_controller not found. [Low Level Sim - YouTube](https://youtu.be/6a_XGVpW1Ng)

 ![20230221_183220](https://canada1.discourse-cdn.com/flex036/uploads/droneblocks/original/1X/1be726f95756ac2f3379142a421a211af44a5481.jpeg)

---

<div class="post-metadata">

**Author:** ![dbaldwin](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@dbaldwin](https://community.droneblocks.io/u/dbaldwin)\
**Post date:** [February 22, 2023, 1:38am UTC](https://community.droneblocks.io/t/go1-dance-moves/745/8 "2023-02-22T01:38:04Z")

</div>

Try this from your ~/catkin\_ws

```auto
source devel/setup.bash

```

Then see if it finds the controller. If not, would you mind opening a new thread in the forum and we can pick up there?

---

<div class="post-metadata">

**Author:** ![Fritz](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.droneblocks.io/fritz/32/422_2.png) [@Fritz](https://community.droneblocks.io/u/Fritz)\
**Post date:** [February 22, 2023, 3:52am UTC](https://community.droneblocks.io/t/go1-dance-moves/745/9 "2023-02-22T03:52:53Z")

</div>

> [@dbaldwin](#):
>
> `source devel/setup.bash`

Wow! That worked, thanks. Can’t wait to see how to send that info the the Go!

---

<div class="post-metadata">

**Author:** ![Fritz](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.droneblocks.io/fritz/32/422_2.png) [@Fritz](https://community.droneblocks.io/u/Fritz)\
**Post date:** [February 22, 2023, 6:52pm UTC](https://community.droneblocks.io/t/go1-dance-moves/745/10 "2023-02-22T18:52:44Z")

</div>

@dbaldwin Question. I have changed the script to make the joint move 3 times faster and at less of an arc. To stop I use Control C. But if I want to use the “joint state publisher sliders” again, what do I have to do? Thanks.

---

<div class="post-metadata">

**Author:** ![Fritz](https://yyz2.discourse-cdn.com/flex036/user_avatar/community.droneblocks.io/fritz/32/422_2.png) [@Fritz](https://community.droneblocks.io/u/Fritz)\
**Post date:** [February 23, 2023, 3:26am UTC](https://community.droneblocks.io/t/go1-dance-moves/745/11 "2023-02-23T03:26:33Z")

</div>

So, I got the dog to do a "paw shake’ in the simulator. I really want to be able to send this code to my Go1. Waiting patiently for the next step. Thank you Dennis!

[![](https://canada1.discourse-cdn.com/flex036/uploads/droneblocks/original/1X/1908abac6ad7adc44a0ced32b0af76dc422fc66b.jpeg "paw shake") ](https://www.youtube.com/watch?v=7rgIX-MiCD0)
