2020:Controls

From 1511Wookiee
Revision as of 17:06, 21 January 2020 by ElectricalControls (talk | contribs)
Jump to navigationJump to search

Overall Concept 

Inspiration:

   2020Controls_Insperation.png

 

Bling (still in progress):

   Controls Plan A 2020.jpg   

2 Xbox Controllers. For Aux, the 2 sticks will be changed to knobs

To do

  • Design Due 1/18

Not Started

  • Look for handle.
  • Pick or buy USB HUB
  • Aux Joystick
    • Solder in the new pots, make sure to get a consistent orientation
    • Secure the pots to the joystick board.
    • Design knobs.
    • Decide on black vs. white controller, swap guts as required
  • Left Panel
    • Holes for four button lights (need to determine diameter)
    • Create viewfinder (need to determine diameter and spacing)
    • Add holes to attach viewfinder (need a 'thick' 3D)
    • Add cutouts for sliders (wide needs to match the handle)
    • Add any lettering/cutouts on top edge
    • Add TBD cutout for wiring.
    • Finalize lever, generate 3D print files
    • Do drawings for model shop - REMEMBER TO ADD NOTES FOR PEMS
  • Right Panel
    • Add any lettering/cutouts on top edge
    • Add TBD cutout for wiring.
    • Do drawings for model shop - REMEMBER TO ADD NOTES FOR PEMS
  • Base
    • Add holes for pem screws: side panels and laptop base (suggest offseting lower hole on 'button' face because they will bend that in to weld)
    • Add any lettering/decorations
    • Do drawings for model shop
  • Laptop Stand
    • Make sure XBox controllers will fit, ditto for the rest of the stuff (laptop brick) (last year's opening was 4" tall; bottom lip was 0.436" from very bottom)
    • Figure out the doors (side doors, sliding doors)
    • Add any lettering/decorations
    • Do drawings for model shop - REMEMBER TO ADD NOTES FOR PEMS

In Process

  • CAD of base.
  • CAD of laptop stand.

Completed

  • Come up with concept for bling. Need to make sure that we incorporate the broken switches.
  • Need to get pots that fit in the XBox controllers (on order).
  • CAD of left and right front panel pieces (inside needs to be 1.5", which will give a 1.75" total thickness (1.5" of inside space plus 2 thickness of metal)
  • Copy the left panel panel to create a right panel.
  • Order pushbuttons and broken switches.
  • Left Panel
    • Holes for four buttons
  • Right Panel
    • Holes for switches
    • Holes for switch LEDs
  • Base
    • Verify overall width with laptop to make sure it doesn't interfere with Ethernet, USB, etc.
    • Round edges on base?
  • Laptop Stand

Controls Assignments

Aux

Plan is to use an Xbox controller, but replace the 2 sticks with knobs

PSoC Install (for lights)

PSoC Creator IDE

Download latest "PSoC Creator" from Cypress (http://www.cypress.com/products/psoc-creator-integrated-design-environment-ide) and install it (use Typical install; at end run Updater and maek sure you have the latest stuff)

For user name and password, you can use: mailme@mailinator.com mailme123

Toolkits and Board Driver Install

Get controls2019 from SVN

Run: vcredist_x86.exe

Run: USBSerialSDKSetup.exe (do Typical install; at end run Updater and maek sure you have the latest stuff)

Run: CY8CKIT04942xxSetupOnlyPackage_revSA.exe (do Typical install; at end run Updater and make sure you have the latest stuff)

While you press and hold the SW1 Prog button on the cypress board, plug in the USB cable to the PC (it will take a while for it to install 5 drivers).

Build/Program

Open PSoC Creator (Start -> Programs -> Cypress -> PSoC Creator -> PSoC Creator)

Open project: File -> Open -> Project/Workspace; then browse to Desktop/FRC2019/trunk/controls2019/SCB_Bootloader/SCB_Bootloader.cywrk)

Build project: Build -> Build All Projects

While you press and hold the SW1 Prog button on the cypress board, plug in the USB cable to the PC

Download Boot Loader:

  • open programmer: Tools -> Bootloader Host
  • set 'File' to C:\Users\Robotics\Desktop\FRC2019\trunk\controls2019\SCB_Bootloader\Bootloadable Blinking LED.cydsn\CortexM0\ARM_GCC_541\Debug\Bootloadable Blinking LED.cyacd
  • select the com port for the cypress board
  • set Baud to 115200; Data Bits 8; Stop Bits 1; Parity None
  • download program: Actions -> Program

Meeting Minutes

1/7

Attendees: Adrian, Jadon, Tanner, Mike, Tristan, Cameron

Work Completed: Brainstormed ideas, came up with favorite design idea and other liked ideas. Complete list of ideas can be viewed at  https://docs.google.com/document/d/164eOT3BLDjwwCmvAE6dEmtPM_Dm1WIZeNxB6HL6WMk4/edit?usp=sharing

1/8

Attendees: Adrian, Jadon, Tanner, Dan, Cameron, Tristan

Work Completed: Came up with two improved designs of "Spider-Box" (Plan A and B) that take everyone's suggestions into consideration, started scaled drawing of Plan B (our favorite)

1/9

Attendees: Eric, Byers, MIke, Adrian

Work Completed: Added further detail for the concepts that have been in process and came up with a method to make it. See the Slack channel for a picture.

1/11

Attendees: Eric, Byers, Adrian, Jadon, Tanner, Dan, Cameron,

Work Completed: Went over concepts and got everyone up to speed. Decided on final concept for controls. Started CAD. Figured out that we can put knobs on the Xbox controller. Dissassembled 2018 controls and cleaned up the controls shelf.

1/12

Attendees: Byers, Cameron, Tanner

Work Completed: Worked on bling layout (see overview above). Determined potentiometer for Xbox and ordered. For bing throttle, will use 2 potentiometer slider (they are ordered). Ordered 2 Xbox controllers.

1/14

Attendees: Jadon, Adrian, Tanner, Tristan, Dan, Cameron

Work Completed: Placed space holes on the controls base for the hinges, fixed computer mount design (made as a 3D model before instead of sheet metal), made new assembly with new base and computer mount, started a rough CAD design on a bling panel

1/15

Attendees: Jadon, Cameron, Byers

Work Completed: Xbox controllers and sllider pots came in. Verified Xbox controllers work. Determine depth of side panels needs to be 1.5" (between surfaces). Re-did drawings to be based on Harris template. Cleaned up bling list because some were too big to fit. Added link for broken switches. Fixed CAD designs and changed them from normal sheet metal to harris sheet metal. Updated the bling drawing with a *NEW FEATURE* and found buttons for the bling panel.

1/16

Attendees: Eric

Work Completed: Worked on bling panel.

1/18

Attendees: Cameron, Daniel, Byers, Eric, Tanner,  Jadon

Work Completed: Updated the layout. Added details to the bling and Aux panels. Made lever and handle designs. Came to the decision of having one to one led lights on the sides of the panels with smaller LED lenses.

1/19

Attendees: Dan, Byers

Work Completed: properly named files. copied left panel to right & added to assembly. added button holes to left. added button & leds holes to right. round base and sharp corners. narrowed base 2". adjusted laptop base and bent flanges inward. beefed up assembly. added more detail to laptop for connections. corrected power supply & added to assembly. added holes to laptop support.

1/21

Attendees: 

Work Completed: 

1/22

Attendees: 

Work Completed: 

1/23

Attendees: 

Work Completed: 

1/25

Attendees: 

Work Completed: 

1/26

Attendees: 

Work Completed: 

1/28

Attendees: 

Work Completed: 

1/29

Attendees: 

Work Completed: 

1/30

Attendees: 

Work Completed: 

2/1

Attendees: 

Work Completed: 

2/2

Attendees: 

Work Completed: 

2/4

Attendees: 

Work Completed: 

2/5

Attendees: 

Work Completed: 

2/6

Attendees: 

Work Completed: 

2/8

Attendees: 

Work Completed: 

2/9

Attendees: 

Work Completed: 

2/11

Attendees: 

Work Completed: 

2/12

Attendees: 

Work Completed: 

2/13

Attendees: 

Work Completed: 

2/15

Attendees: 

Work Completed: 

2/16

Attendees: 

Work Completed: 

Controls Rules

9.10 OPERATOR CONSOLE

R88. The DRIVER Station software provided by National Instruments (install instructions found here) is the only application permitted to specify and communicate the operating mode (i.e. Autonomous/Teleoperated) and operating state (Enable/Disable) to the ROBOT. The DRIVER Station software must be revision 20.0 or newer.

Teams are permitted to use a portable computing device of their choice (laptop computer, tablet, etc.) to host the DRIVER Station software while participating in competition MATCHES.

R89. The OPERATOR CONSOLE, the set of COMPONENTS and MECHANISMS used by the DRIVERS and/or HUMAN PLAYER to relay commands to the ROBOT, must include a graphic display to present the DRIVER Station diagnostic information. It must be positioned within the OPERATOR CONSOLE so that the screen display can be clearly seen during Inspection and in a MATCH.

R90. Devices hosting the DRIVER Station software must only interface with the Field Management System (FMS) via the Ethernet cable provided at the PLAYER STATION (e.g. not through a switch). Teams may connect the FMS Ethernet cable to their DRIVER Station device directly via an Ethernet pigtail, or with a single-port Ethernet converter (e.g. docking station, USB-Ethernet converter, 9 ROBOT Construction Rules V0 96 of 129 FIRST ® Robotics Competition Thunderbolt-Ethernet converter, etc.). The Ethernet port on the OPERATOR CONSOLE must be easily and quickly accessible.

Teams are strongly encouraged to use pigtails on the Ethernet port used to connect to the FMS. Such pigtails will reduce wear and tear on the device’s port and, with proper strain relief employed, will protect the port from accidental damage.

R91. The OPERATOR CONSOLE must not

A. be longer than 60 in. (~152 cm)

B. be deeper than 14 in. (~35 cm) (excluding any items that are held or worn by the DRIVERS during the MATCH)

C. extend more than 6 ft. 6 in. (~198 cm) above the floor

D. attach to the FIELD (except as permitted by G26)

There is a 54 in. (~137 cm) long by 2 in. (nominal) wide strip of hook-and-loop tape (“loop” side) along the center of the PLAYER STATION support shelf that should be used to secure the OPERATOR CONSOLE to the shelf, per G26. See PLAYER STATION for details.

Please note that while there is no hard weight limit, OPERATOR CONSOLES that weigh more than 30 lbs. (~13 kg.) will invite extra scrutiny as they are likely to present unsafe circumstances.

R92. Other than the system provided by the FIELD, no other form of wireless communications shall be used to communicate to, from, or within the OPERATOR CONSOLE.

Examples of prohibited wireless systems include, but are not limited to, active wireless network cards and Bluetooth devices. For the case of the FIRST Robotics Competition, a motion sensing input device (e.g. Microsoft Kinect) is not considered wireless communication and is allowed.

R93. OPERATOR CONSOLES shall not be made using hazardous materials, be unsafe, cause an unsafe condition, or interfere with other DRIVE TEAMS or the operation of other ROBOTS.

Archives