Holding pos and PWM
I know this is a dumb newbie question - please bear w/ me.
Is propeller capable of taking a PWM and holding that PWM ? for example holding the position of a Servo?
Scenario:
let's suppose I'm building a propeller powered electric truck (autonomous)
#1: Set Servo pos to "go straight ahead" (via PWM)
#2: Main Loop
····· check obstacle sensors
····· check GPS Pos
····· check this, check that
·····
#3: Depending on values in·#2
····· Change Servo Pos to "take right turn" and "go straight ahead"
During #2, the servo holds position - no need to re-enforce servo pos durin #2
does this scenario apply to propeller
sorry if the scenario was needlesly descriptive
thanks
·····
Is propeller capable of taking a PWM and holding that PWM ? for example holding the position of a Servo?
Scenario:
let's suppose I'm building a propeller powered electric truck (autonomous)
#1: Set Servo pos to "go straight ahead" (via PWM)
#2: Main Loop
····· check obstacle sensors
····· check GPS Pos
····· check this, check that
·····
#3: Depending on values in·#2
····· Change Servo Pos to "take right turn" and "go straight ahead"
During #2, the servo holds position - no need to re-enforce servo pos durin #2
does this scenario apply to propeller
sorry if the scenario was needlesly descriptive
thanks
·····
Comments
My version will work more like the standard PSC where the servo cog will hold everything and the any cog that wants to update a servo will do it through a PUBlic method. By doing this, I can incorporate the "ramp" feature of the PSC into the servo cog so the mainline code isn't burdened with that work.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
the more i learn, the less i can wait...