Flightgear Forum
Attachments:On 4/16/20 4:25 PM, James Turner wrote: On 15 Apr 2020, at 18:00, Wayne Bragg wrote: var onGround = props.globals.getNode('gear/gear/wow', 1).getValue. props.globals.getNode('gear/gear1/wow', 1).getValue. props.globals.getNode('gear/gear2/wow', 1).getValue; In the original cargo towing code that was embedded on the aircraft side I used this call to determine if the chopper was on the ground ready to receive a load of hard docked cargo. It was in a nasal file called from the set file of the aircraft named cargoopporations.nas. It worked fine using the following call. onGround.getValue; Once I moved it into the Addon it no longer worked and complained about objects having no members, I believe.
These hardware recommendations for FlightGear are based on community feedback, be sure to consult other sources before making serious decisions regarding computer hardware. The performance of FlightGear depends on three main components in your computer: the CPU (processor), which makes all the computations; the graphics card, which renders the visual aspect of FlightGear, and RAM (also known.
Changing it to the following fixed it. var onGround = getprop('gear/gear/wow'). getprop('gear/gear1/wow'). getprop('gear/gear2/wow'); Same cargoopporations.nas file, everything else being the same, all other references to all other aircraft conditions and geo calls all worked except this.
All that changed was moving it from aircraft domain to addon domain. This is some kind of ordering issue I think - it sounds as if props.globals was not initialised when the addon was started. Attachments:On Sun, Apr 19, 2020 at 12:33 AM Josh Davidson wrote: Hi Pat, The problem does not exist in the FGAddon version of the Viggen yet. It exists in the FCS/AP rewrite I did for Necolatis (Nikolai V Chr) a while back, which is now being merged in git and then later in FGAddon when Necolatis releases the next update there. I also temporary pushed the workaround to git.
The JSBsim file I sent is enough to to load the Sim and test the issue via a listener. It does not do anything else, except allow easy reproduction of the issue. Kind Regards, - Josh DavidsonSo a testJSBSim.cxx would contain code to load that xml file and exerciseverious functions in JSBSIM until it detected a failure. If i closely readthis e-mail thread i'll get some hints as to what to set up to actuallytest this.
Sounds like a lot. Not sure I'll sucessfully write the actualtest.
I may need hints or an example to follow.I'm also wondering if the problem can be found just testing the propertytree, or is it JSBSim's way of using the property tree that's the issue.If the workaround is in git already, and I actually wrote a test that onewould expect to fail on this issue, would the workaround cause the test topass? If it's in git, which commit is it?-Pat Callahan-Pat Callahan. Attachments: On 19 Apr 2020, at 13:43, Jonathan R wrote: I thought that the cause, on the flightplan code side, was having a route departure - discontinuity - arrival, as inhibiting discontinuity creation has resolved all segfaults for Linux end users. I'm fairly sure that the routes were valid - unless the code didn't like the discontinuity being the first waypoint?Right, DISCONtinutiy as the first WP was part of the issue. The console things should be useful to diagnose this as well, thanks.:) So on my side, the only remaining crash seems to be that Intc waypoints are causing Canvas to segfault as well as showing very weird and wonderful things on the navdisplay! I was writing up a test case for that, but I believe you mentioned you were authoring tests for that as well? Or perhaps the DME intercepts you mentioned are different, since these waypoints are intersections of radials (e.g.
Procedure AJO 1R at LKFC.pdf, where the procedure is to intercept track 185 to BEBEV).Yes DME arcs (DmeIntercept) are different to radial intercept to please do keep working on test cases for that. We need to test (and fix!) both.Kind regards,James.
Attachments:Thanks!I thought that the cause, on the flightplan code side, was having a routedeparture - discontinuity - arrival, as inhibiting discontinuitycreation has resolved all segfaults for Linux end users. I'm fairly surethat the routes were valid - unless the code didn't like the discontinuitybeing the first waypoint?The console things should be useful to diagnose this as well, thanks.:)So on my side, the only remaining crash seems to be that Intc waypoints arecausing Canvas to segfault as well as showing very weird and wonderfulthings on the navdisplay! I was writing up a test case for that, but Ibelieve you mentioned you were authoring tests for that as well? Or perhapsthe DME intercepts you mentioned are different, since these waypoints areintersections of radials (e.g. Procedure AJO 1R at LKFC.pdf, where theprocedure is to intercept track 185 to BEBEV).Many thanks again for fixing these.
This has been a bit of a stress testfor the routing code!JonathanOn Sun, Apr 19, 2020 at 12:35 PM James Turner wrote: On 18 Apr 2020, at 20:18, Jonathan R wrote: I've checked again and apart from one function which I need to check, but really don't see how could be called at this stage, there are certainly no calls to deleteWP - except - if the user manually chooses to (e.g. By typing in CLR and using a line select key to delete a waypoint). I got a backtrace kindly provided by D-ECHO (it seems it's local to Linux systems only!) - This makes far more sense now, because I do call courseAndDistance methods in the function controlled by the maketimer. I am unsure why the deleteWP was ever referenced in the other one, since it simply isn't called. Attachments: On 18 Apr 2020, at 20:18, Jonathan R wrote: I've checked again and apart from one function which I need to check, but really don't see how could be called at this stage, there are certainly no calls to deleteWP - except - if the user manually chooses to (e.g.
By typing in CLR and using a line select key to delete a waypoint). I got a backtrace kindly provided by D-ECHO (it seems it's local to Linux systems only!) - This makes far more sense now, because I do call courseAndDistance methods in the function controlled by the maketimer. I am unsure why the deleteWP was ever referenced in the other one, since it simply isn't called. At least, intentionally, anyway!This commit: FlightPlan: don’t assert on invalid waypoints When there is no first anchor waypoint (eg a runway or navaid), avoid asserts from the RoutePath code. By James Turner on 11:27 View Changes. American conquest mod.
Hi Patrick,Il 19/04/20 05:43, Patrick Callahan ha scritto: I have old clones of flightgear, simgear and fgmeta on sourceforge: git clone callahanpa-flightgear git clone git clone callahanpa-flightgear-fgmeta Is there a way to update them without logging in to a shell on sourceforge? I'm assuming not, and will set up a new ssh key and log in to bring them up to the current commits on the main flightgear gits.I guess that by 'logging in to a shell on sourceforge' you mean'fetching all commits from the main FlightGear repositories to my localhard disk, then pushing them to my clones'? Attachments:On Sunday, 19 April 2020, Patrick Callahan wrote: I have old clones of flightgear, simgear and fgmeta on sourceforge: git clone callahanpa-flightgear git clone callahanpa-simgear git clone callahanpa-flightgear-fgmeta Is there a way to update them without logging in to a shell on sourceforge? I'm assuming not, and will set up a new ssh key and log in to bring them up to the current commits on the main flightgear gits. Once I've done that, I've seen in my local gits that there are two settings for remotes.
One for pulls, one for pushes. I'd like to find out if the one for pulls can be left pointing to the main flightgear repositories, while the one for pushes could be set to push to the callahanpa clones on the sourceforge shells. If that works, would I ever have to log in to the shell and do a git pull from flightgear's gits? In other words, with two clones of the main flightgear git, does the order of pulls and pushes between the three matter?Keep your forks, but just regularly keep them up to date. You can do thisas follows:- Clone your fork locally.- Use 'git remote' to rename your remote to say 'u-callahanpa-flightgear'.- Use 'git remote' to add the original FG repository as'flightgear-flightgear'.- Then run:$ git fetch -all$ git checkout next$ git merge flightgear-flightgear/next$ git pushYou are now up to date. Your 'next' branches should only ever containmerges from 'flightgear-flightgear/next'.
They must remain clean. Alldevelopment should be on branches.Regards,Edward. Attachments:Hi Pat,The problem does not exist in the FGAddon version of the Viggen yet.It exists in the FCS/AP rewrite I did for Necolatis (Nikolai V Chr) a whileback, which is now being merged in git and then later in FGAddon whenNecolatis releases the next update there.I also temporary pushed the workaround to git.The JSBsim file I sent is enough to to load the Sim and test the issue viaa listener.
It does not do anything else, except allow easy reproduction ofthe issue.Kind Regards,-Josh Davidson-CONFIDENTIALITY NOTICE: If you have received this email in error,please immediately notify the sender by e-mail by replying to the message.This email transmission may contain confidential information. Thisinformation is intended only for the use of the individual(s) or entity towhom it is intended even if addressed incorrectly. Please delete it fromyour files if you are not the intended recipient.
Thank you for yourcompliance.On Sat, Apr 18, 2020 at 5:16 PM Patrick Callahan wrote: Josh and James, I'm trying to follow this discussion, but I think there's some background I'm missing. James you mentioned the need for unit tests for JSBSim in specific areas. I'm assuming that you're talking about items that would land in flightgear/testsuite. Is that what Josh is referring to in 'I'll just make you the whole thing?' Also since the problem is related to the viggin aircraft, and my next version of flightgear fails when I tried to use the launcher to download aircraft: 0.08 INFO:general init package root at:Path '/work/fg/Aircraft' 14.36 ALRT:general catalog download failure: 404 14.36 WARN:gui failed refresh of ';: 8./run: line 73: 63668 Segmentation fault (core dumped) The link doesn't exist.
NOr does the directory 2019.2.0 or anything in that form under -Pat Callahan On Sat, Apr 18, 2020 at 1:01 PM Josh Davidson joshuadavidson2000@. wrote: I'll just make you a full thing. Give me an hour or so please. Kind Regards, - Josh Davidson -CONFIDENTIALITY NOTICE: If you have received this email in error, please immediately notify the sender by e-mail by replying to the message. This email transmission may contain confidential information. This information is intended only for the use of the individual(s) or entity to whom it is intended even if addressed incorrectly. Please delete it from your files if you are not the intended recipient.
Attachments:I have old clones of flightgear, simgear and fgmeta on sourceforge:git clonecallahanpa-flightgeargit clonecallahanpa-simgeargit clonecallahanpa-flightgear-fgmetaIs there a way to update them without logging in to a shell on sourceforge?I'm assuming not, and will set up a new ssh key and log in to bring them upto the current commits on the main flightgear gits.Once I've done that, I've seen in my local gits that there are two settingsfor remotes. One for pulls, one for pushes. I'd like to find out if theone for pulls can be left pointing to the main flightgear repositories,while the one for pushes could be set to push to the callahanpa clones onthe sourceforge shells.If that works, would I ever have to log in to the shell and do a git pullfrom flightgear's gits?In other words, with two clones of the main flightgear git, does the orderof pulls and pushes between the three matter?-pat callahan. Attachments:Josh and James,I'm trying to follow this discussion, but I think there's some backgroundI'm missing.James you mentioned the need for unit tests for JSBSim in specific areas.I'm assuming that you're talking about items that would land inflightgear/testsuite.Is that what Josh is referring to in 'I'll just make you the whole thing?'
Also since the problem is related to the viggin aircraft, and my nextversion of flightgear fails when I tried to use the launcher to downloadaircraft:0.08 INFO:general init package root at:Path '/work/fg/Aircraft'14.36 ALRT:general catalog download failure:40414.36 WARN:gui failed refresh of ';: 8./run: line 73: 63668 Segmentation fault (core dumped)The linkdoesn't exist. NOr does the directory 2019.2.0 or anything in that formunder-Pat CallahanOn Sat, Apr 18, 2020 at 1:01 PM Josh Davidson wrote: I'll just make you a full thing. Give me an hour or so please. Kind Regards, - Josh Davidson -CONFIDENTIALITY NOTICE: If you have received this email in error, please immediately notify the sender by e-mail by replying to the message. This email transmission may contain confidential information.
This information is intended only for the use of the individual(s) or entity to whom it is intended even if addressed incorrectly. Please delete it from your files if you are not the intended recipient. Attachments: On 18 Apr 2020, at 21:37, Jonathan R wrote: I also got this one today. It appears to happen with (INTC) waypoints. I am in the middle of trying a test case for INTC waypoints to see what that reveals! Although naturally it probably won't reproduce this one, as its a canvas crash.Yeah, this is some kind of issue with garbage collection I’d guess, looks like a ghost is stale.However, INTC waypoint also need tested - I am about to start work on the dreaded DME arc/intercept ones - on the plus side it will be awesome if the GPS can finally fly the EGPH 24 approach correctly.Kind regards,James.
Attachments:Hi Stuart,I'm afraid am getting a compile error on -next now.c:usersredpadocumentsflightgearfg-from-scratchflightgear-gitsrcmainpositioninit.cxx(857):error C2039: 'tolower': is not a member of 'std'JonathanOn Fri, Apr 17, 2020 at 10:09 PM Stuart Buchanan wrote: Hi Folks, My changes are now in. Use -carrier-position=FLOLS -offset-disance=2 for a 2nm final approach to the carrier. Or just use the launcher:) I've left -parkpos as a command-line option, synonymous with -parking-id. It's a trivial code change to remove it later. I've still got some help changes, manual changes etc to do - they should go in over the weekend.Stuart Flightgear-devel mailing list Flightgear-devel@. Attachments: On 18 Apr 2020, at 20:18, Jonathan R wrote: I've checked again and apart from one function which I need to check, but really don't see how could be called at this stage, there are certainly no calls to deleteWP - except - if the user manually chooses to (e.g.
By typing in CLR and using a line select key to delete a waypoint). I got a backtrace kindly provided by D-ECHO (it seems it's local to Linux systems only!) - This makes far more sense now, because I do call courseAndDistance methods in the function controlled by the maketimer. I am unsure why the deleteWP was ever referenced in the other one, since it simply isn't called. At least, intentionally, anyway!Okay, will take a look either way.Kind regards,James. James Turner writes: Forwarding to the developer list: On 18 Apr 2020, at 17:07, FlightGear - Flight Simulator SVN repository wrote: an24b: bug fix: recreate fcs/throttle-pos-norm0.1 These properties were deleted in r4386 to crash on startup with the message: FGPropertyManager::GetNode No node found for fcs/throttle-pos-norm In file /home/lbrenta/.fgfs/Aircraft/an24b/Engines/ai24.xml: line 49 Thread 1 'fgfs' received signal SIGSEGV, Segmentation fault.
A missing property should definitely not cause a crash, IMO. Can you give a minimal setup to reproduce, and we can test-ify it and ideally make things more robust?Take the An-24 at the previous revision, start fgfs with it. I thinkthis is minimal enough?Note that i had to run fgfs under gdb to get that error message; theerror message does not appear in the fgfs.log.-Ludovic Brenta. On Sat, 18 Apr 2020 at 21:16, Patrick Callahan wrote: Ok. You've proposed that instead of boost and PLIB, that a group could work together on testing on some specific parts of JSBsim.
I'm game. Who else wants to work on this as part of a group? Don't be shy. Meantime I'm off to take a closer look at Josh's result and anything said recently about jsbsim on flightgear-devel.I forgot to mention one commit as part of this thread:To start diving strait into the test suite code, firstly copy what hasbeen done in this commit:Just modify all names for a JSBSim test (or any other test fixture youwant to code). You should then be able to compile and check that yournew testDummy test passes as expected. You can then slowly build upfrom this basic infrastructure as you learn the fgfs internals, c,and git skills required for implementing your test on your fork's newdevelopment branch:)Regards,Edward.
Scene it lights camera action xbox 360. Founded in 1997, FlightGear is developed by a worldwide group of volunteers, brought together by a shared ambition to create the most realistic flight simulator possible that is free to use, modify and distribute. FlightGear is used all over the world by desktop flight simulator enthusiasts, for research in universities and for interactive exhibits in museums.FlightGear features more than 400 aircraft, a worldwide scenery database, a multi-player environment, detailed sky modelling, a flexible and open aircraft modelling system, varied networking options, multiple display support, a powerful scripting language and an open architecture. Best of all, being open-source, the simulator is owned by the community and everyone is encouraged to contribute. You’ve seen hiring tests before. Maybe they’re a series of questions your boss came up with, maybe they’re a list of riddles that a qualified candidate should have no problem solving.
Whatever the case, you know deep down they don’t work. Knowing that doesn’t fix your problem though. As a hiring professional, you need an efficient way to screen candidates effectively, easily, and correctly. That’s where WonScore by Wonderlic comes in. Backed by extensive scientific I/O research, the WonScore assessment analyzes three crucial components of a candidate: cognitive ability, personality, and motivation. Using this data, we ensure that you as the employer are hiring the very most qualified person for your position and your team.
You’re able to access all of the results, which boil down to one score you can compare based on your needs. It’s quick, easy, painless, and most importantly it works.