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
8 posts
• Page 1 of 1
Joytick Module
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
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
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.
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 1073 times
-
- Phidgets Servo xBox basic.fsm
- Control Single Servo
- (380 Bytes) Downloaded 1143 times
-
support - Posts: 151
- Joined: Fri Sep 07, 2012 2:10 pm
Re: Joytick Module
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
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
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.
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.
-
support - Posts: 151
- Joined: Fri Sep 07, 2012 2:10 pm
Re: Joytick Module
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
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
Hi Again
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
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 1216 times
- frank-riedel
- Posts: 40
- Joined: Sun Aug 19, 2012 10:36 am
Re: Joytick Module
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
- frank-riedel
- Posts: 40
- Joined: Sun Aug 19, 2012 10:36 am
8 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 61 guests