Sean Meighan

Software => Bugs in xLights/Nutcracker => Topic started by: Ebuechner on January 23, 2020, 06:22:34 PM

Title: New Servo model
Post by: Ebuechner on January 23, 2020, 06:22:34 PM
I'm testing driving servos from fpp using a Adafruit Pi hat when I moved on to testing them from xlights I was trying the new Servo model and after making a few changes when I'm in the sequencer Tab and try to open the servo model xlights is crashing.
I didn't think I should have been able to break it that easily and now the test show folder that I set up for doing this is unstable and doesn't want to open.
I'm going to go through the videos so I know what I should expect and understand how to set it up correctly but my main focus here was to test the pi hat.

Title: Re: New Servo model
Post by: Ebuechner on January 23, 2020, 06:24:29 PM
Files
Title: Re: New Servo model
Post by: Ebuechner on January 23, 2020, 07:05:23 PM
I may have figured it out, it was crashing because I set channels to 1 because I only wanted to drive a single 8-bit servo on Channel 1 without affecting the servo on Channel 2.
After I go back in and change the channels back to 2 the crash goes away.
Title: Re: New Servo model
Post by: Gilrock on January 23, 2020, 08:06:49 PM
Yeah I've made a ton of code changes/fixes/additions to several of the servo models for next release so testing will really need to start over after next release.  It's going to have you specify whether its an 8 bit or 16 servo and then it will automatically increase the channels if you haven't defined enough per servo.
Title: Re: New Servo model
Post by: Ebuechner on January 24, 2020, 12:04:41 PM
I look forward to that.
I'm interested to see how well it works while trying to sequence movements onto the model.
Currently I'm just using a white on effect ramping up and down and dropped onto the channel That I Want to manipulate.
I've used the face settings with different gray scales set for the mouth movements so that I can use the face effect with the lyric track.
My 3-axis skulls are being run from a custom model.