Author Topic: Seamless looping  (Read 1784 times)

Offline hamsamich55

  • Newbie
  • *
  • Posts: 4
    • View Profile
Seamless looping
« on: December 06, 2019, 06:56:03 AM »
If there was a way to have the effect seamless loop.


Sent from my iPhone using Tapatalk

Offline kevinp

  • Sr. Member
  • ****
  • Posts: 373
    • View Profile
Re: Seamless looping
« Reply #1 on: January 20, 2020, 03:38:44 PM »
It can be done, but you need to play with the length of the effect along with settings within the effect too.  Unfortunately there isn't an easy solution.
Kevin Pankratz
Blaine MN

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Seamless looping
« Reply #2 on: January 20, 2020, 05:13:15 PM »
Well it depends on what you call seamless.  They loop immediately.  I do servo effects with a ramp up/down value curve and it appears to move seamless.   If you ramped an On effect up and down it would look seamless.  Since you just said "the effect" it's sort of ambiguous.

Offline JonB256

  • Hero Member
  • *****
  • Posts: 832
    • View Profile
    • My Christmas Website
Re: Seamless looping
« Reply #3 on: January 22, 2020, 04:00:23 PM »
Just now experimenting with programming Servos in xLights.
I created models (16 servo PCA9685 board, connected to a Pi with an OLED screen output to I2C )
What I see on screen is just a Red rectangle. I put servo values on it (16bit) but I see no motion on the preview screen.

I'll get the board and a servo or two connected later this week and see if it makes an attached servo move.

I was just expecting to see some sort of preview indication or movement. By double-clicking on the model, I can see the values depicted as it goes from dark to light ( 0 to 100 ).

If there is a video on Servo usage, I haven't found it yet.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Seamless looping
« Reply #4 on: January 22, 2020, 05:22:21 PM »
I would subscribe to my channel.  I've posted 4 servo related videos the last 2 weeks.  I'll link some here but a warning is I'm currently updating the DmxServo3d model such that it can have a lot of servos in one model which is going to allow me to remove the DmxServo3Axis type.  I try to have it do a conversion but it may need a tweak by the user after next release.  Bottom line is these are all designed now so that the user provides either an image or an OBJ file to represent the servo motion and I'm providing preset servo models that can be downloaded using the Vendor download dialog.  The last video shows another new feature I've added which allows you to link the servo effect to a lyric track to make servo move using lyrics and I'm using a servo model with images to demonstrate.

https://www.youtube.com/watch?v=2ahLME71-O8
https://www.youtube.com/watch?v=ZpYfJqUSsJ8
https://www.youtube.com/watch?v=9BU9ufclu48
https://www.youtube.com/watch?v=xB9pI9nM7MI

Thanks,
Gil

Offline JonB256

  • Hero Member
  • *****
  • Posts: 832
    • View Profile
    • My Christmas Website
Re: Seamless looping
« Reply #5 on: January 23, 2020, 05:23:04 AM »
Thanks, Gil.  Exactly what I was missing.

Offline JonB256

  • Hero Member
  • *****
  • Posts: 832
    • View Profile
    • My Christmas Website
Re: Seamless looping
« Reply #6 on: January 27, 2020, 09:43:41 AM »
Anyone playing with the PCA9685 board attached to an FPP should really look at the current State of Affairs in the FPP Master branch. Huge changes.  I had looked before at the ServoDog and its features. The PCA9685 controls are approaching that level of control quickly, plus its 16 Servo outputs instead of 8.

Version: v4.x-master-37-g15ffc13d (master branch)


Offline Ebuechner

  • Hero Member
  • *****
  • Posts: 750
    • View Profile
Re: Seamless looping
« Reply #7 on: January 27, 2020, 12:06:29 PM »
Yes I was working with Dan on testing and some additions.
I have a few boards here and I'm running them from a test sequence in xlights.
So far I'm just doing some basic testing running the fpp in bridge mode and driving it with DDP.
So far things are looking good.
You can buy a 3-pack pca9685 IIc modules for $12 on Amazon.
I had Dan add a way to turn off the pwm signal for those people who are going to be using analog servos.
I have a few parts coming to figure out a way to cut the power for people who are using digital servos.