Re: [Flightgear-devel] best way to remotely control flight gear?

2009-07-15 Thread Melchior FRANZ
* Eli Jordan -- Tuesday 14 July 2009:
 as far as I could see the route manager only allows for pre set waypoints,
 such as airports, i was hoping to be able to input co-ordinates (latitude
 and longitude) and have the auto pilot fly between these.

In telnet just type

  set /autopilot/route-manager/input -123.456,37.89

to append this waypoint to the list at runtime. That's lon,lat.
(Maybe we should swap those?) You can also demand a particular altitude:

  set /autopilot/route-manager/input -123.456,37...@8000

Possible formats are:

  (airport|fix|nav|lon,lat)[...@alt] -- e.g. k...@900


There are commands available for clearing the list, removing entries, etc.

  @clear ... clear route
  @pop   ... remove first entry
  @delete3   ... delete 4th entry
  @insert2:k...@900  ... insert k...@900 as 3rd entry
  k...@900   ... append k...@900

For example

 set /autopilot/route-manager/input @clear

This works also from the property browser, or via Nasal etc. The route
manager dialog uses the same interface.

Of course, you have to use an autopilot which takes the waypoints from the
route manager if you want your aircraft flown through all the points. The
default AP does this.

m.

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] best way to remotely control flight gear?

2009-07-14 Thread Eli Jordan

Hi
I am new to flight gear, but am using it in a multiple flight vehicle 
simulation system for my thesis, this system will be used to research aerial 
search patterns. To do this I need to be able to control flight gear from the 
search algorithm, running on a separate machine. I was wondering what would be 
the best approach to achieve this? I have had a look on the web site/wiki and 
found out about the telnet interface to the property tree (also, is there info 
on the syntax of each variable in the property tree?) and thought that the 
route manager accessed through telnet would be able to solve my problems, but 
as far as I could see the route manager only allows for pre set waypoints, such 
as airports, i was hoping to be able to input co-ordinates (latitude and 
longitude) and have the auto pilot fly between these. Any help would be greatly 
appreciated!!
ThanksEli
_
Looking for a new car this winter? Let us help with car news, reviews and more
http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801459%2Fpi%5F1004813%2Fai%5F859641_t=762955845_r=tig_OCT07_m=EXT--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] best way to remotely control flight gear?

2009-07-14 Thread Brisa Francesco
Eli Jordan ha scritto:
 Hi
 I am new to flight gear, but am using it in a multiple flight vehicle 
 simulation system for my thesis, this system will be used to research aerial 
 search patterns. To do this I need to be able to control flight gear from the 
 search algorithm, running on a separate machine.
what aspect of flightgear you want to control/drive ?

  I was wondering what would be the best approach to achieve this? I have had 
 a look on the web site/wiki and found out about the telnet interface to the 
 property tree (also, is there info on the syntax of each variable in the 
 property tree?) and thought that the route manager accessed through telnet 
 would be able to solve my problems, but as far as I could see the route 
 manager only allows for pre set waypoints, such as airports, i was hoping to 
 be able to input co-ordinates (latitude and longitude) and have the auto 
 pilot fly between these. Any help would be greatly appreciated!!
   
well, actually the autopilot cannot be set to just fly from this airport
to that airport and just wait the aircraft to do everything (rolling
,taking off, going and landing), it is not that advanced. but you can
place your aircraft whether you want, changing the
latitude/longitude/altitude through telnet.

Cheers
Francesco

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] best way to remotely control flight gear?

2009-07-14 Thread Curtis Olson
On Tue, Jul 14, 2009 at 5:39 AM, Eli Jordan wrote:

  Hi
 I am new to flight gear, but am using it in a multiple flight vehicle
 simulation system for my thesis, this system will be used to research aerial
 search patterns. To do this I need to be able to control flight gear from
 the search algorithm, running on a separate machine. I was wondering what
 would be the best approach to achieve this? I have had a look on the web
 site/wiki and found out about the telnet interface to the property tree
 (also, is there info on the syntax of each variable in the property tree?)
 and thought that the route manager accessed through telnet would be able to
 solve my problems, but as far as I could see the route manager only allows
 for pre set waypoints, such as airports, i was hoping to be able to input
 co-ordinates (latitude and longitude) and have the auto pilot fly between
 these. Any help would be greatly appreciated!!


