Go to Post What is this "non-robotics life" of which you speak? :ahh: - Karibou [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 30-01-2014, 19:22
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
Robot Losing Communication when strafing right

On our Mecanum drive, we loaded the auto-generated mecanum code from LabView to make sure the motors are in the correct place and we've noticed that the robot loses communication with the driver station when it tries to strafe right.
Since it was generated by LabView it couldn't have been a programming issue, and we've rechecked wiring over and over again and nothing looks wrong. I'll update you guys on wiring tomorrow when I can touch the robot.
The voltage drops only slightly by about .3 or so volts and then the robot doesn't communicate any more. The driver station says that the robot is communicating and that there is code loaded, teleop is enabled as well. But any inputs from the joystick are not read until we re-enable teleop. We've tried with two different Logitech Attack 3 joysticks to see if it's an input error and they both do the same thing.
We had this problem last year as well and we've never figured it out.
Reply With Quote
  #2   Spotlight this post!  
Unread 30-01-2014, 19:35
Chris_Ely's Avatar
Chris_Ely Chris_Ely is online now
Registered User
AKA: luckof13
FRC #3414 (HackBots)
Team Role: College Student
 
Join Date: Jan 2010
Rookie Year: 2010
Location: Farmington, Michigan
Posts: 366
Chris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond reputeChris_Ely has a reputation beyond repute
Re: Robot Losing Communication when strafing right

How is you radio wired? Is it connected through from the regulated 12V output on the PDB, then through the 12V-5V converter?
What is the battery voltage reading when this happens?
__________________
2013: Waterford Finalist, Livonia Winner, MSC Quarterfinalist, Curie Division
2012: Waterford, Northville, Livonia
2011: Waterford Finalist, Livonia
2010: Ann Arbor Rookie Inspiration Award, Troy

Mechanical Engineering Student,
Michigan Technological University
Reply With Quote
  #3   Spotlight this post!  
Unread 30-01-2014, 19:39
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,581
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: Robot Losing Communication when strafing right

I suspect that your digital sidecar isn't properly powered. It gets some power through the DB-37 cable, but not enough to send a full speed PWM to 4 motors. Assuming that your right motors are inverted in code, a left turn is minimum PWM to all motors and a right turn is full PWM to all motors.

Disconnect the DB-37 cable from the digital sidecar and make sure that all 3 power LEDs are brightly lit.

Have you solved your mechanical problems from your previous thread?
Reply With Quote
  #4   Spotlight this post!  
Unread 30-01-2014, 20:02
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: Robot Losing Communication when strafing right

Quote:
Originally Posted by Joe Ross View Post
I suspect that your digital sidecar isn't properly powered. It gets some power through the DB-37 cable, but not enough to send a full speed PWM to 4 motors. Assuming that your right motors are inverted in code, a left turn is minimum PWM to all motors and a right turn is full PWM to all motors.

Disconnect the DB-37 cable from the digital sidecar and make sure that all 3 power LEDs are brightly lit.

Have you solved your mechanical problems from your previous thread?
Okay, Tuesdays and Thursdays are days left for labor intensive homework so no we have not solved the mechanical issues yet. The mechanical one is harder to fix than the wiring one so we will try the wiring tomorrow after school gets out. Thank you!

As to luckof13, yes the voltage regulator is correct, the voltage drops from ~12.43ish to ~11.5ish then spikes back up to the original voltage.
Reply With Quote
  #5   Spotlight this post!  
Unread 31-01-2014, 19: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: Robot Losing Communication when strafing right

All 3 LEDs are powered on.
I wouldn't say that losing communication is the best way to describe it. It just stops moving. The driver station is all green and the robot is all green. Jaguars are blinking. It doesn't take any inputs after it "dies". We need to disable teleop and then reenable teleop to get it to take inputs. The Dashboard is showing that the joystick is still giving an input after the "death".
Reply With Quote
  #6   Spotlight this post!  
Unread 01-02-2014, 03:27
codes02 codes02 is offline
Randolph aka Roxbury aka R_______
AKA: Cody Schafer
no team (Formerly: Team 11, MORT)
 
Join Date: Oct 2007
Rookie Year: 2008
Location: MA, USA
Posts: 57
codes02 is on a distinguished road
Re: Robot Losing Communication when strafing right

perhaps your code is crashing ? check netconsole and try to find a minimal test case.
Reply With Quote
  #7   Spotlight this post!  
Unread 01-02-2014, 13:18
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: Robot Losing Communication when strafing right

I wouldn't know why the code would be crashing? We loaded a WPILib built mecanum program. I'll check later.
Would I need to use a filter capacitor or two to get rid of glitches if that's the case?

Well the problem was that we inverted the motors mechanically and it hurt the robotdrive.
We inverted it in code and it works fine.

Last edited by xXhunter47Xx : 01-02-2014 at 17:42.
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 18:34.

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