I am currently unable to work on my auntonomous program because I am waiting on the Robot to be finished and my coach to order a new lincence for the year...So I've been trying to work out (at least a general pathway) from within the Robot Virtual Worlds. I am currently on a 60 day trial and just trying to get a feel for it.

Here is my problem: It isn't working.

I made a basic program just to test out, and the virtual world will open, but my Robot won't move...could anybody help me?

{ motor[mtr_S1_C1_1] = 50; // leftmotor is to run at a power level of 50. motor[mtr_S1_C1_2] = 50; // rightmotor is to run at a power level of 50. wait1Msec(1000); // The program waits 1000 milliseconds (1 seconds) before running further code } { motor[mtr_S1_C1_1] = 0; motor[mtr_S1_C1_2] = 50; wait1Msec(1000); }}

(I also have tryed Textrix Moving Forward as a sample program, but still nothing)

Last edited by PanthersRage on Thu Nov 24, 2011 11:24 pm, edited 1 time in total.

Mon Nov 21, 2011 9:19 pm

magicode

Moderator

Joined: Tue Sep 14, 2010 9:19 pmPosts: 496

Re: Could someone help me understanfd what I'm doing wrong?

Try using motor[leftmotor] and motor[rightmotor] instead of your current calls.

_________________sudo rm -rf /

Tue Nov 22, 2011 1:13 am

PanthersRage

Rookie

Joined: Fri Nov 18, 2011 1:59 pmPosts: 6

Re: Could someone help me understand what I'm doing wrong?

Nope. Still not responding when I hit "run RobotC program." Thanx for the suggestion though!

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