[Flightgear-devel] Wiki Error

2009-09-10 Thread AC001

Not sure who the admin is for the wiki, so I thought I'm mail this list.

This page http://wiki.flightgear.org/index.php/Air_bagan

Shows this error


 Database error

A database query syntax error has occurred. This may indicate a bug in 
the software. The last attempted database query was:


   (SQL query hidden)

from within function Parser::replaceLinkHolders. MySQL returned error 
1271: Illegal mix of collations for operation ' IN ' (localhost).


regards
Pete
ac001
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Solid MP Models

2009-09-10 Thread AC001
Just a thought. The glide slope tunnel appears on 28R. So I set my 
startup to be 28L.

pete

George Patterson wrote:
 On Fri, Sep 11, 2009 at 6:21 AM, Heiko Schulz aeitsch...@yahoo.de wrote:
   
 Hmmm...

 For a short time this might be helping but


 
 I have disabled the MP Aircrafts collisions with the rest of the world.
   
 ... but we also have a lot of AI aircrafts around and they don't announce 
 there incoming. That makes it very realistic and a lot of fun, then now you 
 really have to watch out and look for other aircrafts! Like in real world!

 I vote also for possibility to tun on/ off AI/ MP collision- that would be a 
 very neat feature!
 Regards
 HHS

 

 Seconded!

 The problem is though you might be wanting to avoid other aircraft.
 Some immature people (kids??) take a perverse pleasure in flying
 through other peoples planes. It's another reason why I rather fly
 near KSFO. I'm not sure if aircraft to aircraft collision detection is
 good idea on open servers when there are no consequence to the
 perpetrator.


 George

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel
   


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Solid MP Models

2009-09-10 Thread AC001
AC001 wrote:
 Just a thought. The glide slope tunnel appears on 28R. So I set my 
 startup to be 28L.

 pete
   
Oops forgot the link to this wiki page.
http://wiki.flightgear.org/index.php/San_Francisco_International_Airport

 George Patterson wrote:
   
 On Fri, Sep 11, 2009 at 6:21 AM, Heiko Schulz aeitsch...@yahoo.de wrote:
   
 
 Hmmm...

 For a short time this might be helping but


 
   
 I have disabled the MP Aircrafts collisions with the rest of the world.
   
 
 ... but we also have a lot of AI aircrafts around and they don't announce 
 there incoming. That makes it very realistic and a lot of fun, then now you 
 really have to watch out and look for other aircrafts! Like in real world!

 I vote also for possibility to tun on/ off AI/ MP collision- that would be 
 a very neat feature!
 Regards
 HHS

 
   
 Seconded!

 The problem is though you might be wanting to avoid other aircraft.
 Some immature people (kids??) take a perverse pleasure in flying
 through other peoples planes. It's another reason why I rather fly
 near KSFO. I'm not sure if aircraft to aircraft collision detection is
 good idea on open servers when there are no consequence to the
 perpetrator.


 George

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus 
 on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel
   
 


 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel
   


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] property tree

2009-09-08 Thread AC001
I'm a new kid on the block but I want to raise and issue.

*The Property Tree Documentation*

Its taken a while to kinda figure out and research/mind shift as to 
where its all as there in conflicting information from /src mini-docs 
with regard to purpose and my intermittent time of research. Where it 
has led me is to the wiki and even there its kind of a 
lash/hash/mish/mash up. I'm a web developer by nature and not a compiler.

I'd like to feedback and correct/make/edit wiki documentation and make 
it THE source of reference so It's easy to find; as another newbie like 
me is trying to find node etc it would be clear which path to follow to 
interface with FG internally or externally on sockets telnet etc.

Now I've taken an initiative (ducks) and created the namespace of 
PropertyTree: as follows, but need advice before do it proper.

PropertyTree:
http://wiki.flightgear.org/index.php/PropertyTree

What we want Out of that Tree has differenct objetives, eg internal, 
external, motion sim, cabin light switch and fader level et all

Current wiki pages are.
http://wiki.flightgear.org/index.php/Property_Tree_Intro
http://wiki.flightgear.org/index.php/Property_Tree
http://wiki.flightgear.org/index.php/Property_Tree_Servers ( I edited 
this hence --props above) from
http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg21190.html

http://wiki.flightgear.org/index.php/Property_Tree_Reorganization
http://wiki.flightgear.org/index.php/Recommended_Property_Tree_Enhancements
http://wiki.flightgear.org/index.php/Howto:Working_with_the_Property_Tree_API
http://wiki.flightgear.org/index.php/Property_browser
http://wiki.flightgear.org/index.php/Special:Search?search=propertygo=Go
http://wiki.flightgear.org/index.php/Special:Search?search=treego=Go

The only reliable one maybe is
http://cvs.flightgear.org/viewvc/source/docs-mini/README.properties?view=markup

==Reference==
Need to have the generic always there tree Reference ie constants of 
somewhat
eg position, flaps, and a clear definition and the nodes of whats 
changeable and sim stuff.. reference here. Most Basic

