Docstoc

Unlocking the SAMANTHA Module

Document Sample
Unlocking the SAMANTHA Module Powered By Docstoc
					Unlocking the SAMANTHA Module

          John Peabody
         MA Affiliate Partner

          Senior Mentor Call

            12 October 2011




                                FTC MASS
                    What You Will Learn

• How to configure the SAMANTHA for your network

• How to use the SAMANTHA Field Control System
     – Prepare your NXT
     – Configure the FCS and connect your robot
     – Timer Display

• How to use the SAMANTHA debug tools
     – SamoStat
     – Generate a debug file for each match

•   Things to watch out for




                                                   FTC MASS
                 Motivation For SAMANTHA

• Bluetooth has it’s downsides
    – Short range
    – Many driver (software) variations
    – Un-reliable throughout FTC
      tournaments
        •   Robot-to-robot interference


• Provides various connection methods
    –   Ad-Hoc
    –   Infrastructure

• Add capabilities to FCS
    – Match pre-loading
    – Centralized FCS

                                           FTC MASS
                    What You Will Learn

• How to configure the SAMANTHA for your network

• How to use the SAMANTHA Field Control System
     – Prepare your NXT
     – Configure the FCS and connect your robot
     – Timer Display

• How to use the SAMANTHA debug tools
     – SamoStat
     – Generate a debug file for each match

•   Things to watch out for




                                                   FTC MASS
    SAMANTHA Configuration – WiFi Network
•   Requires a USB flash drive
     –   USB 2.0
     –   4 GB maximum
•   Samantha Competition Network Config
     –   SamoCfg.exe /Primary
     –   Configures “FTC_FIELD”
     –   FTCNTKY folder on flash drive
•   Samantha Network Config
     –   SamoCfg.exe
     –   Configures “FTC_PIT”
     –   SMRTNTKY
•   Need to know your network information
     –   SSID (Network Name)
     –   Encryption settings
         – WPA2, AES Encryption
     –   Password
                                            FTC MASS
      SAMANTHA Configuration – Firmware

• SAMANTHA Firmware = Samantha.hex
     –   Version used should come from FCS used
     –   Flashed during inspections at tournaments
     –   Copy to USB drive with Wi-Fi network configuration files
•   Using the latest will give you some goodies!!!!




                                                                FTC MASS
         SAMANTHA Configuration – Layout

• Infrastructure – recommended configuration
     –   PC/Laptop hardwired to router
         •   LAN port, not WAN port!
         •   Linksys E3000 router recommended for tournaments
         •   Linksys E1000 router recommended for teams
     –   Robot wireless to router
•   AD-HOC
     –   PC/Laptop wireless to robot
     –   There are some wireless cards this will not work with!
         •   FIRST has a list




                                                                  FTC MASS
                    What You Will Learn

• How to configure the SAMANTHA for your network

• How to use the SAMANTHA Field Control System
     – Prepare your NXT
     – Configure the FCS and connect your robot
     – Timer Display

• How to use the SAMANTHA debug tools
     – SamoStat
     – Generate a debug file for each match

•   Things to watch out for




                                                   FTC MASS
          SAMANTHA FCS – Prepare your NXT

• Name Your Brick
   –   Use your FTC Team number
   –   If you use multiple bricks use FTC Team number followed by a letter
       (ex. 0010, 0010A, 0010B)
• Tele-op Program Selection
   –   This creates a configuration file on your NXT that tells the FCS what
       program to start at the beginning of the Tele-op period




                                                                    FTC MASS
  SAMANTHA FCS – Prepare FCS Computer

• Connect USB Logitech controllers
• Connect PC/Laptop to router (if in infrastructure configuration)
• Connect external monitor if timer display is required




                                                         FTC MASS
       SAMANTHA FCS – Initialize Joysticks

• Connect USB Logitech controllers to corresponding team and
    position
•   “Rescan” will search for new Logitech controllers
•   “Reset All” will clear all assigned Logitech controllers




                                                               FTC MASS
       SAMANTHA FCS – Team Selection

• “Choose” button shows list of available robots




                                                   FTC MASS
       SAMANTHA FCS – Team Selection

• “Choose” button shows list of available robots




                                                   FTC MASS
       SAMANTHA FCS – Team Selection

• “Choose” button shows list of available robots




                                                   FTC MASS
SAMANTHA FCS – Timer Display




                               FTC MASS
                    What You Will Learn

• How to configure the SAMANTHA for your network

• How to use the SAMANTHA Field Control System
     – Prepare your NXT
     – Configure the FCS and connect your robot
     – Timer Display

• How to use the SAMANTHA debug tools
     – SamoStat
     – Generate a debug file for each match

•   Things to watch out for




                                                   FTC MASS
                     SAMANTHA Status

•   Samostat
     – Located within the FCS programs folder
     – Compile and download version for your
       development language (RobotC or Labview)
•   Provides useful network status
     –   IP address
     –   Back-off increments
     –   Back-off decrements
     –   Resets
     –   Wait time
     –   Networks
           Connected, available, and type
                                            FTC MASS
               SAMANTHA Debug Log

•   SamoDbgLg.exe – No longer needed
     – Located within the FCS programs folder
     – Allows you to specify a file location
     – You must run and specify a new file every match!
•   Stores all the communication between the FCS and
    SAMANTHA
•   Strange issues in Wifi module should be reported to
    SAMANTHA bug tracker




                                                FTC MASS
          SAMANTHA at Tournaments


• Central FCS
   – Connect to one of two networks
        FTC_PITS or FTC_FIELD
   – Must use central FCS Logitech controllers
        Know your buttons and controls because you can not have labels




                                                             FTC MASS
                  What You Will Learn

• How to configure the SAMANTHA for your network

• How to use the SAMANTHA Field Control System
    – Prepare your NXT
    – Configure the FCS and connect your robot
    – Timer Display

• How to use the SAMANTHA debug tools
    – SamoStat
    – Generate a debug file for each match

• Things to watch out for



                                                   FTC MASS
                Things to Watch Out For

• Central FCS
    – Connect to one of two networks
          FTC_PITS or FTC_FIELD
    – Must use central FCS Logitech controllers
          Know your buttons and controls because you can not have labels!


• Loose USB cable will cause intermittent network connections
   – If SAMANTHA can’t see NXT, WiFi is disconnected

• Good to have a utility to search for Wifi networks (laptop, phone,
  iTouch), BUT NOT AT TOURNAMENTS!




                                                           FTC MASS
                Things to Watch Out For

• Make sure button on SAMANTHA is easily accessible to press
    –   Needed for tournament inspection process


• Various power wiring schemes for SAMANTHA modules
    –   Not sure what is recommended for this season


• School Wi-Fi and PCs may have security issues
    –   May not be able to change router settings
    –   May not be able to retrieve router security settings




                                                               FTC MASS
                Questions


Samantha V1.0               Samantha V2.0




                                       FTC MASS

				
DOCUMENT INFO
Shared By:
Stats:
views:69
posted:5/1/2012
language:English
pages:23
Description: Unlocking the SAMANTHA Module. FTC MASS What You Will Learn • How to configure the SAMANTHA for your network • How to use the SAMANTHA Field .