Re: [Flightgear-devel] Starting engine using FGNetCtrls

2012-06-02 Thread Erik Hofman
On 06/01/2012 09:16 PM, Ron Jensen wrote: There is a change to the starter motor code (should be entering git real soon now) I did already push it to git (but seem to have some mail problems the last few days). Erik

Re: [Flightgear-devel] Starting engine using FGNetCtrls

2012-06-02 Thread Viktor Radnai
Hi Curt, I thought about that before but I don't think so. I'm printing a line for every single ctrl packet I'm sending, and each ctrl packet is in response to one from FG. If I kill the app, or tell it to stop sending ctrl messages, nothing else seems to be controlling anything. Engine

Re: [Flightgear-devel] Starting engine using FGNetCtrls

2012-06-01 Thread Viktor Radnai
Hi Ron, A quick test confirms that you were indeed right: Engine state: 0, mag: 3, starter: 1, RPM: 440.915466 Engine state: 0, mag: 3, starter: 1, RPM: 440.567566 Engine state: 0, mag: 3, starter: 1, RPM: 447.837677 Engine state: 0, mag: 3, starter: 1, RPM: 445.897156 It must be that the

Re: [Flightgear-devel] Starting engine using FGNetCtrls

2012-06-01 Thread Ron Jensen
There is a change to the starter motor code (should be entering git real soon now) that may help address this. But your engine should have 'started' as it exceeded 440 RPM... Anyway, glad it works now, and we can revisit this after FlightGear syncs JSBSim. Ron On Friday 01 June 2012 09:39:52

Re: [Flightgear-devel] Starting engine using FGNetCtrls

2012-06-01 Thread Viktor Radnai
Actually the engine rpm is usually oscillating between 430 and 450 rpm. Therefore it must be shutting down and starting up repeatedly, or at least I think that's what's happening. Also it could be possible that when the starter engages, it might pull the rpm back momentarily. In any case, I

Re: [Flightgear-devel] Starting engine using FGNetCtrls

2012-06-01 Thread Curtis Olson
It makes me wonder if some other control is battling for the starter property and it's not consistently switched on? On Fri, Jun 1, 2012 at 2:46 PM, Viktor Radnai viktor.rad...@gmail.comwrote: Actually the engine rpm is usually oscillating between 430 and 450 rpm. Therefore it must be shutting

[Flightgear-devel] Starting engine using FGNetCtrls

2012-05-31 Thread Viktor Radnai
Hi all, I'm going to use Flightgear for developing/testing UAV code (yep, another one of those :) ). I'm currently putting together an SDL app that communicates with FG. I'm using the FGNetCtrls structure from net_ctrls.hxx. I'm trying to start the C172's engine but when I set startup_power =

Re: [Flightgear-devel] Starting engine using FGNetCtrls

2012-05-31 Thread Ron Jensen
From eng_io320.xml: idlerpm 550.0 /idlerpm The engine needs to reach 440 RPM to start (80% of 550, the coded idle RPM) if you're reaching above 440 RPM make sure you've engaged fuel and magneto controls. If you're not reaching that perhaps you need to look into the