Go to Post A quote from the Southern California Regional Visitors guide: "If you are having problems the FIRST thing to do is ask your neighbor for help" - ChrisH [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 17-02-2013, 12:14
Tsarlowland Tsarlowland is offline
Registered User
AKA: Altan
FRC #4566 (TERAdactlys)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2013
Location: Georgia
Posts: 5
Tsarlowland is an unknown quantity at this point
Exclamation Huge problem with code running multiple motors

Hello all!

I've been trying to get multiple victors working on our robot, and it's not working...at all...

Right now, it almost appears our cRIO is not accepting changes to the code, as I recompile, and the same code runs on the cRIO as before. Things like changing button combinations and drive channels for speed controllers seem to have no effect.

I have already re-formatted the cRIO with the 2013-v47 image, and that didn't solve the problem either.

I'm going to go ahead and try to resave my project and re-open, just to see if NetBeans is causing the problem.

If anyone has some tips for how to solve this problem, and some code examples for multiple motors, that would be very much appreciated.

Thanks!
~Altan
Reply With Quote
  #2   Spotlight this post!  
Unread 17-02-2013, 12:47
F22Rapture's Avatar
F22Rapture F22Rapture is offline
College Student, Mentor
AKA: Daniel A
FRC #3737 (4H Rotoraptors)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Goldsboro, NC
Posts: 476
F22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant futureF22Rapture has a brilliant future
Re: Huge problem with code running multiple motors

If you have a "Main Project" set, make sure it's set to the one you're working on

Made that mistake once.
__________________
Research is what I’m doing when I don’t know what I’m doing.
- Wernher von Braun
Attending: Raleigh NC Regional
Reply With Quote
  #3   Spotlight this post!  
Unread 17-02-2013, 14:40
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Huge problem with code running multiple motors

Since the thread title is about multiple motors, be sure that the digital breakout is powered by 12V on the end and the three LEDs are bright. The motor controllers sorta work without this, but they don't always work, and it is very confusing.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 18-02-2013, 19:41
Tsarlowland Tsarlowland is offline
Registered User
AKA: Altan
FRC #4566 (TERAdactlys)
Team Role: Programmer
 
Join Date: Feb 2013
Rookie Year: 2013
Location: Georgia
Posts: 5
Tsarlowland is an unknown quantity at this point
Re: Huge problem with code running multiple motors

The problem ended up being a hardware problem, but it was rather flaky.

While carelessly drilling over our digital sidecar, lots of metal shavings got inside and broke some of the connections. We solved the problem by taking out the shavings.

I think there's a lesson for the mechanical team in here somewhere...

Thanks for the help!
Reply With Quote
Reply


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


All times are GMT -5. The time now is 11:43.

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