make users aware of how to browse properties and where the target areas 
are?

I believe this is the way to go, its pretty clear in my mind as a 
newbie. Just need to consolidate it and make it cool and clear, no 
matter what level.

 First Major Desicion ===
--props= /dev/null
http://www.mail-archive.com/flightgear-devel@lists.sourceforge.net/msg09152.html
So two years later can on irc

[23:59] vivian #vivian --props is a method of setting properties 
remotely


Heard that --props is abandoned (is that for real) can someone confirm?

   [23:58] ac001 #ac001 so what is the difference between a --telnet 
and --props

   [23:59] Jester #Jester nothing


so Can that be nuked from references
http://wiki.flightgear.org/index.php/Command_Line_Parameters#IO_Options

See what happens..

regards
Pete
 ac001

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] telnet

2009-09-07 Thread AC001
Am I missing something? (a newbie)

I'm executing this command with telnet

dump /

result  nothing.

expectation - the full property tree


The problem is that different aircraft have different properties, so 
these will expose themselves with dump I assume.

The underlying problem is that I want a *full* list of *all* the nodes 
in the the tree ie recusively so all the properties can be observered.

Is there a way to do that ?

regards
Pete
ac001


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Reloading a protocol file

2009-09-06 Thread AC001
Hi all.

Would it or could it be possible to reload a protocol file as the sim is 
running.

The problem is that small changes to the protocol file eg simply 
changing the format means restarting the whole sim which unfortunately 
on my machine takes time.

The only parts of interest would be the contents of the 
inputoutput's chunktags.

At a minimum what would be helpful would be just to reload the format. 
Then changing the /node/ and even adding new chunks.

If its not possible for technical reasons, pointers would be appreciated.


regards
Pete
ac001



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Source code control systems

2009-09-05 Thread AC001
Think this page on creating a super project and having submodules is 
a good read.

http://git.or.cz/gitwiki/GitSubmoduleTutorial

;-)

Mathias Fröhlich wrote:
 Hi,

 I also believe that we should move away from CVS.

 svn would have the benefit that it is very easy to use if you know cvs.

 Distributes systems have their huge benefits. If that DVCS is git or hg is 
 more 
 or less a matter of taste IMO.

 The downside is that distributes systems are more complex to handle.
 I do not know how much people out there who do occasional development - 
 especially for the aircraft models - are familiar with DVCS or want to 
 understand what happens in a DVCS.

 The backup problem is more or less trivially solved with DVCS since you have 
 a 
 distributed backup across the developers.

 Git offers to clone from a svn server (git-svn). I know several people who 
 use 
 git-svn for their personal work on a bigger project.
 So that might deliver a good compromise between a master svn and the git 
 usage 
 pattern for personal development.
 What gets lost with this approach is that 'Curt, please pull from git:...' 
 workflow we see on virtually every git hosted project.

 I am not sure if this fine grained access control we have today on the cvs 
 server is still needed. I would argue that this had made more problems than 
 goods in the past. But if we still need that, I am not sure if we can do that 
 with git or hg. I know that this could be done with svn but even there it is 
 more complicated than just adding group write rights on some subdirectories 
 like it is with cvs.

 I know that there is a git port for windows. But does this already work well 
 enough? I have never tested ...

 My vote would go to a DVCS.
 But I can well live with svn.

 Greetings

 Mathias

 --
 Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
 trial. Simplify your report design, integration and deployment - and focus on 
 what you do best, core application coding. Discover what's new with 
 Crystal Reports now.  http://p.sf.net/sfu/bobj-july
 ___
 Flightgear-devel mailing list
 Flightgear-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/flightgear-devel
   


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] Input protocol implementation problem

2009-09-03 Thread AC001
First am a newbie to FlightGear and am throughly enjoying the experience ;-)

Am hacking in pyqt experimenting/researching with sockets (to eventually 
interface with Arudino)

The FG-output to pyqt listening is working great, with no major issues.

However I am having problems with the input side and would appreciate 
some direction.

The issues are.
1)  can I acknowledge/debug that fg is receiving the input from socket
2) unsure about the formatting of the inputchunk
3) unsure how to format the input variable in the correct way..

below are the various elements snipped in parts

my command line is

/home/flight-sim/flight-gear-9/source/src/Main/fgfs \
  --fg-root=/home/flight-sim/flight-gear-9/data \
  --httpd=9090 \
  --aircraft=A380 \
  --disable-real-weather-fetch --disable-clouds --timeofday=noon 
--fog-disable \
  --generic=socket,out,10,127.0.0.1,6789,udp,mash \
  --generic=socket,in,5,127.0.0.1,6788,udp,mash \
  --trace-write=/sim/gui/dialogs/autopilot/speed-active

and the mash.xml protocol file

?xml version=1.0?
PropertyList
generic
input
line_separatornewline/line_separator
var_separatortab/var_separator

   
chunk
namespeed-active/name
typebool/type
node/sim/gui/dialogs/autopilot/speed-active/node
/chunk
/input
 
