View unanswered posts | View active topics It is currently Sun Nov 17, 2019 9:12 am






Reply to topic  [ 2 posts ] 
FTC Robotics NXT Keeps 
Author Message
Rookie

Joined: Fri May 16, 2014 6:16 am
Posts: 1
Post FTC Robotics NXT Keeps
FTC Robotics NXT Keeps Disconnecting? So i'm the programmer for my team and we've been having this terrible problem where our nxt randomly disconnects during the teleop program. originally, this meant that the motors kept on going and the robot would hit into the wall, so i made a block in the program so that it would cut out of the main loop if that were the case. (i did this by using the variable bDisconnected). However, even when we changed the power wiring to parallel for every motor controller, switched nxt's, switched the samantha, made the pins on the battery connector more narrow, and changed the usb cable, this problem still happens occasionally. Is there any other reason this problem would occur? I also tried putting the main battery on the first motor controller on port 1 of the nxt (before i rewired it in parallel) to no avail. at this point i've tried everything i can think of and now im out of ideas. please help! thanks.
______________
chefs desire


Last edited by niklezz on Fri Nov 07, 2014 7:50 am, edited 2 times in total.



Mon Jul 28, 2014 6:22 am
Profile
Professor
User avatar

Joined: Sat Aug 31, 2013 9:15 am
Posts: 256
Post Re: FTC Robotics NXT Keeps
Welcome to the world of FTC! There really is no way to completely prevent communications droupouts from happening. It sounds like you've been doing a lot to minimize them, though. One other thing I would recommend is to mount your motor and servo controllers on an insulator - my team uses Lexan. Another recommendation I would make is to not exit your main loop when the robot loses connection. Just suspend action and wait for communications to come back. Sometimes communications just drop out for a couple of seconds and them come right back. At other times they'll just go away and never come back - you never know. So, it's best to assume when programming that they could come back.

Oh yeah, one more recommendation: make sure the room you're practicing in doesn't have a lot of wifi traffic flying around - this can wreak havoc on your communications. :?

_________________
FTC Team 6100 Chariots of Fire - Programmer (2012-2013)
FTC Team 7468 Blue Chariots of Fire - Programmer (2013-2014)
FTC Team 7468 Blue Chariots of Fire - Mentor (2014-2015)
Check out our team website at http://bluechariotsoffire.com/.


Mon Jul 28, 2014 4:56 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.