View unanswered posts | View active topics It is currently Wed Sep 17, 2014 8:22 pm






Reply to topic  [ 2 posts ] 
HELP 
Author Message
Rookie

Joined: Tue Oct 18, 2011 12:25 am
Posts: 1
Post HELP
I need help with the arm programming. I can't figure it out. Is it motor[rightarmMotor] or motor[armMotor]???


Tue Oct 18, 2011 12:27 am
Profile
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:44 am
Posts: 439
Location: Pittsburgh, PA
Post Re: HELP
Which robotics platform are you using? NXT? VEX? The "motor" command sets the value of the power level of a motor with the motor alias being within the square brackets. So if you named your motor "rightarmMotor", then it would be motor[rightarmMotor]. If you named it "armMotor", then it's motor[armMotor]. Check the Robot menu > Motors and Sensors Setup. That should tell you which name to use. If you didn't name any, then there's the place to do it.

_________________
Vu Nguyen
Software Training Development Team | Webmaster
Need more support? Use the ROBOTC Ticketing system

Robotc.net| Robomatter Store | Robotics Academy | CS2N


Tue Oct 18, 2011 8:28 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


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

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.