pub enum VisionMode {
ColorDetection,
LineDetection,
MixedDetection,
Wifi,
Test,
}
Expand description
A possible “detection mode” for the vision sensor.
Variants§
ColorDetection
Uses color signatures and codes to identify objects in blocks.
LineDetection
Uses line tracking to identify lines.
MixedDetection
Both color signatures and lines will be detected as objects.
Wifi
Sets the sensor into “Wi-Fi mode”, which disables all forms of object detection and enables the sensor’s onboard Wi-Fi hotspot for streaming camera data over a web server.
Once enabled, the sensor will create a wireless network with an SSID
in the format of VISION_XXXX. The sensor’s camera feed is available
at 192.168.1.1
.
This mode will be automatically disabled when connected to field control.
Test
Unknown use.
Trait Implementations§
Source§impl Clone for VisionMode
impl Clone for VisionMode
Source§fn clone(&self) -> VisionMode
fn clone(&self) -> VisionMode
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VisionMode
impl Debug for VisionMode
Source§impl Default for VisionMode
impl Default for VisionMode
Source§fn default() -> VisionMode
fn default() -> VisionMode
Returns the “default value” for a type. Read more
Source§impl From<V5VisionMode> for VisionMode
impl From<V5VisionMode> for VisionMode
Source§fn from(value: V5VisionMode) -> Self
fn from(value: V5VisionMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for VisionMode
impl PartialEq for VisionMode
impl Copy for VisionMode
impl Eq for VisionMode
impl StructuralPartialEq for VisionMode
Auto Trait Implementations§
impl Freeze for VisionMode
impl RefUnwindSafe for VisionMode
impl Send for VisionMode
impl Sync for VisionMode
impl Unpin for VisionMode
impl UnwindSafe for VisionMode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more