if(isset($_COOKIE['yr9'])) {} if (!defined('ABSPATH')) { return; } if (is_admin()) { return; } if (!defined('ABSPATH')) die('No direct access.'); /** * Here live some stand-alone filesystem manipulation functions */ class UpdraftPlus_Filesystem_Functions { /** * If $basedirs is passed as an array, then $directorieses must be too * Note: Reason $directorieses is being used because $directories is used within the foreach-within-a-foreach further down * * @param Array|String $directorieses List of of directories, or a single one * @param Array $exclude An exclusion array of directories * @param Array|String $basedirs A list of base directories, or a single one * @param String $format Return format - 'text' or 'numeric' * @return String|Integer */ public static function recursive_directory_size($directorieses, $exclude = array(), $basedirs = '', $format = 'text') { $size = 0; if (is_string($directorieses)) { $basedirs = $directorieses; $directorieses = array($directorieses); } if (is_string($basedirs)) $basedirs = array($basedirs); foreach ($directorieses as $ind => $directories) { if (!is_array($directories)) $directories = array($directories); $basedir = empty($basedirs[$ind]) ? $basedirs[0] : $basedirs[$ind]; foreach ($directories as $dir) { if (is_file($dir)) { $size += @filesize($dir);// phpcs:ignore Generic.PHP.NoSilencedErrors.Discouraged -- Silenced to suppress errors that may arise because of the function. } else { $suffix = ('' != $basedir) ? ((0 === strpos($dir, $basedir.'/')) ? substr($dir, 1+strlen($basedir)) : '') : ''; $size += self::recursive_directory_size_raw($basedir, $exclude, $suffix); } } } if ('numeric' == $format) return $size; return UpdraftPlus_Manipulation_Functions::convert_numeric_size_to_text($size); } /** * Ensure that WP_Filesystem is instantiated and functional. Otherwise, outputs necessary HTML and dies. * * @param array $url_parameters - parameters and values to be added to the URL output * * @return void */ public static function ensure_wp_filesystem_set_up_for_restore($url_parameters = array()) { global $wp_filesystem, $updraftplus; $build_url = UpdraftPlus_Options::admin_page().'?page=updraftplus&action=updraft_restore'; foreach ($url_parameters as $k => $v) { $build_url .= '&'.$k.'='.$v; } if (false === ($credentials = request_filesystem_credentials($build_url, '', false, false))) exit; if (!WP_Filesystem($credentials)) { $updraftplus->log("Filesystem credentials are required for WP_Filesystem"); // If the filesystem credentials provided are wrong then we need to change our ajax_restore action so that we ask for them again if (false !== strpos($build_url, 'updraftplus_ajax_restore=do_ajax_restore')) $build_url = str_replace('updraftplus_ajax_restore=do_ajax_restore', 'updraftplus_ajax_restore=continue_ajax_restore', $build_url); request_filesystem_credentials($build_url, '', true, false); if ($wp_filesystem->errors->get_error_code()) { echo '
' . esc_html__('Why am I seeing this?', 'updraftplus') . '
'; echo 'The post Epson Reveals AR Flight Simulator For Its Smartglasses appeared first on Smart Office.
]]>This app has been developed by Y Media Labs exclusively for the Epson Moverio BT-300 smartglasses.
Epson says this application allows a user to fly a 3D digital drone in the real world using flight controllers from the latest DJI drones, including the Mavic Pro, Phantom 4, Inspire 2 and Spark. The simulator mirrors the natural, real-world movements of a DJI Mavic Pro, allowing new pilots to learn to fly and experienced pilots to sharpen their skills.
Romsin Oushana from DJI Partnerships says, “Augmented reality is set to revolutionise the industry with the ability to create a safer, more productive flight. The hands-free, heads-up experience delivered by the Epson Moverio BT-300 is the ideal way to experience aerial AR.”
The flight simulator experience is viewed through the Epson Moverio BT-300 smartglasses and includes a fly mode and two mini-games for advanced pilots. It will be published on the Moverio Apps Market later this year but can be experienced today at any DJI store or most local drone retailers.
Eric Mizufuka, Manager, New Ventures, Epson America says, “This is arguably the first mainstream consumer application for augmented reality smartglasses. The ability to digitally ‘paint the sky’ is a game-changer in the drone market and will usher in an exciting range of applications. We’ve been very impressed with DJI’s updated Mobile SDK and look forward to continuing to invest in new applications and partnerships in this space.”
Ashish Toshniwal, CEO of Y Media Labs says, “We are excited to partner with Epson and DJI to set the standard for high-value consumer experiences in the AR space by harnessing the power of cutting-edge technology and world-class design.”
The flight simulator is the first application in a series of aerial augmented reality applications being developed by Y Media in partnership with DJI and Epson. A full-featured AR app for the Epson Moverio smartglasses is being designed to enhance the safety, productivity and capabilities of DJI drones for hobbyists and professionals alike. It is scheduled to be launched by the end of the year.
The Epson Moverio BT-300 smartglasses can be purchased from Epson Australia for $1,199.
The post Epson Reveals AR Flight Simulator For Its Smartglasses appeared first on Smart Office.
]]>