At a lower level, the FlightGear waypoint system can handle any arbitrary
latitude and longitude and altitude.  However, something that might work
better for you (?) would be to just set up a basic autopilot that can hold a
commanded heading, altitude, speed, etc. and then monitor the flight
location from the remote search algorithm and pass heading updates to the
autopilot.

The autopilot target values are all stored in the property system, so it's
really straightforward to change them from a remote application using the
telnet interface.  And likewise you could monitor aircraft location
through the same interface.

Regards,

Curt.
-- 
Curtis Olson: http://baron.flightgear.org/~curt/
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] best way to remotely control flight gear?

2009-07-14 Thread leee
On Tuesday 14 Jul 2009, Eli Jordan wrote:
 Hi
 I am new to flight gear, but am using it in a multiple flight
 vehicle simulation system for my thesis, this system will be used
 to research aerial search patterns. To do this I need to be able
 to control flight gear from the search algorithm, running on a
 separate machine. I was wondering what would be the best approach
 to achieve this? I have had a look on the web site/wiki and found
 out about the telnet interface to the property tree (also, is
 there info on the syntax of each variable in the property tree?)
 and thought that the route manager accessed through telnet would
 be able to solve my problems, but as far as I could see the route
 manager only allows for pre set waypoints, such as airports, i
 was hoping to be able to input co-ordinates (latitude and
 longitude) and have the auto pilot fly between these. Any help
 would be greatly appreciated!! ThanksEli

I believe the GPS sub-system may be able to help you, but failing 
that writing your own FCS using Nasal isn't too difficult (although 
the development and testing may be time consuming).

The Nasal Geo sub-system includes a number of very useful functions 
that can be used to direct a custom FCS and autopilot combination 
to fly between a series of lat and lon coordinates and even perform 
automated take-offs and landings.  As I have said above though, 
tuning the custom configuration to work well with the particular 
FDM you use can be very time consuming.

One thing to be aware of when using the Nasal Geo functions is that 
some of them need the relevant scenery tile to be loaded into the 
scenery cache before it can be interrogated, so while flying 
between coordinates at an absolute altitude is not a problem, 
setting up a relative altitude (agl) flightpath or getting runway 
locations and orientation cannot be done until the relevant scenery 
tile is loaded into the scenery cache.

Another thing to bear in mind is that no consideration is given to 
backwards compatibility in FG development, so for the period of 
your thesis I would avoid tracking the cvs version of FG and either 
use one of the stable versions or stick with a single cvs snapshot; 
you're quite likely to find your work broken by subsequent 
development code changes if you try to keep up to date with cvs.

LeeE

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] best way to remotely control flight gear?

2009-07-14 Thread Arnt Karlsen
On Tue, 14 Jul 2009 20:39:34 +1000, Eli wrote in message 
col106-w39e00b96af49cafedf7a04ec...@phx.gbl:

 
 Hi
 I am new to flight gear, but am using it in a multiple flight vehicle
 simulation system for my thesis, this system will be used to research
 aerial search patterns. To do this I need to be able to control
 flight gear from the search algorithm, running on a separate machine.
 I was wondering what would be the best approach to achieve this? I
 have had a look on the web site/wiki and found out about the telnet
 interface to the property tree (also, is there info on the syntax of
 each variable in the property tree?) and thought that the route
 manager accessed through telnet would be able to solve my problems,
 but as far as I could see the route manager only allows for pre set
 waypoints, such as airports, i was hoping to be able to input
 co-ordinates (latitude and longitude) and have the auto pilot fly
 between these. Any help would be greatly appreciated!! 

..you control your autopilot's flight path adding new waypoints 
to the flight plan, or (re)moving them to change the flight plan, 
as far as I remember the advice I got here on sim flights to KOSH 
under e.g. this NOTAM: http://airventure.org/flying/notam2009.pdf

-- 
..med vennlig hilsen = with Kind Regards from Arnt... ;o)
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] best way to remotely control flight gear?

2009-07-14 Thread Artem Chernodub
Hello to everybody!

We are researches from Kiyv and are very interested in this question
too. We want to create neural network based control of planes.
We found, that FlightGear can be controlled via Matlab -- but it
can display internal processes that goes inside of it (landing of the
Shuttle, for example). How to get access to Flight model from FlightGear?

