🤖Have you ever tried Chat.M5Stack.com before asking??😎
    M5Stack Community
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    live motion tracking with multiple m5stickc in unity [QUESTION]

    Scheduled Pinned Locked Moved PROJECTS
    20 Posts 6 Posters 39.6k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      shintobi @wikistik
      last edited by

      @wikistik actually an interesting idea. do you also have experience connecting several m5s via bluetooth?

      W 1 Reply Last reply Reply Quote 0
      • W Offline
        wikistik @shintobi
        last edited by

        @shintobi no I don't

        1 Reply Last reply Reply Quote 0
        • ajb2k3A Offline
          ajb2k3
          last edited by

          Okay, just got sent this link.
          https://randomnerdtutorials.com/esp32-esp8266-raspberry-pi-lamp-server/

          UIFlow, so easy an adult can learn it!
          If I don't know it, be patient!
          I've ether not learned it or am too drunk to remember it!
          Author of the WIP UIFlow Handbook!
          M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

          S C 2 Replies Last reply Reply Quote 0
          • S Offline
            shintobi @ajb2k3
            last edited by shintobi

            @ajb2k3 damn. i just randomly got the thought to check the forum and see you posted 2 mins ago. crazy...
            Thanks i will check it out

            ajb2k3A 1 Reply Last reply Reply Quote 1
            • ajb2k3A Offline
              ajb2k3 @shintobi
              last edited by

              @shintobi only got the email an 10mins befor posting on the forum

              UIFlow, so easy an adult can learn it!
              If I don't know it, be patient!
              I've ether not learned it or am too drunk to remember it!
              Author of the WIP UIFlow Handbook!
              M5Black, Go, Stick, Core2, and so much more it cant be fit in here!

              1 Reply Last reply Reply Quote 0
              • lukasmaximusL Offline
                lukasmaximus
                last edited by

                I remember a Japanese user posting a video on twitter about using the M5Stack as a controller in unity. I found his slides its all in Japanese I'm afraid and not possible to copy past the text to translate but here's the link https://speakerdeck.com/naninunenoy/m5stack-with-unity in the slides he mentions a bluetooth library called grayblue, might be worth a shot checking that out. I also found these other two blog posts covering the subject again in Japanese but this time at least you should be able to copy and paste the text to translate https://qiita.com/Zeni-Y/items/1d0e545259fbcd9381c8 and http://prince9.hatenablog.com/entry/2018/09/26/055809

                C S 2 Replies Last reply Reply Quote 0
                • C Offline
                  cmisztur
                  last edited by cmisztur

                  @shintobi , just sent you a voucher to our Unity MQTT asset.

                  http://unity3dassets.com/demos/wak-mqtt-demo2/index.html

                  S 1 Reply Last reply Reply Quote 0
                  • C Offline
                    cmisztur @ajb2k3
                    last edited by

                    @ajb2k3 for this use case I would recommend streaming IMU data to InfluxDB. Seems more appropriate for limb tracking.

                    1 Reply Last reply Reply Quote 0
                    • C Offline
                      cmisztur @lukasmaximus
                      last edited by

                      @lukasmaximus , below is some code I used on PYCOM hardware and WebBluetooth. I ran into issues when getting characteristic notifications faster than 1/2 sec. Not sure if it was an IDF GATT issue or WebBluetooth or PYCOM implementation. But it did kinda work.

                      https://pastebin.com/We2S8JwR

                      https://pastebin.com/HDrktkQZ

                      https://pastebin.com/s23hUMiD

                      https://pastebin.com/WtWr9C2J

                      https://pastebin.com/7d9CEyuR

                      1 Reply Last reply Reply Quote 0
                      • lukasmaximusL Offline
                        lukasmaximus
                        last edited by

                        @cmisztur thanks for sharing

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          shintobi @cmisztur
                          last edited by

                          @cmisztur the unity mqtt asset looks nice. but where can i put port / user / pwd? :D
                          i am using cloudmqtt as my broker.

                          C 1 Reply Last reply Reply Quote 0
                          • S Offline
                            shintobi @lukasmaximus
                            last edited by

                            @lukasmaximus will check it out. thanks!

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              cmisztur @shintobi
                              last edited by

                              @shintobi check out some of the scenes like ping-pong. It’s in a script on a GO.

                              1 Reply Last reply Reply Quote 0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • First post
                                Last post