Search the Community
Showing results for tags 'motor'.
Found 1 result
Motorized yoke input question
Kelt760 posted a topic in FSUIPC Support Pete Dowson ModulesHi Pete, First, thanks for your tremendous work, which allows us to build our home cockpits ! I have a question relative to building a motorized yoke for a Baron58 in a FSX/Win 7 sim. I want to get a "real" trim, i.e move the neutral position of the yoke when I use the trim whell (or when the AP moves it). I am using OpenCocpits SIOC language. I currently have a motorized trim wheel with a multi-turn potentiometer ; when piloting manually, to set the trim, I read the pot, and send its "value" to offset x0BC0. Under AP, I read the offset value, and move the motor so that the pot (and thus the wheel) match the trim value ordered by the AP. This works fine. Now, I would like to move the yoke accordingly. I plan to have 2 pots : 1 on the yoke which normally drives the elevator, and the second to drive the motor which determines the neutral (center) of the yoke in similar way as the wheel. The point is, when I will move this center point, the whole yoke will move, thus changing the yoke potentiometer (elevator) value. So I need, before sending the yoke pot value to the elevator, to substract the center pot value, so that at the new trimmed position, the elevator offset is 0. This way, when I trim the aircraft, I will release the effort on the yoke without moving it, it move the neutral position to match the current yoke position... Under AP, I will use the FS trim value to drive the motor and move the yoke (as I do with the whell), but still with a 0 elevator value)... Hope I am clear ! From my readings of your user documents : I understand that I can use joystick calibration in FSUIPC (currently the yoke works from a cannibalized CH yoke), then use the "Send to FSUIPC offset" option to read this value in a SIOC varaible, then substract the center pot value, and then send it to elevator control input at offset x0BB2. Questions : is that idea correct ? If so, in which offset shall I read the calibrated yoke value send by FSUIPC ? I could not find out... The other choice is to read directly both pots in SIOC, loosing calibration facilities. Would that be better/easier ? Do you see drawbacks on either method ? Or is it possible calibrate adding the two pots (to send the resulting value to to calibration), but inthat case data will not come from a joystick but from SIOC (possibly in a unused offset) ? Of course I plan to do something similar with the ailerons, to have the yoke follow the PA orders... Thanks for the time you will take answering me. Pierre, Saclay, France