WALL-E Version 1.0
The "WALL-E" Project is a ME 507 quarter term project inspired to recreate the robot WALL-E. The WALL-E robot is a fully 3D printed robot with modified components in order to fit the needs of the chosen peripherals and electronics. WALL-E contains a custom made PCB which is housed in the main body of WALL-E. WALL-E's peripherals and components include 2 pololu Romi Motors with encoders, 4 MG90s servos, BNO055 IMU, and a OV2640 ArduCam camera. The objective of WALL-E is to scan the surrounding area for the closest object to it. Once that object is detected, WALL-E drives up to the object, attempts to pick up or hold the object and detect the color of the object.
Loading...
Searching...
No Matches
camera.h File Reference

: File containing the initialization class to the OV2640 (Camera) More...

#include "stm32f4xx_hal.h"
#include <cstring>
#include <cstdio>

Go to the source code of this file.

Classes

class  OV2640Camera
 WALL-E Camera class used for object and color detection. More...

Macros

#define BLUE_THRESHOLD   200
#define STEP   4
#define ROW_WIDTH   160
#define SAMPLE_WIDTH   (ROW_WIDTH / 2)

Enumerations

enum  DominantColor { COLOR_UNKNOWN , COLOR_RED , COLOR_GREEN , COLOR_BLUE }
 Enumeration for Color Detection. More...

Detailed Description

: File containing the initialization class to the OV2640 (Camera)

Author
: Arath Villanueva (abvil.nosp@m.lan@.nosp@m.calpo.nosp@m.ly.e.nosp@m.du) Devon Bolt (dwbol.nosp@m.t@ca.nosp@m.lpoly.nosp@m..edu)
Attention

Copyright (c) 2025 STMicroelectronics. All rights reserved.

This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.

Macro Definition Documentation

◆ BLUE_THRESHOLD

#define BLUE_THRESHOLD   200

◆ ROW_WIDTH

#define ROW_WIDTH   160

◆ SAMPLE_WIDTH

#define SAMPLE_WIDTH   (ROW_WIDTH / 2)

◆ STEP

#define STEP   4

Enumeration Type Documentation

◆ DominantColor

Enumeration for Color Detection.

Enumerator
COLOR_UNKNOWN 

COLOR_UNKOWN color is usually dark or too bright unspecified by thresholds

COLOR_RED 

COLOR_RED pixels are dominantly RED heavy

COLOR_GREEN 

COLOR_GREEN pixels are dominantly GREEN heavy

COLOR_BLUE 

COLOR_BLUE pixels are dominantly BLUE heavy