Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

Joytick Module

For general discussion related FlowStone

Joytick Module

Postby frank-riedel » Tue Sep 18, 2012 3:09 pm

Hi Everyone

I need an example of code showing how i can controle Phidgets Servo controler with an Joystick attached to the computer . . . ANY EXAMPLE can help me ;)

All the best
Frank
frank-riedel
 
Posts: 40
Joined: Sun Aug 19, 2012 10:36 am

Re: Joytick Module

Postby frank-riedel » Wed Sep 19, 2012 3:45 pm

AnyOne ?? :?
frank-riedel
 
Posts: 40
Joined: Sun Aug 19, 2012 10:36 am

Re: Joytick Module

Postby support » Thu Sep 20, 2012 9:39 am

There are examples of the Phidgets Servo controller in the examples folder on this forum:

http://www.dsprobotics.com/support/viewtopic.php?f=38&t=348

In order to add a Joy Stick probably the easiest thing is to use an Xbox games controller. There is a pre made module for this in FlowStone. You can connect the Xbox joystick out to the servo position in with maybe some scaling (multiply the value by a constant) to get the correct sensitivity.
Attachments
Phidgets Servo Xbox_6.fsm
Control multiple Servos
(1.06 KiB) Downloaded 1074 times
Phidgets Servo xBox basic.fsm
Control Single Servo
(380 Bytes) Downloaded 1143 times
User avatar
support
 
Posts: 151
Joined: Fri Sep 07, 2012 2:10 pm

Re: Joytick Module

Postby frank-riedel » Thu Sep 20, 2012 10:08 am

Thanks for the reply
Yes i know about the Xbox controller - BUT i want to use another ordinary Flight Controller stick -
any idea how to read from the joystick that windows find ???

/Frank
frank-riedel
 
Posts: 40
Joined: Sun Aug 19, 2012 10:36 am

Re: Joytick Module

Postby support » Thu Sep 20, 2012 1:48 pm

Frank

It's hard to say without knowing the hardware you have. The problem is if a device has it's own driver then you will need some code to be able to communicate with it in software. We have done this for quite a few devices already, so it would be easier if you use something that exists already.

You could always make your own analog joy stick by taking the analog signals from the joystick pots and reading the values in FlowStone via a FlowBoard or Phidgets 888.
User avatar
support
 
Posts: 151
Joined: Fri Sep 07, 2012 2:10 pm

Re: Joytick Module

Postby frank-riedel » Thu Sep 20, 2012 2:17 pm

Thanks for reply so Fast ;)
The joystick controller i have do not need any driver - Win7 see it as a joystick with 6 axis and 32 btn
so in some way it must be a standard - i'm just in the beginning of learning....

You have no idea about how to read from this standard device... ??
As i understand we can use Ruby code inside flowstone... i do not know anything about this "Ruby"
but is there anyway in that direction i can implement some part of code into flowstone diagram... and read the "Axis" that way ???

Another thing is that The Joystick that i intent to use, use Hall censors witch output is between 1V and 3V only and i need a full scale 5V output to Servo

Regards
Frank
frank-riedel
 
Posts: 40
Joined: Sun Aug 19, 2012 10:36 am

Re: Joytick Module

Postby frank-riedel » Sat Sep 22, 2012 3:08 am

Hi Again :D

I tryed to look intro the "Pridgets Servo Xbox 6" file and if i should use 4 servos then i need to ad these
but i need a little help in the SYNC MODULE and how to send the data throug the SERVER

Any help will help me ;)

THANKS
Frank
Attachments
Phidgets_Servo_Xbox_6_Frank.fsm
(1.09 KiB) Downloaded 1217 times
frank-riedel
 
Posts: 40
Joined: Sun Aug 19, 2012 10:36 am

Re: Joytick Module

Postby frank-riedel » Mon Oct 22, 2012 10:27 am

Found out that a normal PC joystick can use PS2 module... but it's only a poor solution as the flexibility is not there.... thinking about select axes to use..


/Frank
frank-riedel
 
Posts: 40
Joined: Sun Aug 19, 2012 10:36 am


Return to General

Who is online

Users browsing this forum: Google [Bot] and 74 guests