file
vision.hppContains prototypes for the VEX Vision Sensor-related functions in C++.
Contents
- Reference
This file should not be modified by users, since it gets replaced whenever a kernel upgrade occurs.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http:/
Namespaces
Classes
- class pros::v5::Vision
Functions
-
const pros::
Vision operator""_vis(const unsigned long long int m) - Constructs a Vision sensor from a litteral ending in _vis.
Function documentation
const pros:: Vision operator""_vis(const unsigned long long int m)
Constructs a Vision sensor from a litteral ending in _vis.
Returns | a pros:: |
---|
Example
using namespace pros::literals; void opcontrol() { pros::Vision vision = 2_vis; //Makes an Vision sensor object on port 2 }