Go to Post before you post, ask yourself: Is there a good reason to post this? - Jeff Waegelin [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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 07-02-2014, 22:23
xXhunter47Xx's Avatar
xXhunter47Xx xXhunter47Xx is offline
Lord of Lazy
AKA: Austin $wagmaster1337
FRC #4738 (Patribots)
Team Role: College Student
 
Join Date: Jan 2014
Rookie Year: 2013
Location: San Diego
Posts: 305
xXhunter47Xx will become famous soon enough
CAN Drive implementation problems

We have implemented CAN Drive with Jags in Labview, and when we connected with the driver station it said the Robot had communication and it said there was code loaded on the robot but any joystick input wouldn't translate to the robot. Here's what the code looks like in (we're using mecanum drive BTW):
Begin.vi


Teleop.vi


We already reimaged the cRIO to use the CAN Serial thingy.
We didn't wire the encoders on the jags yet, would that be why?
Reply With Quote
  #2   Spotlight this post!  
Unread 08-02-2014, 00:52
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,557
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: CAN Drive implementation problems

Speed mode will not work without encoders on the jaguar. However, I would expect that the jaguars would go full speed, rather then not moving.

I don't believe that RobotDrive is designed to work with speed mode on the CAN Jaguars. I think it only works with %Vbus.
Reply With Quote
  #3   Spotlight this post!  
Unread 08-02-2014, 00:55
xXhunter47Xx's Avatar
xXhunter47Xx xXhunter47Xx is offline
Lord of Lazy
AKA: Austin $wagmaster1337
FRC #4738 (Patribots)
Team Role: College Student
 
Join Date: Jan 2014
Rookie Year: 2013
Location: San Diego
Posts: 305
xXhunter47Xx will become famous soon enough
Re: CAN Drive implementation problems

That would make sense.
Once we get the encoders all wired up I will give you an update.
Thank you!
Reply With Quote
  #4   Spotlight this post!  
Unread 08-02-2014, 00:55
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: CAN Drive implementation problems

A closed-loop-control mode won't run if all the PID gains are zero.
Reply With Quote
  #5   Spotlight this post!  
Unread 08-02-2014, 01:28
xXhunter47Xx's Avatar
xXhunter47Xx xXhunter47Xx is offline
Lord of Lazy
AKA: Austin $wagmaster1337
FRC #4738 (Patribots)
Team Role: College Student
 
Join Date: Jan 2014
Rookie Year: 2013
Location: San Diego
Posts: 305
xXhunter47Xx will become famous soon enough
Re: CAN Drive implementation problems

Quote:
Originally Posted by Alan Anderson View Post
A closed-loop-control mode won't run if all the PID gains are zero.

That... would make a lot of sense. Would all three (p, i and d) need to have values or just one (ie just p)?
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 08:18.

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