View unanswered posts | View active topics It is currently Fri Jul 25, 2014 1:08 pm






Reply to topic  [ 4 posts ] 
Needing help in the simplest questions regarding robotc 
Author Message
Rookie

Joined: Sat Nov 03, 2012 4:57 am
Posts: 2
Post Needing help in the simplest questions regarding robotc
Hi there, I'am a beginner in this forum and in Robotc as well. I needed help from you guys out there.. it would be of great help if you guys help me out with these two below questions. :)

1.

Write a program to make the robot in Virtual World environment classic table to go from the start to the end position in the second chamber.

In your programs you need to
• Use loop (for or while) and sonar/touch sensor in finding the walls.
• Put comments for your programs.
• All constants need to be in upper case.
• All variable should start in lower case.
• Programs need to have proper indentation.


2.

Write a program to make the robot in Virtual World environment classic table to push all four balls in to the chambers. First two balls should go to the first chamber and the second two balls should go to the second chamber.

In your programs you need to
• use touch and sonar sensors
• use loop (for or while).
• put comments for your programs.
• All constants need to be in upper case.
• All variable should start in lower case.
• Programs need to have proper indentation.


Sat Nov 03, 2012 5:10 am
Profile
Guru
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1347
Post Re: Needing help in the simplest questions regarding robotc
This sounds like your home work. We don't do home works for you. If you have written something that doesn't work, please post your code and we can help you to debug it.


Sat Nov 03, 2012 5:21 am
Profile
Rookie

Joined: Sat Nov 03, 2012 4:57 am
Posts: 2
Post Re: Needing help in the simplest questions regarding robotc
Okay so I'll send you the code, because I'am not getting it right. The robot behaves differently all the time.
Can you please tell me as to why the robot behaves differently all the time I compile and execute it? :/


Sat Nov 03, 2012 5:43 am
Profile
Guru
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1347
Post Re: Needing help in the simplest questions regarding robotc
Have you gone through the tutorial videos from the link below? Take a look at the Sensing section especially Wall Detection with touch and sonar sensors.
http://www.robotc.net/teachingmindstorm ... dindex.htm


Sat Nov 03, 2012 4:53 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 4 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.