output
line_separatornewline/line_separator
var_separatortab/var_separator

chunk
nameaileron/name
typefloat/type
formataileron=%03.2f/format
node/controls/flight/aileron/node
/chunk
  
chunk
nameelevator/name
typefloat/type
formatelevator=%03.2f/format
node/surface-positions/elevator-pos-norm/node
/chunk
 snipped--


the python code
   # eg speed-active=true\n is sent
datagram = speed-active=%s\n % (val)
print datagram
self.udpSocket.writeDatagram(datagram, 
QtNetwork.QHostAddress(QtNetwork.QHostAddress.Broadcast), 6788)


help would be greatly appreciated
tia
pedro
ac001

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] Source code control systems

2009-09-03 Thread AC001
Am new to flightgear, but read this thread, and for a tuppence worth (ducks)

have you looked at launchpad.net ?

thats got scm, bus tracker, teams, etc, etc

What is launchpad? https://launchpad.net/+tour/index

and that uses Bazaar scm

regards
Pete

Curtis Olson wrote:
 On Thu, Sep 3, 2009 at 4:10 AM, Tim Moore timo...@redhat.com 
 mailto:timo...@redhat.com wrote:

 It is important to remember that, unlike a personal religious
 choice like
 emacs vs. vi, the outcome of this religious debate will affect
 many people's
 daily interaction with Flightgear. In this way I suppose the
 debate is more
 like a religious war :) To dismiss the debate as merely religious
 is to
 ignore real technical arguments. At the end of the day, of course,
 a choice
 must be made that will leave some people unhappy, but I hope we
 can arrive
 there by listening to all sides.


 I only said that in attempt to deflect comments ahead of time from 
 anyone who would immediately take this up as a religious war and 
 choose to push the discussion in that direction.  I really appreciate 
 those that have responded professionally.  This really helps to 
 advance this discussion in a positive direction.
  

 It would be a pity to move from CVS and end up with SVN, even
 temporarily.
 First, let's be clear that some other system means Git. Several
 of us
 already use git for working with Flightgear. If anyone is using
 another
 system to interact with Flightgear's CVS, I'm not aware of it.
 There are
 at least two Git mirrors of of Flightgear and Simgear, so the
 conversion
 work has already been done.


 As long as this discussion is branching off in several directions, is 
 it worth discussing mercurial versus git?  code.google.com 
 http://code.google.com supports mercurial (hg).  I have never used 
 either.  I've done a bit of googling, but much of the information I've 
 found has been dated, or not written in a way that convinces me of the 
 author's objectivity.
  

 The advantages of distributed version control systems over
 centeralized
 ones like SVN are numerous, and I won't hash them out here unless it
 becomes necessary :) code.google.com http://code.google.com does
 support Mercurial (also known
 as Hg), and I would urge you to consider that as a target instead
 of SVN.
 That said, I have not used Hg; from what I have read, git's
 support for
 branching, merging, and preserving the history of merges is stronger.
 These features were very useful in creating the 1.9.1 maintenance
 release,
 where new development was able to continue on a mainline branch
 and specific
 fixes could be pulled into the maint branch, or made on the maint
 branch
 and merged to the mainline.

 For me, lack of Git support would be a deal breaker for
 code.google.com http://code.google.com.


 From what I've read, hg and git seem to be converging in similar 
 directions and each tool seems to be adding features to address their 
 own weaknesses in comparison with the other.

 Just as I'm writing this I am remembering an old grad school class 
 project I did with two other guys.  We created a system based on CVS 
 which would automatically replicate a CVS repository across all 
 participating systems.  This was back when we were all on dialup, and 
 you usually dialed into a bulletin board system, not an ISP.  (Am I 
 dating myself?) :-)   So we set up uucp bewteen our home machines and 
 all the communication was done through emails that were automatically 
 intercepted and parsed on the receiving end.  The uucp subsystem took 
 care of automatically dialing up the other computers if there was 
 something in the mail queue to be sent.  There was a token for each 
 file and you had to have the token in order to do a commit.  If you 
 didn't have the token, a token request was broadcast (over email/uucp) 
 and eventually it would be sent back to you and you could finalize the 
 commit.  Believe it or not, this system actually worked and worked 
 rather well to maintain synchronization between distributed repository 
 copies across a non-internet connected collection of machines ... back 
 in the days before DSL and cable when it was actually difficult to get 
 connected up to the internet.

 I haven't checked it out yet, but I did browse it. I did notice
 that you
 imported the expanded CVS $Id$ strings into SVN, which is going to get
 very messy. At the least you should do the CVS checkout with -kk.


 I didn't do a cvs checkout, but just ran cvs2svn ... I wonder if it 
 has an option for this?  Nothing is jumping out at me yet ...

 Regards,

 Curt.
 -- 
 Curtis Olson: http://baron.flightgear.org/~curt/ 
 http://baron.flightgear.org/%7Ecurt/