Hello I am Lead Programmer for Amherst Robotic Team#2632 Comets Unleashed.
I need help for the autonomous mode for labVIEW
My plan is to make the program do this
move forward, stop, kick the ball] Repeat 3 times.
working form the outside in:
ForLoop1(with loop count set at three), Watchdog open, RobotDriveRegerstryGet(Left and Right Motors)
[inside ForLoop1] WhileLoop, ForLoop2(loop count st at 1) [inside WhileLoop] Watchdog Feed, Drive TankDrive(75%MaxSpeed), ElapsedTime(set to 3 Seconds)(connected to loop condition) [inside ForLoop2] Watchdog Feed, Drive TankDrive(0%Max Speed), All the Watchdog's are connected/All the Drive TankDrive's are connected with the Purple Line
So that is what I have. My question is now how do I connect the kick motor so it preforms the way I stated above. I have a program thats like this [MotorControlRegisteryGet(labled KickMotor), connected with a purple line to Motor SetSpeed(Constant at 1). Does that need to go there?
Also as a side Note I would like to connect a Watchdog Kill at the very End of everything, but It won’t let me. It says this after I connect the purple line from the secoon Watchdog Feed to the Watchdog Kill. It connects to the ForLoop2 making a tunnel, then the ForLoop1 making a tunnel. Then there is a broken wire between the ForLoop1 tunnel and the Watchdog Kill. I hovered the mouse over it and it said this:
[i]“Array element conflict
Thetype of source is 2-D array of typedef ‘WatchdogDevRef.ctl’
cluster of 1 element
The type of the sink is typedef ‘WatchdogDevRef.ctl’
clustter of 1 element”
If you could explain what that is and how I could connect it that would be great.
Thanks, any help appreciated.