View unanswered posts | View active topics It is currently Fri Aug 22, 2014 2:37 pm






Reply to topic  [ 3 posts ] 
Troubleshooting the NXT 
Author Message
Rookie

Joined: Fri Apr 26, 2013 11:05 am
Posts: 12
Post Troubleshooting the NXT
Is there an index of problems that the students may encounter when programming the NXT in ROBOTC, that I could use as a reference? I had one group of students tell the robot a reverse motor command, followed by a forward motor command. It was written correctly, but then the robot went into reverse mode again without it being told to do so. I tried turning off the NXT and quitting the software and then re-downloading the program. Same results. I have had another robot track a line a maybe 15% power when the students have told it 50% power. A troubleshooting guide would be most useful.

Thanks.


Fri May 03, 2013 10:18 am
Profile
Moderator
Moderator
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3190
Location: Rotterdam, The Netherlands
Post Re: Troubleshooting the NXT
Without the program that was causing this issue, there is really no telling what the problem could be.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Fri May 03, 2013 10:37 am
Profile WWW
Site Admin
Site Admin

Joined: Thu May 24, 2012 12:15 pm
Posts: 565
Post Re: Troubleshooting the NXT
mightor wrote:
Without the program that was causing this issue, there is really no telling what the problem could be.

= Xander


I agree with Xander, we will need to see the program before we are able to help debug it.

There are a couple of resources I recommend for all ROBOTC programmers. The first is ourROBOTC Video Trainer Curriculum for NXT/TETRIX. This curriculum assumes no prior knowledge of programming or robotics and walks the programmer, step by step, through setting up a robot, configuring it with ROBOTC, and programming the robot. It starts with basic concepts (moving forward, turning, time-based movements, etc) and gradually introduces more complex programming options (sensors, encoder-based movement, timers, functions, etc). I always suggest that programmers new to ROBOTC go through the Video Curriculum Trainer at least once, but it never hurts to look through it for a refresher either.

We also have a ROBOTC-specific wiki that contains a wealth of information about all things ROBOTC related. We have NXT, TETRIX, and MATRIX specific sections, each with information for its specific platform. There are also sections that cover more generic ROBOTC and C-based programming topics, most of which can be found in our General Programming section. The wiki is constantly being updated with new content and materials, so check back often!

As always, there is also the forums (which you are already signed up for, thank you for joining the ROBOTC community!) which contains many community members who are always happy to help (including the ones you have already met). There are a couple of good tips you can follow to get clear, quick responses:

1) If you have code and it is giving you problems, we will need to see it using the [code] tags. This will allows us to look through, debug possible issues, and work with you to find a solution to the problem.
2) The more detailed information you can give on any problem (including code), the better and quicker we will be able to assist you. It's easier for us to read a long, descriptive post with a full description of the issue than attempt to decipher the issue from a short, one-sentence description of the problem.
3) We don't give homework answers :) We are more than happy to point students to the correct resources, but will not give any student (middle school, high school, college, or otherwise) full code for homework assignments.
4) The more polite the question, the more polite the answers.

These are not specifically aimed at you or this post (nothing you have said or done has been considered discourteous or annoying, etc), just general tips that should be kept in mind when posting. Again, welcome to the ROBOTC community, and I hope this post has helped!

_________________
Check out our Blog! And our Facebook page!
Need help? Take a look at our Wiki and our Forums.

I just met you,
And this is crazy,
But here's my code now,
So fix it, maybe?
~ Carly Rae Jepsen parody


Fri May 03, 2013 11:23 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 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.