Go to Post (psst... what's the difference between a geek and a nerd?) - sonicbhoc [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-03-2012, 22:40
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Auto Code NOT Running (as expected)

Quote:
Originally Posted by kws4000 View Post
Would passing Ultrasonic and Joystick data to the Dashboard inside Robot Main qualify as "modification"?
Nope, that should be fine.
Reply With Quote
  #2   Spotlight this post!  
Unread 12-03-2012, 16:45
kws4000's Avatar
kws4000 kws4000 is offline
Team Mentor - Programming
AKA: Krazy Karl
FRC #2405 (Divided by Zero)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Fruitport, MI
Posts: 164
kws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the rough
Question Re: Auto Code NOT Running (as expected)

Annnddddddddd, (drum roll please)

It doesn't work. Error #-44061 at Leftand Right Motors, standard loop starvation code. The joystick z-throttle selector works.

We have a loop around all Auto Code, with a Wait in there of 20, and tried again w/ 50. Loop starvation every time!

Also, sending kinect2 yaxis back to dashboard. Always sends "0", even when doing the floppy chicken!

So therefore, is it some error in setting up the Kinect, or can the robot not reliabley interpret the Kinect data?
__________________
Mentoring:
1) Educating students on the ability to learn and have fun at the same time.
2) Giving back to those who made you who you are.

2009-2011 Student 2405 Electrical/Programming & Asst. Captain
2012-???? Mentor 2405 Programming/Jack-of-all-Trades
Reply With Quote
  #3   Spotlight this post!  
Unread 12-03-2012, 16:48
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 989
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Auto Code NOT Running (as expected)

Quote:
Originally Posted by kws4000 View Post
Annnddddddddd, (drum roll please)

So therefore, is it some error in setting up the Kinect, or can the robot not reliabley interpret the Kinect data?
If you run the default dashboard, does the Kinect "green man" and Y-axis data show up?
Reply With Quote
  #4   Spotlight this post!  
Unread 12-03-2012, 16:51
kws4000's Avatar
kws4000 kws4000 is offline
Team Mentor - Programming
AKA: Krazy Karl
FRC #2405 (Divided by Zero)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Fruitport, MI
Posts: 164
kws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the rough
Re: Auto Code NOT Running (as expected)

Quote:
Originally Posted by RufflesRidge View Post
If you run the default dashboard, does the Kinect "green man" and Y-axis data show up?
yep. The little bars work fine, but the robot won't reliably read the kinect and sentd that data back to a custom readout, and yes the indicator works properly just like the other 2 windows we have right above it.

I think if the dashboard can finally get the proper data, then the robot auto code will work fine.
__________________
Mentoring:
1) Educating students on the ability to learn and have fun at the same time.
2) Giving back to those who made you who you are.

2009-2011 Student 2405 Electrical/Programming & Asst. Captain
2012-???? Mentor 2405 Programming/Jack-of-all-Trades
Reply With Quote
  #5   Spotlight this post!  
Unread 12-03-2012, 17:51
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,833
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: Auto Code NOT Running (as expected)

Quote:
Originally Posted by kws4000 View Post
Also, sending kinect2 yaxis back to dashboard. Always sends "0", even when doing the floppy chicken!

So therefore, is it some error in setting up the Kinect, or can the robot not reliabley interpret the Kinect data?
By any chance do you have the Driver Station I/O Tab set to Enhanced Mode without the Cypress connected?

That's a unique case (bug) where the Kinect data will not get sent properly to the robot, but will be seen just fine on the Dashboard Kinect skeleton feedback.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #6   Spotlight this post!  
Unread 12-03-2012, 18:32
kws4000's Avatar
kws4000 kws4000 is offline
Team Mentor - Programming
AKA: Krazy Karl
FRC #2405 (Divided by Zero)
Team Role: Mentor
 
Join Date: Feb 2010
Rookie Year: 2009
Location: Fruitport, MI
Posts: 164
kws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the roughkws4000 is a jewel in the rough
Re: Auto Code NOT Running (as expected)

Quote:
Originally Posted by Mark McLeod View Post
By any chance do you have the Driver Station I/O Tab set to Enhanced Mode without the Cypress connected?

That's a unique case (bug) where the Kinect data will not get sent properly to the robot, but will be seen just fine on the Dashboard Kinect skeleton feedback.
That may be it, Mark. We'll try it either tomarrow or Wednesday, we may be doing something with team Wavelength in Norton Shores.

Otherwise, code looks good? If it ain't, I'll never hear the end of it!
__________________
Mentoring:
1) Educating students on the ability to learn and have fun at the same time.
2) Giving back to those who made you who you are.

2009-2011 Student 2405 Electrical/Programming & Asst. Captain
2012-???? Mentor 2405 Programming/Jack-of-all-Trades
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 22:10.

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