Wow, that's perfect, exactly what I was hoping for !!! I made a small change in your proposed configuration to map the target-lat/lon/elevation path to /sim/input/click so the camera automatically stays fixed on anything you click on in the view. I discovered that you really want to have the aircraft on autopilot, or someone else flying with a proper view.
The capabilities and reconfigurability of FlightGear is amazing. (We aren't perfect, but it doesn't hurt to pat ourselves on the back every once in a while.) :-) Thanks again! Curt. On Wed, 2009-07-22 at 14:16 -0500, Curtis Olson wrote: > > I would like to create a view that simulators a gyro stabilized > > pan/tilt camera looking at a specific fixed point on the ground (i.e. > > news helicopter or uav type application.) I see we have a "lookat" > > mode in our code, but this appears to be hardwired to either look at > > our own aircraft as it flies from a fixed view point, or look in a > > specific direction. > On Wed, Jul 22, 2009 at 8:34 PM, Ron Jensen wrote: > <view n="101"> > <name>News Camera</name> > <type>lookat</type> > <internal type="bool">true</internal> > <config> > <eye-lat-deg-path>/position/latitude-deg</eye-lat-deg-path> > <eye-lon-deg-path>/position/longitude-deg</eye-lon-deg-path> > <eye-alt-ft-path>/position/altitude-ft</eye-alt-ft-path> > <eye-heading-deg-path>/orientation/heading-deg</eye-heading-deg-path> > > <target-lat-deg-path>/sim/tower/latitude-deg</target-lat-deg-path> > <target-lon-deg-path>/sim/tower/longitude-deg</target-lon-deg-path> > <target-alt-ft-path>/sim/tower/altitude-ft</target-alt-ft-path> > <!-- > <target-heading-deg-path></target-heading-deg-path> > <target-pitch-deg-path></target-pitch-deg-path> > <target-roll-deg-path></target-roll-deg-path> > --> > </config> > </view> > > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Flightgear-devel mailing list > Flightgear-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > -- Curtis Olson: http://baron.flightgear.org/~curt/
------------------------------------------------------------------------------
_______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel