On Wed, 2009-07-22 at 14:16 -0500, Curtis Olson wrote: > I have a question and am wondering if our code currently has the > capability to do this and if anyone has developed an appropriate set > of config options. > > 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. > > I'm just wondering if I need to dig into the code to add some > additional modes of operation, or can the code already do what I'd > like and I'm just not seeing how it's done? > > Thanks, > > Curt.
<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