TX Controller mit Joystick steuern

Für Microcontroller und sonstige "echte" Technik-Themen, die sonst nichts mit ft zu tun haben
Everything technical that has nothing to do with ft
Forumsregeln
Bitte beachte die Forumsregeln!
Antworten
Flodsche
Beiträge: 7
Registriert: 06 Aug 2012, 11:19

TX Controller mit Joystick steuern

Beitrag von Flodsche » 28 Aug 2012, 21:06

Hallo,
Ich hoffe ich bin im richtigen Bereich.

Kann ich meinen Robo TX Controller mit einem Joystick steuern, ich habe gerade so etwas ähnlichens im Internet gefunden, in diesem Fall hat das irgenwie mit Java funktioniert. Ist es mir auch (ohne Programier Kentnisse) möglich meinen Controller über einen Joystick zu steuern ? wen ja wie ?

mfg Flodsche

PS: Habe die SuFu und Google genutzt und nichts brauchbares gefunden ;)

Ad2
Beiträge: 306
Registriert: 31 Okt 2010, 22:20

Re: TX Controller mit Joystick steuern

Beitrag von Ad2 » 28 Aug 2012, 21:34

Do you want to connect the joystick directly to the TX?
When it's an analog joystick (one with two potentiometers, not a USB type) it should be possible. The old ones that you connect to a PC game port had 100k potmeters, this is too high for the TX resistance mode (0-5k), you could use it however with two extra resistors but then in voltage mode (0-10V).
If you want to use any joystick that is connected to the PC, it has to be solved in software. With the package for pc programming (ftMscLib) this is possible but not really simple.

Benutzeravatar
Dirk Fox
ft:pedia-Herausgeber
Beiträge: 1833
Registriert: 01 Nov 2010, 00:49
Wohnort: Karlsruhe
Kontaktdaten:

Re: TX Controller mit Joystick steuern

Beitrag von Dirk Fox » 28 Aug 2012, 23:28

Hallo Flodsche,
Flodsche hat geschrieben:Kann ich meinen Robo TX Controller mit einem Joystick steuern?
sehr elegant geht das mit den ft-Joysticks hier: http://www.ftcommunity.de/categories.ph ... 909&page=1.
Mit den Tastern kannst Du entweder direkt Motoren Deines Modells ansteuern, oder sie an die Input-Ports des TX anschließen und dort auswerten.

Gruß, Dirk

vleeuwen
Beiträge: 1564
Registriert: 31 Okt 2010, 22:23
Wohnort: Enschede (NL)
Kontaktdaten:

Re: TX Controller mit Joystick steuern

Beitrag von vleeuwen » 29 Aug 2012, 09:39

With the TX-C In the online mode and with Microsoft Robotics Developer Studio is this very easy.
Not only the the normal gamecontrollers but also the XBOX360 controller, KINECT, WII controller devices and a lot more.

Flodsche
Beiträge: 7
Registriert: 06 Aug 2012, 11:19

Re: TX Controller mit Joystick steuern

Beitrag von Flodsche » 29 Aug 2012, 13:29

Hi,
Ich würde es gerne mit meinem Logitechjoystick( http://www.blockpack.com/pictures/origi ... Z0A7TL.jpg ) steuern und nicht mit einem ft joystick. ;)
vleeuwen hat geschrieben:With the TX-C In the online mode and with Microsoft Robotics Developer Studio is this very easy.
Not only the the normal gamecontrollers but also the XBOX360 controller, KINECT, WII controller devices and a lot more.
how does that work?

mfg Flodsche

Benutzeravatar
Peterholland
Beiträge: 324
Registriert: 01 Nov 2010, 22:28
Wohnort: Poederoyen NL

Re: TX Controller mit Joystick steuern

Beitrag von Peterholland » 29 Aug 2012, 16:11

Link zu meiner Pneumatik-Model mit ein 2 á 3 Euro Joystick :
http://www.ftcommunity.de/details.php?i ... 26050#col3

It's an analog joystick (one with two potentiometers. I use two extra resistors.

Grüss,

Peter
Poederoyen NL
Peter Poederoyen NL

Ad2
Beiträge: 306
Registriert: 31 Okt 2010, 22:20

Re: TX Controller mit Joystick steuern

Beitrag von Ad2 » 29 Aug 2012, 16:34

The logitech joystick is probably a USB device so you cannot connect it to the TX but only to the PC which in turn has to control the TX in online mode. In online mode you have a choice: 1) RoboPro, this is easy on the TX side but very, very difficult on the joystick side (basically because RoboPro only supports soft-buttons and soft-sliders as input devices);
2) ftMscLib or something similar, this is difficult on both the TX side and the joystick side but it becomes manageable if you know how to program in C. After that it mainly depends on the framework you choose (bare windows, .net, robotic studio). It all depends on what you're already familiar with. If you've never programmed (in C or Visual basic .net) then forget it and get yourself an analog joystick that you can connect directly to the TX and program it in RoboPro (online or download).

vleeuwen
Beiträge: 1564
Registriert: 31 Okt 2010, 22:23
Wohnort: Enschede (NL)
Kontaktdaten:

Re: TX Controller mit Joystick steuern

Beitrag von vleeuwen » 29 Aug 2012, 17:20

@Flodsche

If this is a standaard DirectX based control like other modern MS-Windows game device from Logitec then you can use in the VPL (Visual Programming Language) of MS Robotics Developer Studio de Game Controller service.
MS-RDS VPL look a little bit on ROBOPRo but is message oriented insted of workflow oriented visual programming.


I use this one to in one of my examples but with the Logitec RumblePad.

FIschertechnik is partner in the MS-RDS research project.
The service for the integration of the TX-C into the MS_RDS system and additonal examples can be found in the linkedIn group:
http://www.linkedin.com/groups?home=&gi ... anet_ug_hm

I will be present at the comming FT-Conention with some demo's

Flodsche
Beiträge: 7
Registriert: 06 Aug 2012, 11:19

Re: TX Controller mit Joystick steuern

Beitrag von Flodsche » 29 Aug 2012, 19:20

Hi,

I would like to steer the Kontroller not directly about the joystick, but already over the computer; speak

Joystick-> computer-> controller TX

I have knowledge in the programmation only a little. ;)

Excuse for my translator in English

UMueller
Beiträge: 220
Registriert: 31 Okt 2010, 22:58

Re: TX Controller mit Joystick steuern

Beitrag von UMueller » 29 Aug 2012, 19:51

Hallo,

Beispiele in C# http://www.ftcommunity.de/ftComputingFi ... plorer.htm und VB.NET http://www.ftcommunity.de/ftComputingFi ... plorer.htm für ein einfaches Steuerprogramm für den ROBO Explorer mit einem Joystick sind auf den angegebenen seiten zu finden. Aber Achtung : Das Ding läuft nur mit der älterern Firmware des TX Controllers http://www.ftcommunity.de/ftComputingFi ... dllstx.htm

Gruß Ulrich Müller

vleeuwen
Beiträge: 1564
Registriert: 31 Okt 2010, 22:23
Wohnort: Enschede (NL)
Kontaktdaten:

Re: TX Controller mit Joystick steuern

Beitrag von vleeuwen » 29 Aug 2012, 21:40

Hi Flodsche,
You English is Ok. I am able to read and understand German.
Programming in VPL (Visual Programming) for MS-RDS is at the same level as RoboPRo.
In fact, message flow is easier as work flow (RoborPro); it is on a more abstract level, closer to the robotic problem and more naturale.

And it is working with the recent firmware on the TX-C, RoboInterface, and the TL-C.

Antworten