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: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in UserController->attachLoad() (line 307 of /home2/crephoto/public_html/lcc1740.org/modules/user/user.module).
  • 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).

cestabrooks's blog

FRC 2017 Recap

Great year for the team, our best finish ever at WPI district taking second on the alliance with teams 1519 and 190. Here are my programming notes for the year.

Sensors & Autonomous

Sensor feedback is not optional. All systems MUST have appropriate sensors in order to properly code autonomous mode. This includes encoders or counters for all motors, rangefinders for distance sensing, gyros for steering, and limit switches where appropriate. The new IMU worked great for steering in auto mode this year, but really requires drive motors to be coded with PID motor control.

FRC 2016

This is our second year with the RoboRio control system and Eclipse IDE. Problems we've had this year:

  1. Could not "see" the radio. This was because it was last used and programmed for competition. Need to reset and reprogram it for practice.
  2. Could not deploy code to RoboRio. Hard reset required, then update firmware through USB interface & fixed IP address.
  3. Eclipse occasionally gives build errors. Refresh files/Rebuild index/etc.

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.

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.

Pages

Subscribe to RSS - cestabrooks's blog