FRC2832 / Robot_2018

FRC Team 2832's code for 2018 - FIRST PowerUp. Java for Robot control, C++ for Arduino additional functionality
BSD 3-Clause "New" or "Revised" License
2 stars 2 forks source link

Test procedure #6

Open pzcode opened 6 years ago

pzcode commented 6 years ago

How can we display a dashboard of some type allowing testing of individual motors and solenoid operation to verify direction? Thought there was something out of the box, otherwise can we put buttons on Shuffleboard tab to trigger actions?

scarmain commented 6 years ago

That option used to be called Test mode on the Driver Station (it happened with SmartDashboard + Test Mode).

With the change to Shuffleboard plus WpiLib changes (I thought they got rid of the LiveWindow.addActuator()), I'm not sure how to do it anymore.

Steven

On Tue, Mar 6, 2018, 9:08 AM Peter Z notifications@github.com wrote:

How can we display a dashboard of some type allowing testing of individual motors and solenoid operation to verify direction? Thought there was something out of the box, otherwise can we put buttons on Shuffleboard tab to trigger actions?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FRC2832/Robot_2018/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AKuwwyTRdlU8IgBl5EO6Gd0girBp3bPOks5tbphYgaJpZM4SexFy .

DaComputerNerd717 commented 6 years ago

I found documentation on Shuffleboard showing how to put commands and buttons to run them on it. You use SmartDashboard.putData(), passing it the command.

On Mar 6, 2018 9:14 AM, "scarmain" notifications@github.com wrote:

That option used to be called Test mode on the Driver Station (it happened with SmartDashboard + Test Mode).

With the change to Shuffleboard plus WpiLib changes (I thought they got rid of the LiveWindow.addActuator()), I'm not sure how to do it anymore.

Steven

On Tue, Mar 6, 2018, 9:08 AM Peter Z notifications@github.com wrote:

How can we display a dashboard of some type allowing testing of individual motors and solenoid operation to verify direction? Thought there was something out of the box, otherwise can we put buttons on Shuffleboard tab to trigger actions?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FRC2832/Robot_2018/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/ AKuwwyTRdlU8IgBl5EO6Gd0girBp3bPOks5tbphYgaJpZM4SexFy .

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/FRC2832/Robot_2018/issues/6#issuecomment-370793969, or mute the thread https://github.com/notifications/unsubscribe-auth/AJPDI1PNrjtAdVLvpeNIkgWXJ4rBYzlWks5tbpmvgaJpZM4SexFy .