View unanswered posts | View active topics It is currently Thu Dec 18, 2014 6:32 am






Reply to topic  [ 2 posts ] 
ROBOTC Graphical Update Patch - 4 Wheel Drive (4WD) Support! 
Author Message
Site Admin
Site Admin

Joined: Wed Jan 24, 2007 10:42 am
Posts: 616
Post ROBOTC Graphical Update Patch - 4 Wheel Drive (4WD) Support!
A special ROBOTC update allows you to use our new Graphical Natural Language interface with 4-wheel drive robots! You will need to using ROBOTC 4.08 for maximum compatibility with the new blocks. This will allow you to use the following commands with 4WD based robots:

- forward
- backward
- turnLeft
- turnRight
- lineTrackLeft
- lineTrackRight
- arcadeControl
- tankControl

Image

To Install:
- Download update files here: https://www.dropbox.com/s/q929cmgsq7lte ... OTC408.zip
- Decompress files from download .zip folder
- Copy to "C:\Program Files (x86)\Robomatter Inc\ROBOTC Development Environment 4.X\Includes" (or wherever you installed ROBOTC to)
- Accept any prompts regarding overwriting files. You're updating ROBOTC system files to enable this new functionality, so this is expected.
- Run ROBOTC with Graphical Natural Language
- Enjoy!

New Graphical Commands:
setMotorReversed(nMotorIndex, bReversed);
- Allows you to set a motor as "reversed" to allow the Basic Movement commands

configureDriveTrain2WD(leftMotorPort, rightMotorPort);
- Configures the Basic Movement/Joystick/Line Following commands to use the specified left and right motors to move your robot.

configureDriveTrain4WD(leftMotorPort, left2ndMotorPort, rightMotorPort, right2ndMotorPort);
- Configures the Basic Movement/Joystick/Line Following commands to use the specified two left and two right motors to move your robot.

Note: Depending on the ports used by sensors, some of the looping structures may not be available due to overlapping ports. A future update to ROBOTC will accommodate this issue.

Once the new files are installed, you should see the new "Setup" menu under the Graphical Natural Language interface.

Image

We've tested this functionality thoroughly, but as always, if you're heading to VEX IQ worlds and your robot is working well... If it's not broken, don't try to fix it

_________________
Timothy Friez
ROBOTC Developer - SW Engineer
tfriez@robotc.net


Fri Apr 18, 2014 2:06 pm
Profile
Rookie

Joined: Sat Sep 27, 2014 10:38 pm
Posts: 4
Post Re: ROBOTC Graphical Update Patch - 4 Wheel Drive (4WD) Supp
Tim,
I followed the same steps indicated in the post. But I see under the setup only the SetMotorReserved. I can't see the 2wd AND 4WD Commands.

I do have another problem with tankControl()
After downloading the program, when press the the ChD on the Joystick, doesn't move the right wheels of the robot. In fact nothing happens. When the ChA moves up the robot moves forward with all 4 wheels (all 4 wheels are rotating forward) where an put it down "does nothing".
Need help in resolving the issue. I have latest ROBOTC and latest firmware on the brain and controller.
Thanks
Tulasi


Sat Sep 27, 2014 10:48 pm
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.