Error message

  • Deprecated function: Return type of DatabaseStatementBase::execute($args = [], $options = []) should either be compatible with PDOStatement::execute(?array $params = null): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2244 of /home2/crephoto/public_html/lcc1740.org/includes/database/database.inc).
  • Deprecated function: Return type of DatabaseStatementEmpty::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /home2/crephoto/public_html/lcc1740.org/includes/database/database.inc).
  • Deprecated function: Return type of DatabaseStatementEmpty::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /home2/crephoto/public_html/lcc1740.org/includes/database/database.inc).
  • Deprecated function: Return type of DatabaseStatementEmpty::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /home2/crephoto/public_html/lcc1740.org/includes/database/database.inc).
  • Deprecated function: Return type of DatabaseStatementEmpty::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /home2/crephoto/public_html/lcc1740.org/includes/database/database.inc).
  • Deprecated function: Return type of DatabaseStatementEmpty::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 2346 of /home2/crephoto/public_html/lcc1740.org/includes/database/database.inc).
  • Deprecated function: Return type of DatabaseCondition::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in require_once() (line 1652 of /home2/crephoto/public_html/lcc1740.org/includes/database/query.inc).
  • Deprecated function: strlen(): Passing null to parameter #1 ($string) of type string is deprecated in drupal_random_bytes() (line 2268 of /home2/crephoto/public_html/lcc1740.org/includes/bootstrap.inc).
  • Deprecated function: Return type of DateObject::__wakeup() should either be compatible with DateTime::__wakeup(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include_once() (line 143 of /home2/crephoto/public_html/lcc1740.org/sites/all/modules/date/date_api/date_api.module).
  • Deprecated function: Return type of DateObject::format($format, $force = false) should either be compatible with DateTime::format(string $format): string, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include_once() (line 143 of /home2/crephoto/public_html/lcc1740.org/sites/all/modules/date/date_api/date_api.module).
  • Deprecated function: Return type of DateObject::setTimezone($tz, $force = false) should either be compatible with DateTime::setTimezone(DateTimeZone $timezone): DateTime, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in include_once() (line 143 of /home2/crephoto/public_html/lcc1740.org/sites/all/modules/date/date_api/date_api.module).
  • Deprecated function: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in url() (line 2349 of /home2/crephoto/public_html/lcc1740.org/includes/common.inc).
  • Deprecated function: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in url_is_external() (line 2393 of /home2/crephoto/public_html/lcc1740.org/includes/common.inc).
  • Deprecated function: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in url_is_external() (line 2395 of /home2/crephoto/public_html/lcc1740.org/includes/common.inc).
  • Deprecated function: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in url() (line 2311 of /home2/crephoto/public_html/lcc1740.org/includes/common.inc).

Web Site Maintenace

Happy Summer, Everyone! I have been performing some maintenance to the web site this summer which includes the following:
  • Migrated to a better & less expensive hosting service (from Godaddy -> Hostgator)
  • Changed the primary domain name to lcc1740.org (lcc1740.net redirects here)
  • Upgraded Drupal from 7.23 to 7.28
  • Performed a few security updates to .htaccess files
  • Revised the Legacy page to include embedded links to the individual competition year nodes

I2C

I found a great reference for the I2C specification which can be used to communicate between the cRio/Digital Sidecar and a coprocessor such as an Arduino. Not sure when it would be better to use I2C versus, say, ethernet and the WPILib NetworkTables.

February 6, 2014

Notes from the Activity Period yesterday, specifically about the website; updates on the build season

Cypress FirstTouch PSoC

This little microcontroller can be used to make a custom driver station control module containing buttons, potentiometers, switches, etc. It needs to be programmed with the FRC software which should be installed with the NI utilities/driver station update. You will need to find the .hex file which is in c:\Users\Public\Public Documents\FRC\FRC_IO.2012.v3.hex The pinouts for the board can be downloaded from the US First site.

Things To Do

Hey Guys here i will be trying to maintain a list of things to do as well as any important info about how to achieve them:

  1. Sendable chooser for changing autonomous modes
  2. Two different control modes (for joysticks and controller)
  3. Shaft Encoders, no idea how these work but should probably get started on them
  4. Reorganize code structure
  5. Vision!

Pages

Subscribe to Ledyard Cyber Colonels RSS