Go to Post Bottom line: I would suggest that you walk a mile in our shoes and volunteer to be an inspector at your next event... - Mike Betts [more]
Home
Go Back   Chief Delphi > Other > FIRST Tech Challenge
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
View Poll Results: What do you think of samantha?
Love it 6 12.00%
Like it 16 32.00%
Neatral 9 18.00%
Dislike 7 14.00%
Hate 12 24.00%
Voters: 50. You may not vote on this poll

 
 
Thread Tools Rating: Thread Rating: 6 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #27   Spotlight this post!  
Unread 21-12-2010, 13:45
l0jec l0jec is offline
Registered User
no team
 
Join Date: Oct 2009
Rookie Year: 2004
Location: St. Louis, MO
Posts: 52
l0jec has a spectacular aura aboutl0jec has a spectacular aura about
Re: [FTC]: Samantha? Like it or hate it?

Quote:
Originally Posted by Random Dude View Post
It's actually not specifically a samantha issue. The same thing can (and does) happen over bluetooth, and even potentially direct USB tether (if one were to pull the cable out). The joystick.c template fails to get any packets from the controller, and just assumes the values should remain the same. (instead of entering a failsafe mode)
If what normalmutant is saying about the Samantha locking up and continuing to send the same packet to the NXT is accurate, then a fix to the template may not work well without additional design changes? Your idea for a template fix to JoystickDriver.c as I understand it would rely on detecting that new packets are not being received so that you could stop sending the last known good one back in the joystick struct. If the Samantha cannot detect a drop and keeps sending the NXT old packets as if they are new ones, the template may not have enough info to easily know the difference without resorting to comparing the payload state of each packet to previous ones.
The "additional design changes" I mention above may be to add an incrementing id to each packet payload which could be used to easily identify if they are new or not by any downstream receiver (Samantha or ROBOTC/LabView code) and even allow tracking of dropped/missed messages.
Thoughts?

Last edited by l0jec : 21-12-2010 at 13:48. Reason: Spelling
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FTC]: Samantha instructions Sasha FIRST Tech Challenge 12 20-07-2012 19:02
[FTC]: Samantha issues at VCU FRC/FTC workshops - how to fix cybiko123 FIRST Tech Challenge 3 13-12-2010 13:18
[FTC]: Samantha Problems greendog99 FIRST Tech Challenge 2 03-12-2010 22:39
[FTC]: samantha johncap100 FIRST Tech Challenge 4 01-11-2010 21:25
[FTC]: FTC Samantha Unit Setup With WRT610N robotic321 FIRST Tech Challenge 0 21-10-2010 15:23


All times are GMT -5. The time now is 03:58.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi