/car

1:50 FPV RC Car

Primary LanguageC

1:50 FPV RC Car

BOM

Drivetrain

Steering

  • Servo - 1.7g low voltage
  • Bearings - 3/32 x 3/16 x 3/32 SFR133ZZ
  • Fasteners -
  • 3/32 ID spacer - Can probably 3D print this

Deplying the web page

The webpage to be used by the software needs to be compressed with gzip and then placed in an array. This takes a few steps to accomplish:

  1. Remove excess whitespace from index.html to minimise final size. Specifically tabs and newlines can be removed by using find and replace
  2. Compress the html with the command gzip -c index.html | xxd -p and copy the contents into a file
  3. Prepend 0x and append a comma to each byte by searching with the find regex (\S{2}) and replace with 0x$1,
  4. Replace the contents of const uint8_t index_ov2640_html_gz[] found in camera/camera_index.hpp
  5. Update index_ov2640_html_gz_len with the length of the array. TODO: This should really not be a thing