• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum
FORUM

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    Raspberry Pi, interesting news and a new positioning system

    Interfacing
    5
    9
    4004
    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.
    • jhoepffner
      jhoepffner last edited by

      Hello,

      I bought a raspberry pi at the beginning, some time ago, I tested it and choose to stay with Arduino because the media player was very ugly. Recently I was searching a way to do a cheap install with 6 HD video playing simultaneously (but not in perfect sync), with a way to start each one with a program. I came back to raspberry and i found a program here, a plain video player with OSC remote commands
      https://github.com/Hemisphere-Project/HPlayer
      Not so easy to install the right linux os (Raspbian via NOOB install) , then openFrame and the OSC library but now it works very well. I installed afp on linux, so I can upload the videos by ethernet or wifi and i can load a video, play it and pause it with a position return via OSC. No fade but for a 40€ computer it's fantastic to have HD hdmi output with sound, commanded easily from Isadora.
      I am working on a way to have an arduino slaved to raspberry as to command via OSC a servo to have a cheap shutter.
      When all is stable and tested with 4 videos, I will post a manual explaining the right way with pictures and code.
      Exploring the web, I found that
      https://www.pozyx.io
      A system able to do indoor positioning with 10 cm precision, anyone had tested it?
      It seems very interesting to track performers position on stage.
      jhoepffner

      Jacques Hoepffner http://hoepffner.info
      GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
      MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
      MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
      MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

      1 Reply Last reply Reply Quote 0
      • Skulpture
        Skulpture Izzy Guru last edited by

        This is really cool. I like the pozyx :)

        Graham Thorne | www.grahamthorne.co.uk
        RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
        RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
        RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

        1 Reply Last reply Reply Quote 0
        • gunther
          gunther last edited by

          I installed it on my Raspberry, and it works. Really cool!

          When starting HPlayer, I'm getting some error messages. I think it is because of missing OpenFrameworks. Did you install HPlayer from Binary or from Source (as described on GitHub)? I did from Binary.

          It seems, that the OSC command /getStatus doesn't send any messages. When I do Stram Setup in Isadora, a stream is recognized at first. But the status is always 0.

          Anyway, it's great that you found this and that you are developing an Isadora access to it.

          gunther

          Izzy 3 USB | Win10 64bit | various hardware: I5, I7

          1 Reply Last reply Reply Quote 0
          • jhoepffner
            jhoepffner last edited by

            Gunther,

            I made 3 attempts to have a working install of HPlayer and Openframeworks. Now it works well. But I start Player with ssh from a remote mac
            with this

            $ HPlayer/HPlayer --path /home/pi/Videos --start 1 --loop 1 --info 0 --ahdmi 1  --out 1234 --host 192.168.1.10

            I upload a first try to have a command from Isadora, with working back infos from Player, you have to pulse getStatus to update info.
            At the moment I am trying to use node to send OSC to raspberry and then to arduino as to move a servo as shutter, not so easy…
            Hope it works for you.

            f6e454-commandes-raspberry.izz

            Jacques Hoepffner http://hoepffner.info
            GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
            MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
            MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
            MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

            1 Reply Last reply Reply Quote 0
            • D
              DillTheKraut last edited by

              Hello,
              i had a Project in August, where 15 Raspberry Pi 2 with HPlayer was synced over OSC commands from a MacBook, wich was controlled by a timeline in a Abelton Live Computer via Midi. We used MaxMSP as the MidiToOSC translator, but it should work with Izzy as well.
              I used Izzy as a monitoring tool, showing the permanent status of the players, as they wasn't physically easy reachable at the show.
              The Videos were all 1080p and between 1 and 10 minutes long, creating a 12min loop.
              The "Live Theater Installation" ran stable 8 - 10 hours a day, nearly 2 Month.
              In the preset phase we had a heavy testing and our programmer did alot of fixes together with the main author.
              Only if you do very fast switches in a high frequency, between video files, the HPlayer sometimes crashes.
              https://www.berlinerfestspiele.de/de/aktuell/festivals/berlinerfestspiele/presse_bfs/pressefotos/pressebilder_orfeo/pressebilder_orfeo_1.php?month=2016-01
              1 Reply Last reply Reply Quote 0
              • jhoepffner
                jhoepffner last edited by

                @DillTheKraut

                Thank you for the return, my goal is not to have quick changes and I will test it before use… Have you more technical infos on website?
                I will use duration (or Vézer) as timeline directly in OSC from  a mac.
                But I search an app running on the raspberry, able to send OSC from a timeline, I tried to install Duration but with no success, any idea?
                For the remaining program, slave an arduino to move a shutter or mirror, I successfully received OSC with pyOSC in python, successfully sent information to arduino. 
                Now I need to write a Python script and an arduino program to do the work…
                Jacques

                Jacques Hoepffner http://hoepffner.info
                GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
                MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
                MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
                MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

                1 Reply Last reply Reply Quote 0
                • gunther
                  gunther last edited by

                  @jhoepffner

                  I wrote some programs in Python which use OSC, namely remote controls for Isadora (you'll find it here:  http://troikatronix.com/troikatronixforum/discussion/2324/izzy-player#latest  ) and remote control for DMX.

                  Maybe the DMX control ist interesting for you, if you have a DMX shutter. My Python script uses OLA - Open Lighting Architecture. OLA runs on the Pi, that means that you would not need Arduino but some USB-DMX dongle like Enttec or DMXking.

                  In case this is an option for you, here are some links:

                  https://drive.google.com/open?id=0B6Yq29kAcfcVM1h4aVhPdng4TGs

                  https://www.openlighting.org/

                  cheers, gunther

                  Izzy 3 USB | Win10 64bit | various hardware: I5, I7

                  1 Reply Last reply Reply Quote 0
                  • jhoepffner
                    jhoepffner last edited by

                    Dear Gunther,

                    I have no problem with DMX, I own a lanbox and DMX shutters…
                    My goal is to have, linked to the Raspberry playing video, a cheap device blocking the flux, RJ45 so much cheaper.
                    But thank you for the help.
                    Jacques

                    Jacques Hoepffner http://hoepffner.info
                    GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
                    MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
                    MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
                    MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

                    1 Reply Last reply Reply Quote 0
                    • K
                      KevinF last edited by

                      A recent project of mine might help.  It was set up to control a bunch of Arduinos hooked up to a Pi from Isadora:
                      https://github.com/kfriedberg/bridgepi

                      The project turns the Pi into a rather single-purpose device, but the following might make Raspbian do the same thing.


                      First, get the serial number of your Arduino.  Either plug it into the Pi and look towards the end of the output of the 'dmesg' command, or plug it in to Windows, go to the device details and find the Device Instance Path (it's the long hex number after the last backslash).

                      Next, install socat ($ apt-get install socat)

                      Then, make a file /etc/udev/rules.d/90-arduino.rules (90-.rules, really).  The file should contain the following line, adjusted for your situation:
                      SUBSYSTEM=="tty", ATTRS{serial}=="64131383331351411041", SYMLINK+="tty_arduino" RUN+="/sbin/start-stop-daemon -S --exec socat --background --pidfile /var/run/tty_arduino.pid --make-pidfile -- -d -d -ly TCP-LISTEN:4571,forever,fork /dev/tty_arduino,b9600,raw,echo=0"

                      Reboot, and whenever the Arduino's plugged in you should be able to contact it on port 4571 of the Pi.

                      If you've got multiple Arduinos, the rules file can have multiple lines.  Each line needs to have a different value for the serial number, a different name for "tty_arduino" (careful, that's in 3 places on each line), and a different port on TCP-LISTEN.

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post