|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Auto Code NOT Running (as expected)
As long as you have not modified Robot Main, the Autonomous Independent VI will be automatically terminated when the robot changes modes, regardless of whether it is currently "caught" in a loop or not.
|
|
#2
|
||||
|
||||
|
Re: Auto Code NOT Running (as expected)
Would passing Ultrasonic and Joystick data to the Dashboard inside Robot Main qualify as "modification"?
|
|
#3
|
|||
|
|||
|
Re: Auto Code NOT Running (as expected)
Nope, that should be fine.
|
|
#4
|
||||
|
||||
|
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? |
|
#5
|
|||
|
|||
|
Re: Auto Code NOT Running (as expected)
If you run the default dashboard, does the Kinect "green man" and Y-axis data show up?
|
|
#6
|
||||
|
||||
|
Re: Auto Code NOT Running (as expected)
Quote:
I think if the dashboard can finally get the proper data, then the robot auto code will work fine. |
|
#7
|
|||||
|
|||||
|
Re: Auto Code NOT Running (as expected)
Quote:
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. |
|
#8
|
||||
|
||||
|
Re: Auto Code NOT Running (as expected)
Quote:
Otherwise, code looks good? If it ain't, I'll never hear the end of it! |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|