Page 1 of 1
Servo controller!
Posted: Sun Oct 06, 2019 8:40 pm
by jgu1
Hi all!
I have to use a servo controller played with the 8 channel controller. I not managed to figured out how to use this component, help needed please.
Will somebody look at my testprogram.
Thank´s in advance.
Br Jorgen
Re: Servo controller!
Posted: Sun Oct 06, 2019 10:47 pm
by viktor_au
Hello Jorgen
Please have a look at the attached file. I have modified it a bit.
Pay attention to:
1. Servo initialisation.
2. Servo_Controller1::EnableServo(0) // channel 0, not 1
3. ServoMotor->Properties->Link To... // should be Unconnected
3. Servo_Controller -> Set position (not move to position)
Matrix team has provided a good example:
https://www.matrixtsl.com/wiki/index.ph ... hatronics)
I am not sure why you did not check it.
Re: Servo controller!
Posted: Mon Oct 07, 2019 7:54 am
by jgu1
Hi Victor!
Thank you for the correction, I see I almost was there
Yes I know the example from the helpmeny, but this i an old one from FC5, I suppose. I would like to use the Servo controller from FC8
You managed to get it work, exactly like I wish in simulation and all. Perfect Victor, thank´s.
I imagine it´s still hot in Australia? Here in Denmark the winter is on it´s way. This morning only 2degree Cel.
Br Jorgen.
Re: Servo controller!
Posted: Mon Oct 07, 2019 9:04 am
by viktor_au
Glad it works Jorgen.
All good.
Sometimes it is easy to help somebody else than to find my own mistakes.