On Monday 05 January 2004 18:12, Andy Ross wrote: > Jon S. Berndt wrote: > > FCS->SetLBrake(FMAX(globals->get_controls()->get_brake(0), parking_brake)); > > FCS->SetRBrake(FMAX(globals->get_controls()->get_brake(1), parking_brake)); > > FCS->SetCBrake( globals->get_controls()->get_brake(2) ); > > That convention only works for tricycle gear airplanes with three > wheels, though. The problem is that the current input mappings map > the following properties to those values: > > /controls/wheel/gear[0]/brake -- "left" > /controls/wheel/gear[1]/brake -- "right" > /controls/wheel/gear[2]/brake -- "center/nose" > > If you have a model with a non-standard undercarriage (the YASim > Harrier and 747 have this problem, for example), then it breaks. The > notion that there are separate control inputs for each wheel is wrong; > in a standard cockpit (i.e. as mapped by the default input bindings), > there is a left brake pedal and a right brake pedal. The decision as > to which wheels these effect, and how, is the job of the FDM, not the > input bindings. > > The standard bindings should reflect the controls in a standard > cockpit. Right now, for gear, they don't. This complicates life for > people writing models for non-standard wheel configurations.
The 'Left/Right/Center' scheme makes sense (athough I'm not sure how the center - Nose? - gear brake is applied). The most complex gear set-ups I've done have been for the B52 (4 x main gear & 2 x out-riggers) and the AN225 ( 2 x nose gear + 14 x main gear) With the B-52, both the front and rear main gear should be steerable, so that it can land 'crabbed' but it should also be able to work with just the front gear steering, so that it can taxi. I'd imagine that the Left/ Right braking scenario would apply here. The AN225 has two nose wheel pairs (but I wouldn't worry too much about differential steering;) plus seven main gear struts each side. The front four struts of each main gear side (left/Right) should be steerable but as far as braking, I'd expect the Left/Right scenario to apply again. It would be good if the Left/Right/Center braking scheme could be detailed down to each wheel/brake/tyre combination - that way the fdm should be open for simulating individual tyre blow-outs or axle failures. LeeE > > Currently, the convention is obviously that there are only three > "wheels" for the gear model. My suggestion was to canonize that and > call them "left" and "right", instead of numbering them like the gear > objects to which they don't (!) correspond. > > Andy > > > _______________________________________________ > Flightgear-devel mailing list > [EMAIL PROTECTED] > http://mail.flightgear.org/mailman/listinfo/flightgear-devel > > _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
