Go to Post Remember, however, that such software limitations in no way approximate the functionality of a multiple-speed, mechanical transmission. They're simply a convenient way of limiting your students' lead feet. - Madison [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
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 22-06-2011, 15:53
ElliotCourant's Avatar
ElliotCourant ElliotCourant is offline
Elliot Courant
AKA: Elliot Courant
FRC #3038 (ICE Robotics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Minnesota
Posts: 19
ElliotCourant is an unknown quantity at this point
Re: Crio Not taking code

I am the one who was dealing with it the most.
I wrote the code just to do tank drive with two motors and jaguars, i deployed the code and only one joystick is working and all the robot will do is move forward and backward. then I went back into the code and deleted all of the code related to movement so that regardless of what I do the robot should not move. I deployed the code and it did the same thing again.

I have re-imaged the crio at least 8 times today and each time i get the same result regardless of the code that i deploy to the robot.
__________________
"Error, Cannot Find Back-End!" -WindRiver C++ Error
"If you aren't getting any errors while you are programming, then you are doing something wrong." -Elliot Courant
Reply With Quote
  #2   Spotlight this post!  
Unread 22-06-2011, 16:43
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Crio Not taking code

Quote:
Originally Posted by ElliotCourant View Post
I have re-imaged the crio at least 8 times today and each time i get the same result regardless of the code that i deploy to the robot.
Your description suggests that you're not downloading the code you think you are. Make sure you're pointing the deployment process to the same place you're putting the compiled program.
Reply With Quote
  #3   Spotlight this post!  
Unread 22-06-2011, 17:30
tomy tomy is offline
Registered User
FRC #3038 (I.C.E. Robotics)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Stacy, Minnesota
Posts: 494
tomy has a spectacular aura abouttomy has a spectacular aura about
Re: Crio Not taking code

I am working with elliot and we have check our .out file. i have a theroy that one of the modules is hold to a program. Is that possible?
Reply With Quote
  #4   Spotlight this post!  
Unread 23-06-2011, 09:56
ElliotCourant's Avatar
ElliotCourant ElliotCourant is offline
Elliot Courant
AKA: Elliot Courant
FRC #3038 (ICE Robotics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Minnesota
Posts: 19
ElliotCourant is an unknown quantity at this point
Re: Crio Not taking code

Okay but how would we make sure that the code from windriver is deploying to the right ip address, because whenever i reimage it my laptop says that there is no code in the driver station, but then when i deploy the code and reboot it says that there is code there. But the robot is not taking the code?
__________________
"Error, Cannot Find Back-End!" -WindRiver C++ Error
"If you aren't getting any errors while you are programming, then you are doing something wrong." -Elliot Courant
Reply With Quote
  #5   Spotlight this post!  
Unread 23-06-2011, 10:03
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,792
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Crio Not taking code

What Alan meant was that one easy mistake to make is thinking you're downloading your new .out file whenever you push the Deploy button.
There are different .out files from each project.


That's only true if you remembered to select the newest one in:
Window->Preferences
FIRST Downloader Preferences
and check to see that the .out file selected is the latest one AND the directory is the right one.
I always double-check by looking at the .out file creation date in Windows Explorer to make sure it is the one being changed whenever you compile.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 23-06-2011 at 10:09.
Reply With Quote
  #6   Spotlight this post!  
Unread 23-06-2011, 14:05
ElliotCourant's Avatar
ElliotCourant ElliotCourant is offline
Elliot Courant
AKA: Elliot Courant
FRC #3038 (ICE Robotics)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Minnesota
Posts: 19
ElliotCourant is an unknown quantity at this point
Re: Crio Not taking code

It turned out that that was the problem but now we are having a different problem. It worked but then this happened. We deploy the code and it behaves like it transferred the file, but then when we go to the driver station and we reboot it it says that there is no code. we tried changing Crios and that didn't help. I also used ftp to browse the robot and I could not find the output file from windriver.
__________________
"Error, Cannot Find Back-End!" -WindRiver C++ Error
"If you aren't getting any errors while you are programming, then you are doing something wrong." -Elliot Courant
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 17:47.

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