You can subscribe to this list here.
| 2006 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(9) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2008 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
(1) |
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
(8) |
Sep
|
Oct
|
Nov
(10) |
Dec
(2) |
| 2010 |
Jan
(11) |
Feb
(21) |
Mar
(8) |
Apr
(1) |
May
(11) |
Jun
(13) |
Jul
(5) |
Aug
(2) |
Sep
(1) |
Oct
(3) |
Nov
(39) |
Dec
(16) |
| 2011 |
Jan
(18) |
Feb
(33) |
Mar
(4) |
Apr
(2) |
May
(13) |
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(8) |
Oct
(4) |
Nov
(4) |
Dec
|
| 2012 |
Jan
(10) |
Feb
|
Mar
|
Apr
|
May
|
Jun
(4) |
Jul
(5) |
Aug
(5) |
Sep
(3) |
Oct
|
Nov
(5) |
Dec
(12) |
| 2013 |
Jan
(8) |
Feb
(6) |
Mar
(10) |
Apr
|
May
|
Jun
(2) |
Jul
(7) |
Aug
(31) |
Sep
(13) |
Oct
(21) |
Nov
(1) |
Dec
(1) |
| 2014 |
Jan
(9) |
Feb
(2) |
Mar
(20) |
Apr
(6) |
May
(6) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(7) |
Oct
(18) |
Nov
(42) |
Dec
(11) |
| 2015 |
Jan
(3) |
Feb
(20) |
Mar
(13) |
Apr
(21) |
May
(11) |
Jun
(23) |
Jul
(20) |
Aug
(4) |
Sep
(2) |
Oct
(17) |
Nov
(3) |
Dec
(19) |
| 2016 |
Jan
(17) |
Feb
(1) |
Mar
(8) |
Apr
(1) |
May
(3) |
Jun
(9) |
Jul
(8) |
Aug
|
Sep
|
Oct
(2) |
Nov
(4) |
Dec
|
| 2017 |
Jan
(3) |
Feb
|
Mar
(4) |
Apr
(4) |
May
(30) |
Jun
(16) |
Jul
|
Aug
(6) |
Sep
|
Oct
(2) |
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(11) |
Apr
|
May
|
Jun
(8) |
Jul
(2) |
Aug
|
Sep
(8) |
Oct
(2) |
Nov
|
Dec
(14) |
| 2019 |
Jan
(6) |
Feb
|
Mar
|
Apr
|
May
(8) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(6) |
Dec
(3) |
| 2020 |
Jan
(6) |
Feb
(1) |
Mar
(5) |
Apr
(2) |
May
(2) |
Jun
|
Jul
|
Aug
(1) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
| 2022 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(3) |
| 2023 |
Jan
|
Feb
(3) |
Mar
|
Apr
|
May
(1) |
Jun
(1) |
Jul
(2) |
Aug
|
Sep
|
Oct
(3) |
Nov
|
Dec
|
| 2024 |
Jan
(1) |
Feb
(2) |
Mar
(5) |
Apr
(4) |
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
| 2025 |
Jan
(2) |
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(4) |
Sep
(4) |
Oct
(1) |
Nov
|
Dec
|
|
From: dave <dav...@co...> - 2020-01-07 19:37:42
|
Sorry, I answered linux guy directly instead of answering to the list. Here's my message: -------- Forwarded Message -------- Subject: Re: [Jsbsim-users] Connecting to multiple processes on UDP ? Date: Tue, 7 Jan 2020 11:34:09 -0800 From: dave <dav...@co...> To: linux guy <lin...@gm...> Hi linux guy, Things are a bit quiet around here. I've been away from coding for a while, so my input could be dated. I wrote an app called QtJSBSim https://sourceforge.net/projects/qtjsbsim/ That uses UDP communication with JSBSim. This may have some ideas in it that you could use. My understanding is that you can have multiple input and output sockets, but each will need a different port. I don't see how sending data from separate apps to a single UDP port read by JSBSim will work. JSBSim expects the data received at a port to have a particular structure, so it can't be made to read a weather data set and a controls data set at the same port. You would have to combine the two data sets before hand then send it to a single port. I hope that makes sense, and I hope it's correct. -- Dave Culp, retired linux guy On 1/7/20 9:18 AM, linux guy wrote: > I looked into this further and it now appears to me that JSBSim allows > only one input port and one output port and that those ports can be > connected to by only one client. Is this correct ? > > Thanks > > > _______________________________________________ > Jsbsim-users mailing list > Jsb...@li... > https://lists.sourceforge.net/lists/listinfo/jsbsim-users |
|
From: linux g. <lin...@gm...> - 2020-01-07 17:19:16
|
I looked into this further and it now appears to me that JSBSim allows only one input port and one output port and that those ports can be connected to by only one client. Is this correct ? Thanks |
|
From: linux g. <lin...@gm...> - 2020-01-06 01:35:09
|
Hi. I would like to connect multiple separate processes to JSBSim. Each process will provide a different set of inputs to JSBSim... weather, flight control, data output, etc. Is there any limitation to the number of processes that can listen on the JSBSim UDP output port ? Provided that processes don't clobber each other's data, is there any limit to the number of processes that can send data on JSBSim's UDP input port ? For example, lets say that I have two separate processes, one for flight control and another for controlling weather. Can both processes listen to the JSBSim output UDP port ? Can both processes send JSBSim data on the JSBSim UDP input port ? FWIW, I looked at the code in FDfdmSocket, etc. and there doesn't appear to be a limitation. Am I missing something ? Thanks ! |
|
From: <da...@ho...> - 2019-12-03 01:02:45
|
Steve, No, I haven’t started anything towards that end, like a github or sourceforge. I support an airplane design program called Datcom that is used for preliminary design of aircraft. One of my users built a model for the Long EZ, and asked for my help. She was unable to get it flying in JSBSim, and I’ve never had anyone do a canard airplane in Datcom, so I’ve always been interested in seeing one done. I just haven’t cared enough to do it myself. She made some mistakes, and Datcom has a couple minor errors in it for canard aircraft. I’m digging through them, but I just can’t seem to get the Long EZ model to fly in JSBSim. I was hoping to look at another model that was flying, to try to pinpoint where I am having problems. If you have a model flying in JSBSim but are in need of some more refined aero coefficients, she might be willing to share her model towards the common good. I wouldn’t release her model without her approval, but would be happy to look your model over if you have one flying, and of course not share it with her unless you give me the oka. Bill From: Steve Brown [mailto:slb...@gm...] Sent: Monday, December 02, 2019 6:18 PM To: JSBSim user questions <jsb...@li...> Subject: Re: [Jsbsim-users] Canard aircraft I also had been tossing around doing the Long-EZ. i would love to be updated on how your project is coming along. Bill do you have anything started on github or souceforge? On Fri, Nov 29, 2019 at 5:13 PM Bill Galbraith <bi...@ho... <mailto:bi...@ho...> > wrote: Well, it’s been pretty quiet here lately…. So, has anyone done a canard configuration aircraft in JSBSim? I’ve been asked to help someone with a Long-EZ. Just wondered if I was in for anything exciting. Thanks, Bill _______________________________________________ Jsbsim-users mailing list Jsb...@li... <mailto:Jsb...@li...> https://lists.sourceforge.net/lists/listinfo/jsbsim-users <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> Virus-free. <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> www.avg.com |
|
From: Steve B. <slb...@gm...> - 2019-12-02 23:18:30
|
I also had been tossing around doing the Long-EZ. i would love to be updated on how your project is coming along. Bill do you have anything started on github or souceforge? On Fri, Nov 29, 2019 at 5:13 PM Bill Galbraith <bi...@ho...> wrote: > Well, it’s been pretty quiet here lately…. > > > > So, has anyone done a canard configuration aircraft in JSBSim? I’ve been > asked to help someone with a Long-EZ. Just wondered if I was in for > anything exciting. > > > > Thanks, > > Bill > _______________________________________________ > Jsbsim-users mailing list > Jsb...@li... > https://lists.sourceforge.net/lists/listinfo/jsbsim-users > |
|
From: Jonathan R <leg...@gm...> - 2019-12-01 10:11:37
|
The Ja37 Viggen as well as other fighter aircraft - can't remember which (I think the raffle?) - have canards also. Jonathan On Saturday, November 30, 2019, Michael Danilov <mik...@gm...> wrote: > If it would be of any use, my model has a simplistic folding canard. > > https://gitlab.com/mdanil/Tu-144/blob/master/Tu-144-jsbsim/aero.xml#L1200 > > Mike > > On Fri, Nov 29, 2019 at 05:53:25PM -0500, Bill Galbraith wrote: > > Well, it's been pretty quiet here lately.. > > > > So, has anyone done a canard configuration aircraft in JSBSim? I've been > > asked to help someone with a Long-EZ. Just wondered if I was in for > anything > > exciting. > > > > Thanks, > > Bill > > > _______________________________________________ > Jsbsim-users mailing list > Jsb...@li... > https://lists.sourceforge.net/lists/listinfo/jsbsim-users > |
|
From: Michael D. <mik...@gm...> - 2019-11-30 11:39:22
|
If it would be of any use, my model has a simplistic folding canard. https://gitlab.com/mdanil/Tu-144/blob/master/Tu-144-jsbsim/aero.xml#L1200 Mike On Fri, Nov 29, 2019 at 05:53:25PM -0500, Bill Galbraith wrote: > Well, it's been pretty quiet here lately.. > > So, has anyone done a canard configuration aircraft in JSBSim? I've been > asked to help someone with a Long-EZ. Just wondered if I was in for anything > exciting. > > Thanks, > Bill |
|
From: Joshua W. <jo...@gm...> - 2019-11-30 10:49:17
|
So someone has flown other example aircraft with jsbsim and ardupilot other than the Jasper? On Fri, Nov 29, 2019, 8:25 PM Alan Teeder <ajt...@v-...> wrote: > Bill > > Yes, all is well. I hope that is the same with you. > > On this subject, I should mention that the aero equations (i.e. CL, CD, > CM and derivatives for everything else) that I used were identical to > those used in a standard JSBSim xml file - as produced by your Datcom, > or by Aeromatic. Nothing has changed over that time. ;) > > Alan > > > > _______________________________________________ > Jsbsim-users mailing list > Jsb...@li... > https://lists.sourceforge.net/lists/listinfo/jsbsim-users > |
|
From: Alan T. <ajt...@v-...> - 2019-11-30 01:25:28
|
Bill Yes, all is well. I hope that is the same with you. On this subject, I should mention that the aero equations (i.e. CL, CD, CM and derivatives for everything else) that I used were identical to those used in a standard JSBSim xml file - as produced by your Datcom, or by Aeromatic. Nothing has changed over that time. ;) Alan |
|
From: Bill G. <bil...@gm...> - 2019-11-30 00:55:32
|
Thank you sir. Hope you are well. Bill -----Original Message----- From: Alan Teeder [mailto:ajt...@v-...] Sent: Friday, November 29, 2019 7:51 PM To: jsb...@li... Subject: Re: [Jsbsim-users] Canard aircraft Hi Bill There is nothing special about a canard as far as JSBSim is concerned. In flight there is a problem if the main wing stalls before the canard surface. If this happens this results in is a nose-up pitch, which deepens the stall. Many years ago (1970) I produced a set of aero data and simulated the Lockspeiser LDA01 https://www.youtube.com/watch?v=_AWw0_Osl5U on our company flight simulator (BAC Weybridge) . I produced the aero data by hand (i.e.using graph paper and slide rule) using the RAeS data sheets, which were the UK equivalent of paper Datcom. David Lockspeiser, the constructor/designer/test pilot of this aircraft was a colleague at work and was one of the team of test pilots available to me for company work on the simulator. My predictions were a reasonable match to the wind tunnel results, and to the aircraft handling when he flew it.. Alan _______________________________________________ Jsbsim-users mailing list Jsb...@li... https://lists.sourceforge.net/lists/listinfo/jsbsim-users -- This email has been checked for viruses by AVG. https://www.avg.com |
|
From: Alan T. <ajt...@v-...> - 2019-11-30 00:51:17
|
Hi Bill There is nothing special about a canard as far as JSBSim is concerned. In flight there is a problem if the main wing stalls before the canard surface. If this happens this results in is a nose-up pitch, which deepens the stall. Many years ago (1970) I produced a set of aero data and simulated the Lockspeiser LDA01 https://www.youtube.com/watch?v=_AWw0_Osl5U on our company flight simulator (BAC Weybridge) . I produced the aero data by hand (i.e.using graph paper and slide rule) using the RAeS data sheets, which were the UK equivalent of paper Datcom. David Lockspeiser, the constructor/designer/test pilot of this aircraft was a colleague at work and was one of the team of test pilots available to me for company work on the simulator. My predictions were a reasonable match to the wind tunnel results, and to the aircraft handling when he flew it.. Alan |
|
From: Bill G. <bi...@ho...> - 2019-11-29 23:13:40
|
Well, it's been pretty quiet here lately.. So, has anyone done a canard configuration aircraft in JSBSim? I've been asked to help someone with a Long-EZ. Just wondered if I was in for anything exciting. Thanks, Bill |
|
From: Sean M. <se...@se...> - 2019-06-02 13:04:50
|
Hi Alan With regards to small winds on the ground with a large cross-wind angle and it's interaction with the aerodynamic forces plus issues with the gear and ground reactions take a look at the following issue: https://github.com/JSBSim-Team/jsbsim/issues/89 Cheers -----Original Message----- From: Alan Teeder <ajt...@v-...> Sent: Sunday, June 2, 2019 9:44 AM To: Ron Jensen <ro...@je...>; JSBSim user questions <jsb...@li...> Subject: Re: [Jsbsim-users] Taildragger control on ground. On 01/06/2019 13:05, Ron Jensen wrote: > Alan, > > If you're in FlightGear and have wind, you should be using sin(alpha) > and > sin(beta) instead of using the raw values in your aerodynamics > sections, otherwise even small winds can build up unrealistically > large aerodynamic forces. > > Ron ------------- Rin I am doing this testing with zero wind and will only add cross-winds when I can control the aircraft. I like the idea of using cos(beta) so that beta effects are smoothly limited. I believe that the main gear side forces and the resultant yaw motion is unstable , and these are running away. With taildragger these forces are in front of the CG. Alan _______________________________________________ Jsbsim-users mailing list Jsb...@li... https://lists.sourceforge.net/lists/listinfo/jsbsim-users |
|
From: Alan T. <ajt...@v-...> - 2019-06-02 07:43:54
|
On 01/06/2019 13:05, Ron Jensen wrote: > Alan, > > If you're in FlightGear and have wind, you should be using sin(alpha) and > sin(beta) instead of using the raw values in your aerodynamics sections, > otherwise even small winds can build up unrealistically large aerodynamic > forces. > > Ron ------------- Rin I am doing this testing with zero wind and will only add cross-winds when I can control the aircraft. I like the idea of using cos(beta) so that beta effects are smoothly limited. I believe that the main gear side forces and the resultant yaw motion is unstable , and these are running away. With taildragger these forces are in front of the CG. Alan |
|
From: Ron J. <ro...@je...> - 2019-06-01 12:25:13
|
Alan, If you're in FlightGear and have wind, you should be using sin(alpha) and sin(beta) instead of using the raw values in your aerodynamics sections, otherwise even small winds can build up unrealistically large aerodynamic forces. Ron On Friday 31 May 2019 08:41:50 am Alan Teeder wrote: > Thanks Jonathan > > The Dromader seems fine also. > > Now to find what causes these problems. > > Alan > > On 31/05/2019 15:05, Jonathan R wrote: > > The PAF team has a jsbsim DC3 if it helps, the control on the ground > > seems fine - you can manage the swing using differential braking.. > > Jonathan > > > > On Thu, May 30, 2019 at 11:18 PM Alan Teeder <ajt...@v-... > > <mailto:ajt...@v-...>> wrote: > > > > I could try setting up a JSBSim script to demonstrate this - but this > > will be complicated by the fact that with Flightgear at least, > > JSBSim > > trim on the ground also fails for tail-draggers (presumably > > because it > > is unstable ). > > > > Alan > > > > > > > > _______________________________________________ > > Jsbsim-users mailing list > > Jsb...@li... > > <mailto:Jsb...@li...> > > https://lists.sourceforge.net/lists/listinfo/jsbsim-users |
|
From: Alan T. <ajt...@v-...> - 2019-05-31 14:41:58
|
Thanks Jonathan The Dromader seems fine also. Now to find what causes these problems. Alan On 31/05/2019 15:05, Jonathan R wrote: > The PAF team has a jsbsim DC3 if it helps, the control on the ground > seems fine - you can manage the swing using differential braking.. > Jonathan > > On Thu, May 30, 2019 at 11:18 PM Alan Teeder <ajt...@v-... > <mailto:ajt...@v-...>> wrote: > > I could try setting up a JSBSim script to demonstrate this - but this > will be complicated by the fact that with Flightgear at least, > JSBSim > trim on the ground also fails for tail-draggers (presumably > because it > is unstable ). > > Alan > > > > _______________________________________________ > Jsbsim-users mailing list > Jsb...@li... > <mailto:Jsb...@li...> > https://lists.sourceforge.net/lists/listinfo/jsbsim-users > |
|
From: Jonathan R <leg...@gm...> - 2019-05-31 14:05:39
|
The PAF team has a jsbsim DC3 if it helps, the control on the ground seems fine - you can manage the swing using differential braking.. Jonathan On Thu, May 30, 2019 at 11:18 PM Alan Teeder <ajt...@v-...> wrote: > I could try setting up a JSBSim script to demonstrate this - but this > will be complicated by the fact that with Flightgear at least, JSBSim > trim on the ground also fails for tail-draggers (presumably because it > is unstable ). > > Alan > > > > _______________________________________________ > Jsbsim-users mailing list > Jsb...@li... > https://lists.sourceforge.net/lists/listinfo/jsbsim-users > |
|
From: Alan T. <ajt...@v-...> - 2019-05-30 22:18:17
|
I could try setting up a JSBSim script to demonstrate this - but this will be complicated by the fact that with Flightgear at least, JSBSim trim on the ground also fails for tail-draggers (presumably because it is unstable ). Alan |
|
From: Alan T. <ajt...@v-...> - 2019-05-30 21:55:23
|
The forces due to a side-slipping wheel will always work in the same direction. It may be a matter of checking the sign of the resultant yaw moments . For a nose gear aircraft, the U/C is behing the CG, for a tail dragger it is in front. A small error in axis position would cause this kind of error. My understanding is that JSBSim works internally using the CG as the axis for rotations and moments. However the CG is often a matter of a few inches/cm from the main gear. I get lost in 3D when I try to read this section of JSBSim code. ;) Alan |
|
From: <mik...@gm...> - 2019-05-30 21:37:36
|
I wonder, maybe messing with side force calculation may help? https://gitlab.com/mdanil/aircraft-model-tools/blob/master/jsbsim-pacejka.py On Thu, May 30, 2019 at 10:31:35PM +0100, Alan Teeder wrote: > > On 30/05/2019 22:19, Bill Galbraith wrote: > > Why would you make the MAIN gear casterable, or did you mean to say TAIL gear? > > > > Bill > > Yes, you read it right. ;) > > Looking at the internal properties when the aircraft starts to veer off, it > is clear that there are large slip angles and side forces being generated by > the main gear. These rapidly build up. Making the main gear caster is the > only way I can think of to remove this force. > > Long time no hear from you. Trust all is well. > > Alan > > > > _______________________________________________ > Jsbsim-users mailing list > Jsb...@li... > https://lists.sourceforge.net/lists/listinfo/jsbsim-users |
|
From: Alan T. <ajt...@v-...> - 2019-05-30 21:31:43
|
On 30/05/2019 22:19, Bill Galbraith wrote: > Why would you make the MAIN gear casterable, or did you mean to say TAIL gear? > > Bill Yes, you read it right. ;) Looking at the internal properties when the aircraft starts to veer off, it is clear that there are large slip angles and side forces being generated by the main gear. These rapidly build up. Making the main gear caster is the only way I can think of to remove this force. Long time no hear from you. Trust all is well. Alan |
|
From: Bill G. <bil...@gm...> - 2019-05-30 21:19:26
|
Why would you make the MAIN gear casterable, or did you mean to say TAIL gear? Bill -----Original Message----- From: Alan Teeder [mailto:ajt...@v-...] Sent: Thursday, May 30, 2019 5:16 PM To: Jsb...@li... Subject: [Jsbsim-users] Taildragger control on ground. Does anyone know of a JSBSim taildragger in Flightgear that can be controlled on the ground? I can´t find one. The nearest I have is a Datcom based FDM for the J3Cub that I am working on, but to make this controllable I have set the main gear casterable! (i.e. <max_steer unit="DEG">360</max_steer>) This effectively removes the wheel side forces. The result is a bit like a supermarket trolley, but at least it is controllable. Alan _______________________________________________ Jsbsim-users mailing list Jsb...@li... https://lists.sourceforge.net/lists/listinfo/jsbsim-users --- This email has been checked for viruses by AVG. https://www.avg.com |
|
From: Alan T. <ajt...@v-...> - 2019-05-30 21:16:02
|
Does anyone know of a JSBSim taildragger in Flightgear that can be controlled on the ground? I can´t find one. The nearest I have is a Datcom based FDM for the J3Cub that I am working on, but to make this controllable I have set the main gear casterable! (i.e. <max_steer unit="DEG">360</max_steer>) This effectively removes the wheel side forces. The result is a bit like a supermarket trolley, but at least it is controllable. Alan |
|
From: Adam D. <ade...@ex...> - 2019-01-16 19:48:02
|
It looks like docker doesn’t share UDP unless you are explicit about it. So, your command should be something like: docker run -p 5432:5432/tcp your_jsb_imagename Otherwise docker maps TCP, but not UDP. If that doesn’t work, I would try to just run JSB locally on your mac, and confirm that it works that way, then try the docker version. -- Adam ps I originally replied to this email, and it ended up too large for the mailing list, so I trimmed away some of the old email chain. From: tog <gui...@gm...> Reply-To: JSBSim user questions <jsb...@li...> Date: Monday, January 14, 2019 at 4:04 PM To: JSBSim user questions <jsb...@li...> Subject: Re: [Jsbsim-users] Using JSBSim & FlightGear Hi all Hmmm it is not yet working :-) I am on a Mac and I suspect problem in connecting Flightgear running on the host and jsbsim in the container. I am launching flightgear first using: |
|
From: tog <gui...@gm...> - 2019-01-14 21:03:52
|
Hi all
Hmmm it is not yet working :-)
I am on a Mac and I suspect problem in connecting Flightgear running on the
host and jsbsim in the container.
I am launching flightgear first using:
FLIGHTGEAR_PATH="/Applications/FlightGear.app/Contents/MacOS/"
# --native=socket,direction,hz,machine,port,type
nice ${FLIGHTGEAR_PATH}/fgfs \
--native-fdm=socket,in,20,0.0.0.0,9998,udp \
--disable-real-weather-fetch \
--timeofday=noon \
--disable-save-on-exit \
--aircraft=c172p
Looking in the terminal, I think everything is good ...
Doing lsof -i gives me:
fgfs 82455 alleon_g 14u IPv4 0xb8c22a20b3f98d2d 0t0 UDP *:*
fgfs 82455 alleon_g 15u IPv4 0xb8c22a20b3f99ac5 0t0 UDP
*:distinct32
distinct32 is same as 9998 which I use as port number now.
I am here assuming that Flightgear has to be launched first.
I then launch jsbsim using docker-compose with the following file:
version: '3'
services:
jsbsim:
image: airbus/jsbsim-rl
volumes:
- model:/home/jsbsim/model
- logs:/home/jsbsim/logs
network_mode: "host"
entrypoint:
- /usr/local/bin/JSBSim
- --realtime
- --script=/home/jsbsim/jsbsim-JSBSim-trusty-v2018a/scripts/c1723.xml
volumes:
model:
logs:
In the file c172x.xml (which is referenced in c1723.xml I have the
following block:
<output name="localhost" type="FLIGHTGEAR" protocol="udp" port="9998" rate=
"20">
<rates> ON </rates>
<velocities> ON </velocities>
<position> ON </position>
<atmosphere> OFF </atmosphere>
<fcs> ON </fcs>
<ground_reactions> OFF </ground_reactions>
<propulsion> ON </propulsion>
<simulation> ON </simulation>
<massprops> ON </massprops>
<forces> OFF </forces>
<moments> OFF </moments>
<aerosurfaces> OFF </aerosurfaces>
<property> position/vrp-gc-latitude_deg </property>
<property> position/vrp-longitude_deg </property>
<property> position/vrp-radius-ft </property>
<function name="velocities/pi-deg_sec">
<todegrees> <p> velocities/pi-rad_sec </p> </todegrees>
</function>
</output>
Jsbsim starts fine ... apparently ... and the simulation runs until
completion.
In the terminal I dont see any information showing that jsbsim connects to
Flighgear. Is there a way to show this in the logs ?
In flightgear the plane remains on ground ... no change.
I then tried to replace:
<output name="localhost" type="FLIGHTGEAR" protocol="udp" port="9998" rate=
"20">
by
<output name="127.0.0.1" type="FLIGHTGEAR" protocol="udp" port="9998" rate=
"20">
or
<output name="my_local_ip" type="FLIGHTGEAR" protocol="udp" port="9998" rate
="20">
or
<output name="my_external_ip" type="FLIGHTGEAR" protocol="udp" port="9998"
rate="20">
No change at all.
Starting the container with /bin/bash. I seem to be able to connect when
using my local ip using nc.
docker run -it -p 9998:9998 airbus/jsbsim-rl /bin/bash
jsbsim@f85c7c0337d8:~/jsbsim-JSBSim-trusty-v2018a$ nc -vzu localhost 9998
localhost [127.0.0.1] 9998 (?) : Connection refused
jsbsim@f85c7c0337d8:~/jsbsim-JSBSim-trusty-v2018a$ nc -vzu 127.0.0.1 9998
localhost [127.0.0.1] 9998 (?) : Connection refused
jsbsim@f85c7c0337d8:~/jsbsim-JSBSim-trusty-v2018a$ nc -vzu 192.168.86.32
9998
tola302007500.lan [192.168.86.32] 9998 (?) open
jsbsim@f85c7c0337d8:~/jsbsim-JSBSim-trusty-v2018a$ nc -vzu 88.176.211.52
9998
sim31-1-88-176-211-52.fbx.proxad.net [88.176.211.52] 9998 (?) : Connection
refused
but starting JSBSim by end using:
/usr/local/bin/JSBSim \
--realtime \
--script=/home/jsbsim/jsbsim-JSBSim-trusty-v2018a/scripts/c1723.xml
does not create movement in Flightgear.
I am a bit puzzled at the moment so if you have any ideal let me know.
Cheers
Guillaume
On Sun, 13 Jan 2019 at 23:47, Adam Dershowitz <ade...@ex...>
wrote:
> You didn’t include your docker command below. Perhaps you missed sharing
> the port:
>
>
>
> docker run -p 5432:5432 your_jsb_imagename
>
>
>
>
>
>
>
> -- Adam
>
>
>
>
>
> *From: *tog <gui...@gm...>
> *Reply-To: *JSBSim user questions <jsb...@li...>
> *Date: *Sunday, January 13, 2019 at 12:24 PM
> *To: *JSBSim user questions <jsb...@li...>
> *Subject: *Re: [Jsbsim-users] Using JSBSim & FlightGear
>
>
>
> Hi Bertrand
>
>
>
> Merci!
>
>
>
> That does not work yet including your changes but I guess I have an issue
> with networking in Docker.
>
> I will investigate this.
>
>
>
> ... but if someone has an idea ... ;-)
>
>
>
> Cheers
>
> Guillaume
>
>
>
> On Sun, 13 Jan 2019 at 11:07, Bertrand Coconnier <bco...@gm...>
> wrote:
>
> Hi Guillaume,
>
>
>
> You are not using the correct protocol in JSBSim to communicate with
> FlightGear. It should be
>
>
>
> <output name="localhost" type="FLIGHTGEAR" protocol="UDP" port="5432" rate
> ="20"/>
>
>
>
> Note that ideally, the "rate" value above should match the second value
> of the --native-fdm= argument. However it seems to work even if they
> don't match.
>
> You can find more details in FlightGear wiki
> http://wiki.flightgear.org/Property_Tree/Sockets#Native_Socket
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__wiki.flightgear.org_Property-5FTree_Sockets-23Native-5FSocket&d=DwMFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=lIassc58MX0aUhataB1QHQMxNbhk8fAEdOcWuL7v7Ac&s=ZFZzmbs3psrYwglWuzK0GKHquJuH_2i0mv5DthC7cbc&e=>
>
>
>
> Regards,
>
>
>
> Bertrand.
>
>
>
> Le dim. 13 janv. 2019 à 00:17, tog <gui...@gm...> a écrit :
>
> Hi
>
>
>
> I am trying to connect JSBSim & FlightGear using docker.
>
>
>
> FlightGear is currently running on my host (MacOS). Here is the
> run_flightgear.sh script I am using:
>
>
>
> #!/bin/sh
>
>
>
> FLIGHTGEAR_PATH="/Applications/FlightGear.app/Contents/MacOS/"
>
>
>
> nice ${FLIGHTGEAR_PATH}/fgfs \
>
> --native-fdm=socket,in,20,,5432,udp \
>
> --disable-real-weather-fetch \
>
> --timeofday=noon \
>
> --disable-save-on-exit \
>
> --disable-terrasync \
>
> --browser-app=open \
>
> --aircraft=c172p \
>
> --fdm=external \
>
> --geometry=650x550 \
>
> --shading-flat \
>
> --bpp=32 \
>
> --prop:/sim/rendering/multi-sample-buffers=true \
>
> --prop:/sim/rendering/multi-samples=4 \
>
> --prop:/environment/params/jsbsim-turbulence-model=ttCulp \
>
> --disable-sound \
>
> $*
>
>
>
> I got this in my terminal:
>
> ...
>
> Channel string = socket,in,20,,5432,udp
>
> option:native-fdm = socket,in,20,,5432,udp
>
> option:disable-real-weather-fetch =
>
> option:timeofday = noon
>
> option:disable-save-on-exit =
>
> option:disable-terrasync =
>
> option:browser-app = open
>
> option:aircraft = c172p
>
> option:fdm = external
>
> ...
>
> Astro Tech LC-2 Chronometer Loaded
>
> Nasal runtime error: nil used in numeric context
>
> at
> /Applications/FlightGear.app/Contents/Resources/data/Aircraft/c172p/Nasal/jsbsim-hydrodynamics.nas,
> line 14
>
> setWeight() - not supported for external
>
> Garmin 196 loading cities
>
> Garmin 196 loading cities done
>
>
>
>
>
>
>
> JSBSim is running in a docker container using docker-compose
>
> The compose run JSBSim using this command line instruction:
>
> entrypoint:
>
> - /usr/local/bin/JSBSim
>
> - --realtime
>
> - --script=/home/jsbsim/jsbsim-JSBSim-trusty-v2018a/scripts/c1723.xml
>
>
>
> c1723.xml is not modified
>
> aircraft/c172x.xml is sligthly modified as follows:
>
>
>
> <!--
>
> <output name="JSBout172B.csv" type="CSV" rate="10">
>
> -->
>
> <output name="localhost" type="SOCKET" port="5432" rate="10">
>
> <rates> ON </rates>
>
> <velocities> ON </velocities>
>
> <position> ON </position>
>
> <atmosphere> OFF </atmosphere>
>
> <fcs> ON </fcs>
>
> <ground_reactions> OFF </ground_reactions>
>
> <propulsion> ON </propulsion>
>
> <simulation> ON </simulation>
>
> <massprops> ON </massprops>
>
> <forces> OFF </forces>
>
> <moments> OFF </moments>
>
> <aerosurfaces> OFF </aerosurfaces>
>
> <property> position/vrp-gc-latitude_deg </property>
>
> <property> position/vrp-longitude_deg </property>
>
> <property> position/vrp-radius-ft </property>
>
> <function name="velocities/pi-deg_sec">
>
> <todegrees> <p> velocities/pi-rad_sec </p> </todegrees>
>
> </function>
>
> </output>
>
>
>
> There is apparently not communication between both tool. A flightgear
> snapshot is below.
>
>
>
> What am I doing wrong?
>
>
>
> *Error! Filename not specified.*
>
>
>
> Cheers
>
> Guillaume
>
> --
>
> PGP KeyID: 2048R/EA31CFC9 subkeys.pgp.net
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__subkeys.pgp.net&d=DwMFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=lIassc58MX0aUhataB1QHQMxNbhk8fAEdOcWuL7v7Ac&s=zy0mpuwUbpXU8Te48r-hmGKbhGMQpTxCfu0_bKiLwDI&e=>
>
> --
>
> PGP KeyID: 2048R/EA31CFC9 subkeys.pgp.net
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__subkeys.pgp.net&d=DwMFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=lIassc58MX0aUhataB1QHQMxNbhk8fAEdOcWuL7v7Ac&s=zy0mpuwUbpXU8Te48r-hmGKbhGMQpTxCfu0_bKiLwDI&e=>
>
> _______________________________________________
> Jsbsim-users mailing list
> Jsb...@li...
> https://lists.sourceforge.net/lists/listinfo/jsbsim-users
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_jsbsim-2Dusers&d=DwMFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=lIassc58MX0aUhataB1QHQMxNbhk8fAEdOcWuL7v7Ac&s=J1bDwZOmNwEaJ9RjZFLxOMBW_rnmHERu8jYfE_D3GzI&e=>
>
> _______________________________________________
> Jsbsim-users mailing list
> Jsb...@li...
> https://lists.sourceforge.net/lists/listinfo/jsbsim-users
> <https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_jsbsim-2Dusers&d=DwMFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=lIassc58MX0aUhataB1QHQMxNbhk8fAEdOcWuL7v7Ac&s=J1bDwZOmNwEaJ9RjZFLxOMBW_rnmHERu8jYfE_D3GzI&e=>
>
>
>
>
> --
>
> PGP KeyID: 2048R/EA31CFC9 subkeys.pgp.net
> <https://urldefense.proofpoint.com/v2/url?u=http-3A__subkeys.pgp.net&d=DwMFaQ&c=t0wRGL5ICVzH157W8C8Wew&r=5usL3OGqXabRLtSzGmh8YEvbco28TaiOmWcn6rCn8wM&m=lIassc58MX0aUhataB1QHQMxNbhk8fAEdOcWuL7v7Ac&s=zy0mpuwUbpXU8Te48r-hmGKbhGMQpTxCfu0_bKiLwDI&e=>
> _______________________________________________
> Jsbsim-users mailing list
> Jsb...@li...
> https://lists.sourceforge.net/lists/listinfo/jsbsim-users
>
--
PGP KeyID: 2048R/EA31CFC9 subkeys.pgp.net
|