Ideally, we want the following:

Cycle 1:

We get state variables of the aircraft that characterises it's
position and motion: latitude/longitude/altitude, velocities, etc.,
STATE1;

We set it's actuators (elevator, aileron, engine power to some
position POS1;

Cycle 2:

We get STATE2;
We send POS2;

 Hi
 I am new to flight gear, but am using it in a multiple flight vehicle 
 simulation system for my thesis, this system will be used to research aerial 
 search patterns. To do this I need to be able to control flight gear from 
 the search algorithm, running on a separate machine.
 what aspect of flightgear you want to control/drive ?

  I was wondering what would be the best approach to achieve this? I have had 
 a look on the web site/wiki and found out about the telnet interface to the 
 property tree (also, is there info on the syntax of each variable in the 
 property tree?) and thought that the route manager accessed through telnet 
 would be able to solve my problems, but as far as I could see the route 
 manager only allows for pre set waypoints, such as airports, i was hoping to 
 be able to input co-ordinates (latitude and longitude) and have the auto 
 pilot fly between these. Any help would be greatly appreciated!!
   
 well, actually the autopilot cannot be set to just fly from this airport
 to that airport and just wait the aircraft to do everything (rolling
 ,taking off, going and landing), it is not that advanced. but you can
 place your aircraft whether you want, changing the
 latitude/longitude/altitude through telnet.


-- 
Best regards,
 Artem Chernodub   mailto:artem.cherno...@artixmedia.com


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] best way to remotely control flight gear?

2009-07-14 Thread Alez Buzin
Artem Chernodub wrote:
 Hello to everybody!

 We are researches from Kiyv and are very interested in this question
 too. We want to create neural network based control of planes.
 We found, that FlightGear can be controlled via Matlab -- but it
 can display internal processes that goes inside of it (landing of the
 Shuttle, for example). How to get access to Flight model from FlightGear?

 Ideally, we want the following:

 Cycle 1:

 We get state variables of the aircraft that characterises it's
 position and motion: latitude/longitude/altitude, velocities, etc.,
 STATE1;

 We set it's actuators (elevator, aileron, engine power to some
 position POS1;

 Cycle 2:

 We get STATE2;
 We send POS2;

   
Read FG_ROOT/docs/readme.io. Connect to FG with native-fdm and 
native-controls.
Like this:
--native-fdm=socket,out,30,machine,5500,udp
--native-controls=socket,in,30,,5501,udp
machine - you PC with control programm


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] best way to remotely control flight gear?

2009-07-14 Thread Artem Chernodub
OK, clear.

Does anybody have sources of such control program?

:-)

Artem Chernodub


 Read FG_ROOT/docs/readme.io. Connect to FG with native-fdm and
 native-controls.
 Like this:
 --native-fdm=socket,out,30,machine,5500,udp
 --native-controls=socket,in,30,,5501,udp
 machine - you PC with control programm

 Artem Chernodub wrote:
 Hello to everybody!

 We are researches from Kiyv and are very interested in this question
 too. We want to create neural network based control of planes.
 We found, that FlightGear can be controlled via Matlab -- but it
 can display internal processes that goes inside of it (landing of the
 Shuttle, for example). How to get access to Flight model from FlightGear?

 Ideally, we want the following:

 Cycle 1:

 We get state variables of the aircraft that characterises it's
 position and motion: latitude/longitude/altitude, velocities, etc.,
 STATE1;

 We set it's actuators (elevator, aileron, engine power to some
 position POS1;

 Cycle 2:

 We get STATE2;
 We send POS2;




-- 
Best regards,
 Artemmailto:artem.cherno...@artixmedia.com


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] best way to remotely control flight gear?

2009-07-14 Thread Patrice Poly
On mardi 14 juillet 2009 13:45:47 Brisa Francesco wrote:
 Eli Jordan ha scritto:
  Hi
  I am new to flight gear, but am using it in a multiple flight vehicle
  simulation system for my thesis, this system will be used to research
  aerial search patterns. To do this I need to be able to control flight
  gear from the search algorithm, running on a separate machine.


You could be interested looking at this, too :

fgfscontroller by Sergio Trimboli, Marcello Piliego

http://code.google.com/p/fgfscontroller/source/browse/trunk/main/src/fgfscontrol.c#


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel