Re: [Flightgear-users] Remote Joystick use

2005-06-16 Thread bass pumped
Hi all,

I finally did manage to get some sort of data transfer from a joystick
to flightgear through Matlab using Native-Ctrls.  I still got some
questions remaining.

1. I do see variations in the elevator and ailerons axes in the
cockpit of the Cessna, but I don't see these variations reflection in
the control surface positions.  I checked in the remote browser and
none of them get updated.

2.  I was wondering if the throttle axes varies from -1 to +1 or from
0 to 1.  Right now all the throttle knob does is fluctuate between the
two extreme points when I vary the axis on the joystick.

3.  I send 0s for all the other properties that I do not want to
control.  I realize now that it was a bad idea...  the aircraft sits
frozen (none of the usual JSBsim vibration either) on the runway.  I
guess I need  a way to make flightgear ignore variables I do not want
to control.  Is there a way to do that?

Thanks all!!

___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-users] Remote Joystick use

2005-06-13 Thread Manuel Bessler
On Sun, Jun 12, 2005 at 08:26:54PM -0500, bass pumped wrote:
 is there anywhere I could get a precompiled copy of jsserver?

I'm not setup to build windows stuff. 
If someone could build jsserver for win32 please ?


Regards,
Manuel

___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-users] Remote Joystick use

2005-06-13 Thread Curtis L. Olson

Manuel Bessler wrote:


On Sun, Jun 12, 2005 at 08:26:54PM -0500, bass pumped wrote:
 


is there anywhere I could get a precompiled copy of jsserver?
   



I'm not setup to build windows stuff. 
If someone could build jsserver for win32 please ?
 



If jsserver is what I think it is, it was written to interface to one 
particular specialized joystick, and then only 2 axes and no buttons.  
It's not a generic, all purpose remote joystick reader.  It serves as an 
example, but surely will need to be modified for your particular 
application.


Curt.

--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-users] Remote Joystick use

2005-06-13 Thread Manuel Bessler
Hi Curt,

On Mon, Jun 13, 2005 at 07:32:38AM -0500, Curtis L. Olson wrote:
 If jsserver is what I think it is, it was written to interface to one 
 particular specialized joystick, and then only 2 axes and no buttons.  

Can't remember how many axes it transmitted by default, could have been
two or four. And you are right, buttons were not implemented yet AFAIR.

 It's not a generic, all purpose remote joystick reader.  It serves as an 
 example, but surely will need to be modified for your particular 
 application.

Yep. 

If someone whats to extend it, no problem. So far, not many people were
interested in jsclient/jsserver. But its really simple and small, so it
should be easy enough to extend if someone has the need.


Regards,
Manuel

___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-users] Remote Joystick use

2005-06-12 Thread Manuel Bessler
On Thu, Jun 09, 2005 at 12:20:35PM -0500, Curtis L. Olson wrote:
 jsclient should work well, although I haven't tested it myself:
 FlightGear/docs-mini/README.jsclient
 
 That probably hasn't been tested for many years ... I wrote that up for 
 a quick demo once.  If you can get it to work great, otherwise if you 

Actually... I wrote that. :)
You may have been thinking about joyclient...
I wrote jsclient together with a friend (whose phone # has a resemblance
with the portnumber used in the example :)

I see no reason why jsclient shouldn't work, but haven't tried it in a
long time. 


Regards,
Manuel

___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-users] Remote Joystick use

2005-06-12 Thread bass pumped
is there anywhere I could get a precompiled copy of jsserver?

___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-users] Remote Joystick use

2005-06-09 Thread bass pumped
Hi all,

I want to use a joystick from a remote system to control an aircraft
on flightgear.  I need the data to be sent to flightgear via UDP.  My
question is, how do I setup flightgear to receive the commands from a
remote joystick?  Do I use joy-client or jsclient?  Or is native-ctrls
a better option?

Thanks in advance.

Regards,

___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-users] Remote Joystick use

2005-06-09 Thread Erik Hofman

bass pumped wrote:

Hi all,

I want to use a joystick from a remote system to control an aircraft
on flightgear.  I need the data to be sent to flightgear via UDP.  My
question is, how do I setup flightgear to receive the commands from a
remote joystick?  Do I use joy-client or jsclient?  Or is native-ctrls
a better option?


jsclient should work well, although I haven't tested it myself:
FlightGear/docs-mini/README.jsclient

Erik

___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-users] Remote Joystick use

2005-06-09 Thread Curtis L. Olson

Erik Hofman wrote:


bass pumped wrote:


Hi all,

I want to use a joystick from a remote system to control an aircraft
on flightgear.  I need the data to be sent to flightgear via UDP.  My
question is, how do I setup flightgear to receive the commands from a
remote joystick?  Do I use joy-client or jsclient?  Or is native-ctrls
a better option?



jsclient should work well, although I haven't tested it myself:
FlightGear/docs-mini/README.jsclient

That probably hasn't been tested for many years ... I wrote that up for 
a quick demo once.  If you can get it to work great, otherwise if you 
are starting from scratch, you might be just as well off to use 
native-ctrls.


Regards,

Curt.

--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-users] Remote Joystick use

2005-06-09 Thread Andy Ross
Curtis L. Olson wrote:
 That probably hasn't been tested for many years ... I wrote that up
 for a quick demo once.  If you can get it to work great, otherwise
 if you are starting from scratch, you might be just as well off to
 use native-ctrls.

Or just one of the myriad IPC mechanisms where you can set the input
properties directly.

Andy

___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-users] Remote Joystick use

2005-06-09 Thread Erik Hofman

Curtis L. Olson wrote:

That probably hasn't been tested for many years ... I wrote that up for 
a quick demo once.  If you can get it to work great, otherwise if you 
are starting from scratch, you might be just as well off to use 
native-ctrls.


Ehm, I meant the js_server program located in FlightGear/utils/js_server 
instead.


Erik

___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-users] Remote Joystick use

2005-06-09 Thread bass pumped
Hi all,

Thanks for the quick replies!!!  

 
 Ehm, I meant the js_server program located in FlightGear/utils/js_server
 instead.
 
 Erik
 

I had read about that in the documentation and wanted to have a go at
it... ummm... maybe I'm wrong... but I don't see the utils directory
in the windows release of v9.8.  Is it used only for linux based
systems?

Thanks!!!

___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-users] Remote Joystick use

2005-06-09 Thread Erik Hofman

bass pumped wrote:

Hi all,

Thanks for the quick replies!!!  




Ehm, I meant the js_server program located in FlightGear/utils/js_server
instead.


I had read about that in the documentation and wanted to have a go at
it... ummm... maybe I'm wrong... but I don't see the utils directory
in the windows release of v9.8.  Is it used only for linux based
systems?

Thanks!!!


The utils directory is in the source code. I can imagine that Frederic 
didn't include it in the windows binary but I expect it should work alright.


Erik

___
Flightgear-users mailing list
Flightgear-users@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d