Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
UVC.cpp
00001 #include "UVC.hpp" 00002 00003 void UVC::Init() { 00004 InitUVC(); 00005 } 00006 00007 void UVC::InitUVC() { 00008 uvc_p = _Off; 00009 uvc_n = _Off; 00010 } 00011 00012 00013 void UVC::control() { 00014 ControlUVC(); 00015 } 00016 00017 void UVC::ControlUVC() { 00018 if(msg->data) 00019 { 00020 uvc_p = _On; 00021 uvc_n = _On; 00022 00023 } 00024 else 00025 { 00026 uvc_p = _Off; 00027 uvc_n = _Off; 00028 } 00029 } 00030 00031 00032 00033 void UVC::setMsg(std_msgs::Bool* msg) { 00034 this -> msg = msg; 00035 } 00036 00037 // MODULE.cpp
Generated on Tue Jul 12 2022 18:31:25 by
1.7.2