Go to Post To me, every robot is a moving mechanical art form, a sculpture made of aluminum, motors and gears, and I think that soon we will be seeing those art forms involved in some of the most fantastic robotic "dances" that any of us have ever seen - DougHogg [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 16-02-2012, 18:03
jeremy5561 jeremy5561 is offline
Registered User
FRC #0919
 
Join Date: Jan 2012
Location: Canada
Posts: 26
jeremy5561 is an unknown quantity at this point
Cannot drive robot

I've reimaged the robot and deployed the default FRC project but I can't drive it. I get error 44003 or something like that, I can't remember. Is it because the camera isn't connected.

Does the camera need to be connected or can it just be disabled?
Reply With Quote
  #2   Spotlight this post!  
Unread 16-02-2012, 18:16
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,906
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: Cannot drive robot

The camera doesn't have anything to do with it.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #3   Spotlight this post!  
Unread 16-02-2012, 21:46
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,113
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: Cannot drive robot

The exact error message would help narrow down what's wrong.

In the meantime, do you have the cRIO modules in the proper slots? Slot 1 must have an analog module, slot 2 must have a digital module, and slot 3 can have a solenoid module if you want one. (What you can do with the remaining slots depends on whether you have 4 or 8 slots total.)
Reply With Quote
  #4   Spotlight this post!  
Unread 17-02-2012, 12:12
jeremy5561 jeremy5561 is offline
Registered User
FRC #0919
 
Join Date: Jan 2012
Location: Canada
Posts: 26
jeremy5561 is an unknown quantity at this point
Re: Cannot drive robot

I figured out the problem, it was an improper jumper on the digital sidecar. We're reassembling the jaguars.

We have two motors each side for a total of 4.

Are we supposed to connect PWM 1 and 3 to left and 2 and 4 to right because only one side is moving. When teleoperated mode is enabled, all motors are solid yellow.
Reply With Quote
  #5   Spotlight this post!  
Unread 17-02-2012, 15:44
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,906
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: Cannot drive robot

The default code only enables PWM 1 & 2.
You can use "Y" PWM cables to split a signal to both Jaguars on a side.

You can also change the code to be whichever PWMs you like.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #6   Spotlight this post!  
Unread 17-02-2012, 20:07
jeremy5561 jeremy5561 is offline
Registered User
FRC #0919
 
Join Date: Jan 2012
Location: Canada
Posts: 26
jeremy5561 is an unknown quantity at this point
Re: Cannot drive robot

Do you have any idea how to get that to work by programming in LabView. I've been poking around for hours and KIND of get it.

I'm looking at the TeleOp block diagram and I see Click image for larger version

Name:	labview1.png
Views:	11
Size:	46.7 KB
ID:	11958. I'm thinking the RefNum set sets the motors that are to be operated by the Arcade Drive thing. The RefNum set thing opens this Click image for larger version

Name:	labview2.png
Views:	6
Size:	50.3 KB
ID:	11959 control panel. I see motor[], which i'm guessing is the array of motors that the thing is supposed to set.

I'm working on the robot tomorrow and don't have the CRIO at the moment but I remember that the left motor was set to INVERT so i'm guessing all you need to do is INVERT all the left motors.

Does anyone know how to add additional motors into the array. If any team has done this I'd appreciate any help. Stop build day is looming, this is almost the last day and I have a tremendous amount of homework.
Reply With Quote
  #7   Spotlight this post!  
Unread 17-02-2012, 20:50
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
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,906
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: Cannot drive robot

The motors/PWMs are all defined in Begin.vi
That's were you'd add motors or change PWMs.

That's where the Refnum gets created.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #8   Spotlight this post!  
Unread 17-02-2012, 21:04
jeremy5561 jeremy5561 is offline
Registered User
FRC #0919
 
Join Date: Jan 2012
Location: Canada
Posts: 26
jeremy5561 is an unknown quantity at this point
Re: Cannot drive robot

Thank you very much i've been looking for that for hours.
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: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