I am trying to evaluate whether Robot Virtual World will help our FTC team. So I downloaded a minimal teleop program to the virtual robot to see if I can control the virtual robot with a game controller. Do I have to do anything special to send the joystick events to the virtual robot?

Mon Sep 19, 2011 1:06 am

RobinShoop

Site Admin

Joined: Thu Jul 05, 2007 12:45 pmPosts: 35Location: Carnegie Mellon

Re: Does Virtual World support teleop?

It does support teleoperation. Remember to open up the debug window "Joystick Control" the same as you would if you were running your real TETRIX robot.

Mon Sep 19, 2011 8:22 am

MHTS

Guru

Joined: Sun Nov 15, 2009 5:46 amPosts: 1523

Re: Does Virtual World support teleop?

I opened the basic joystick dialog and I could see the picture of the game controller reacted to my moving of the joysticks but the robot in the virtual world was not moving. I tried the FTC joystick dialog thinking it may have something to do with the game states but RobotC crashed. I understand there is a known crashing issue related to fantom.dll although I am not sure if it is related to my crash since fantom.dll is about communication with the physical robot. I would expect the virtual robot does not need this.

Mon Sep 19, 2011 12:00 pm

RobinShoop

Site Admin

Joined: Thu Jul 05, 2007 12:45 pmPosts: 35Location: Carnegie Mellon

Re: Does Virtual World support teleop?

Hello MHTS,

Thanks for your note, I imagine that you know much of what I am going to write below, but this will be good information for folks that are new to the Robot Virtual World and remote control. TETRIX does work with remote control. Here is a youtube video that shows it working: http://www.youtube.com/watch?v=mhLvn15sJPE

Remember that TETRIX motors are mapped to motors D and E and so the NXT remote control program will not work because it is mapped to motors C and B.

You wrote

Quote:

I tried the FTC joystick dialog thinking it may have something to do with the game states but RobotC crashed.

Tim told me that the menu that is found when you press Robot/NXT Brick/Joystick is for physical robots and not for virtual robots. He is removing that in the new build because when a user selects that option ROBOTC begins to look for a physical robot and crashes.

I double checked and TETRIX robots can be controlled with the Logitech remote controllers.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum