Xbox-Controller am Robo IF?

Alles rund um TX(T) und RoboPro, mit ft-Hard- und Software
Computing using original ft hard- and software
Forumsregeln
Bitte beachte die Forumsregeln!
Antworten
ktd85
Beiträge: 6
Registriert: 21 Mai 2011, 21:59

Xbox-Controller am Robo IF?

Beitrag von ktd85 » 23 Mai 2011, 00:48

Hallo,

hat jemand bereits erfolgreich die Steuerung von Modellen mit dem XBOX-Controllern und dem Interface IF getestet?
http://www.fischertechnik.de/desktopdef ... n_no_pano/

Grüße
Thomas

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

Re: Xbox-Controller am Robo IF?

Beitrag von vleeuwen » 23 Mai 2011, 09:07

Your question is not so clear to me.

It is very easy to use the XBOX360 controller to control a fischertechnik model by using MS Robotics Developers Studio.
(Robo Interface family (RoboInt, Extension module, RoboBox), TX_C and the TL-C.

This is not only valid for the XBOX360 but for more standard game controllers and even the WII controllers (WIImote, balance board)

I tested it.
See the fischeretechnik MS-RDS page under "Carel"

ktd85
Beiträge: 6
Registriert: 21 Mai 2011, 21:59

Re: Xbox-Controller am Robo IF?

Beitrag von ktd85 » 23 Mai 2011, 20:56

Does it even work with the Robo intelligent Interface? Because it has no Bultim Bluetootb Module.

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

Re: Xbox-Controller am Robo IF?

Beitrag von vleeuwen » 23 Mai 2011, 21:30

Yes, there is no direct relation with the BT-connection.
MS-RDS use the interface in the online mode and runs on the computer.
You are able to combine al lot of resource that have contact with the computer with your interface.

The Robo interface family is making use of the FtLIb.
Alle interface that can be connected by the FtLib can be used with MS-RDS.

There is a Ft16Service for the RObo interface family and a FtTxService for the TX-C.
Althought the Ft16Service is able to use the TL-C ther is a FtTlService under development for this baby Robo interface.

Fischertechnik is partner in this Microsoft Robotics initiative.

Benutzeravatar
scripter1
Beiträge: 106
Registriert: 29 Apr 2011, 12:50
Wohnort: Nennslingen

Re: Xbox-Controller am Robo IF?

Beitrag von scripter1 » 25 Mai 2011, 21:45

Hi, ich habe vor ein paar Wochen begonnen, meine ftProjekte von nun an mit einem Gamecontroller oder Joystick zu steuern. (nachdem ich dieses Video gesehen habe: http://www.youtube.com/watch?v=RkvMvhaZ9zI) Das ist eig. nicht schwer.

Ich habe dazu Ulrich Müllers JavaFish (http://ftcomputing.de/javaecke.htm) und einen Joysticktreiber für Java (http://sourceforge.net/projects/javajoystick/) benutzt. Wenn du beides kombinierst, kannst du z. B. mit dem Joystick einen Motor links, rechts und in verschiedenen Geschwindigkeitsstufen steuern.

Du benötigst eig nur Java Grundkentnisse, das reicht vollkommen aus!

Ich drehe demnächst ein Video mit meinem Industrieroboter und werde es euch einmal zeigen.

ktd85
Beiträge: 6
Registriert: 21 Mai 2011, 21:59

Re: Xbox-Controller am Robo IF?

Beitrag von ktd85 » 26 Mai 2011, 00:19

Is there any way to use xbox remote control functionality in autonomous mode?

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

Re: Xbox-Controller am Robo IF?

Beitrag von vleeuwen » 26 Mai 2011, 09:12

autonomous mode is this the same as off-line mode?

In that case with the TX-C (BT or USB), I don't think so.
In opposite as offer with the Robo Interface (FtLib (RS232,USB,RF), the FtMscLib does not offer the functions 4.4.8 and 4.4.9
"GetFtMemoryData" and "ReadFtMemoryData".

[With the Robo Interface you are able to make use of these to function; see the FtLib documentation.
These fuction are offering you the possibility to communicate with the Robo Interface in case there is a programming running on it. However you need to write your own downloadeble program for the Robo Interface thats enable the use of these functions for you.
]

So there is no external communication in the off-line mode with TX-C possible.
Bad luck that the TX-C is not upwards compatible with the RoboInterface concerning this very powerful two API functions.

There also exist no possibility to use the BT-Radio Call (message system) outside the TX-C's.
The PC is not able to receive or sent BT-messages. Maybe in the futur; who's know.
With the Robo Interface this is possible in case you connect the RS232 (Radio Call mode) or by using RF and a second Robo Interface in the online mode.

In the near future you are able to use the I2C bus to create connection with for eaxmple an embeded system.
This embeded system would take care of the communication with the external devices.

Your could use the inputs of the TX-C (binary or analogue) for the communication with external device like a Joystick.

Another experimental option is to hack the RS485 communication (sending /receiving parts of the TA) and create and develop your own extension module.
This module need to emulate the TX-C RS485 protocol (transfering parts of the TA).

The camera bus is completely undocumented for the moment.

In fact, the TX-C is very closed for direct communication with external device.

With MS-RDS, I have very good experiances with the use of external controls like the XBOX360control, Wii-controls, XNA-compatible controls. It is also offering you internet communication and distribution of the activities over more than one PC.

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

Re: Xbox-Controller am Robo IF?

Beitrag von Ad2 » 26 Mai 2011, 11:13

@kdt85

Do you mean as a remote control, with direct BT communication between joystick and TX?
I don't think that will be possible, I know nothing about the XBOX but it is likely that it uses the HID (Human Interface Device) profile, the TX however implements the SPP (Serai Port Profile) profile. Implementing the HID profile on the TX will be challenging, to say the least. To use some kind of intermediary will be far easier. The TX is accessible via USB (X1 over CDC), Bluetooth (X1 over RFCOMM), RS485 (X1), I2C (1 or 2 bytes and not yet available), bluetooth radio calls (RFCOMM) and the regular analog and digital inputs. Your intermediary device will need on one side a BT HID interface (e.g. a USB dongle or a device like the Movon module in the TX, a device like the BTM222 does not support HID). And on the other side one of the TX interfaces mentioned above. Note that the intermediary needs to implement a bluetooth stack and possibly a USB stack, a simple AVR will not do.
As an alternative you could consider the IR control set i.o. the XBOX controller with a converter from IR to RS485, schematics and software are available.

Benutzeravatar
robbi2011
Beiträge: 151
Registriert: 17 Mär 2011, 09:26

Re: Xbox-Controller am Robo IF?

Beitrag von robbi2011 » 09 Jun 2011, 15:00

Hallo,
scripter1 hat geschrieben:Hi, ich habe vor ein paar Wochen begonnen, meine ftProjekte von nun an mit einem Gamecontroller oder Joystick zu steuern. (nachdem ich dieses Video gesehen habe: http://www.youtube.com/watch?v=RkvMvhaZ9zI) Das ist eig. nicht schwer.

Ich habe dazu Ulrich Müllers JavaFish (http://ftcomputing.de/javaecke.htm) und einen Joysticktreiber für Java (http://sourceforge.net/projects/javajoystick/) benutzt. Wenn du beides kombinierst, kannst du z. B. mit dem Joystick einen Motor links, rechts und in verschiedenen Geschwindigkeitsstufen steuern.

Du benötigst eig nur Java Grundkentnisse, das reicht vollkommen aus!

Ich drehe demnächst ein Video mit meinem Industrieroboter und werde es euch einmal zeigen.
Wie macht man das mit dem kombinieren :?: :roll:

robbi2011

Benutzeravatar
robbi2011
Beiträge: 151
Registriert: 17 Mär 2011, 09:26

Re: Xbox-Controller am Robo IF?

Beitrag von robbi2011 » 10 Jun 2011, 10:25

Hallo,
ich habe jetzt etwas anderes
gefunden. :D http://www.ftcommunity.de/downloads.php ... e=Software
Es ist der Zip-Ordner "FreeSpeed (Alle Dateien)".

robbi2011

Antworten