-
我们现在使用MDC300去开发环视算法,使用OpenGL ES渲染1.MDC610是有使用GPU加速OpenGL ES?2.MDC300没有GPU,是不是就只能使用host芯片自带CPU跑?,我理解mini芯片的NPU是加速AI相关的,应该无法用来搞这方面的那岂不是说使用MDC300开发OpenGL渲染相关的会很吃力,毕竟MDC610也使用GPU加速渲染?请帮忙再回答一下,万分感谢!!!
-
#include <stdio.h>#include <string.h>#include <unistd.h>#include "ohos_init.h"#include "cmsis_os2.h"#include "wifiiot_gpio.h"#include "wifiiot_gpio_ex.h"uint32_t real ;osThreadId_t threadID ;void my_timer(void* arg){ (void)arg; printf("Timer runs\r\n"); GpioInit(); IoSetFunc(WIFI_IOT_IO_NAME_GPIO_2, WIFI_IOT_IO_FUNC_GPIO_2_GPIO); GpioSetDir(WIFI_IOT_IO_NAME_GPIO_2, WIFI_IOT_GPIO_DIR_OUT); GpioSetOutputVal(WIFI_IOT_IO_NAME_GPIO_2,1); usleep(10000000); GpioSetOutputVal(WIFI_IOT_IO_NAME_GPIO_2,0);}//创建任务static void my_thread(void){ osTimerId_t id1;//创建定时器的ID uint32_t timerDelay;//创建定时器的锁定时间的变量 osStatus_t status;//创建一个枚举变量,用来存储运行状况 real = 1U; id1 = osTimerNew(my_timer,osTimerPeriodic,&real,NULL); if (id1 != NULL) { timerDelay = 200U;//设延时时间为2秒 status = osTimerStart(id1,timerDelay);//用status记录osTimerStart运行结果 if (status != osOK) { printf("Timer Start failed"); } }}APP_FEATURE_INIT(my_thread);运行结果如下ready to OS startsdk ver:Hi3861V100R001C00SPC025 2020-09-03 18:10:00formatting spiffs...FileSystem mount ok.wifi init success!00 00:00:00 0 196 D 0/HIVIEW: hilog init success.00 00:00:00 0 196 D 0/HIVIEW: log limit init success.00 00:00:00 0 196 I 1/SAMGR: Bootstrap core services(count:3).00 00:00:00 0 196 I 1/SAMGR: Init service:0x4aeaec TaskPool:0xfa22400 00:00:00 0 196 I 1/SAMGR: Init service:0x4aeb10 TaskPool:0xfa89400 00:00:00 0 196 I 1/SAMGR: Init service:0x4aec20 TaskPool:0xfaa5400 00:00:00 0 228 I 1/SAMGR: Init service 0x4aeb10 <time: 0ms> success!00 00:00:00 0 128 I 1/SAMGR: Init service 0x4aeaec <time: 0ms> success!00 00:00:00 0 72 D 0/HIVIEW: hiview init success.00 00:00:00 0 72 I 1/SAMGR: Init service 0x4aec20 <time: 0ms> success!00 00:00:00 0 72 I 1/SAMGR: Initialized all core system services!00 00:00:00 0 128 I 1/SAMGR: Bootstrap system and application services(count:0).00 00:00:00 0 128 I 1/SAMGR: Initialized all system and application services!00 00:00:00 0 128 I 1/SAMGR: Bootstrap dynamic registered services(count:0).Timer runs**********watchdog isr********************syserr info start**********kernel_ver : Hi3861V100 R001C00SPC025,2020-09-03 18:10:00**********Exception Information**********PC Task Name : IdleCorePC Task ID = 1Cur Task ID = 1Task Stack Size = 0x400Exception Type = 0x80000021**********reg info**********mepc = 0xd99ecmstatus = 0x1880mtval = 0x0mcause = 0x80000021ccause = 0x0ra = 0xd99c8sp = 0xeab70gp = 0x11a9c0tp = 0xe4d80591t0 = 0x4231c4t1 = 0x3fa9a0t2 = 0x28282828s0 = 0xe8460s1 = 0x14141414a0 = 0x0a1 = 0x0a2 = 0x0a3 = 0x0a4 = 0x23232323a5 = 0x0a6 = 0x21212121a7 = 0x20202020s2 = 0x13131313s3 = 0x12121212s4 = 0x11111111s5 = 0x10101010s6 = 0x9090909s7 = 0x8080808s8 = 0x7070707s9 = 0x6060606s10 = 0x5050505s11 = 0x4040404t3 = 0x19191919t4 = 0x18181818t5 = 0x17171717t6 = 0x16161616**********memory info**********Pool Addr = 0xe8300Pool Size = 0x302c0Fail Count = 0x0Peek Size = 0x13fe0Used Size = 0x101c0**********task info**********Name : IdleCoreID = 1Status = 0x14Stack Index = 0x8Stack Peak = 0x124Stack Size = 0x400SP = 0x119880Stack : 0xea840 to 0xeac40Real SP = 0xeab70Stack Overflow = 0**********track_info**********current_item:0x4item_cnt:10Index TrackType TrackID CurTime Data1 Data20001 0065 0006 0x389 0xd99ec 0x3f5e780002 0065 0001 0x389 0x3f5e78 0xd99ec0003 0016 0007 0x389 0xd99ec 0x00004 0016 0007 0x38a 0xd99ec 0x00005 0016 0007 0x383 0xd99ec 0x00006 0016 0007 0x384 0xd99ec 0x00007 0016 0007 0x385 0xd99ec 0x00008 0016 0007 0x386 0xd99ec 0x00009 0016 0007 0x387 0xd99ec 0x00010 0016 0007 0x388 0xd99ec 0x0**********Call Stack**********Call Stack 0 -- 3f6cf8 addr:eac1cCall Stack 1 -- 3f78c0 addr:eac2cCall Stack 2 -- 3f5e24 addr:eac3c**********Call Stack end**********ready to OS startsdk ver:Hi3861V100R001C00SPC025 2020-09-03 18:10:00FileSystem mount ok.wifi init success!00 00:00:00 0 196 D 0/HIVIEW: hilog init success.00 00:00:00 0 196 D 0/HIVIEW: log limit init success.00 00:00:00 0 196 I 1/SAMGR: Bootstrap core services(count:3).00 00:00:00 0 196 I 1/SAMGR: Init service:0x4aeaec TaskPool:0xfa22400 00:00:00 0 196 I 1/SAMGR: Init service:0x4aeb10 TaskPool:0xfa89400 00:00:00 0 196 I 1/SAMGR: Init service:0x4aec20 TaskPool:0xfaa5400 00:00:00 0 228 I 1/SAMGR: Init service 0x4aeb10 <time: 0ms> success!00 00:00:00 0 128 I 1/SAMGR: Init service 0x4aeaec <time: 0ms> success!00 00:00:00 0 72 D 0/HIVIEW: hiview init success.00 00:00:00 0 72 I 1/SAMGR: Init service 0x4aec20 <time: 0ms> success!00 00:00:00 0 72 I 1/SAMGR: Initialized all core system services!00 00:00:00 0 128 I 1/SAMGR: Bootstrap system and application services(count:0).00 00:00:00 0 128 I 1/SAMGR: Initialized all system and application services!00 00:00:00 0 128 I 1/SAMGR: Bootstrap dynamic registered services(count:0).然后就是这部分内容一直重复我想知道是哪里的问题
-
您好!我目前需要在MDC300中部署我们的360环视算法,直接在MDC里运行OpenGL的一个小demo,无法调用Opengl的窗口在上位机Ubuntu系统显示,也无法直接在MDC端可视化。请问是因为可视化一定需要通过ROS转发,然后通过MDC的Mviz工具进行显示吗?Mviz如何和OpenGL配合实现交互式的可视化?有没有其他的可视化办法?我看MDC里没有OpenGL相关示例,请问有在MDC开发360环视算法或者OpenGL的示例或者其他资料吗?
上滑加载中
推荐直播
-
Skill 构建 × 智能创作:基于华为云码道的 AI 内容生产提效方案2026/03/25 周三 19:00-20:00
余伟,华为云软件研发工程师/万邵业(万少),华为云HCDE开发者专家
本次直播带来两大实战:华为云码道 Skill-Creator 手把手搭建专属知识库 Skill;如何用码道提效 OpenClaw 小说文本,打造从大纲到成稿的 AI 原创小说全链路。技术干货 + OPC创作思路,一次讲透!
回顾中 -
码道新技能,AI 新生产力——从自动视频生成到开源项目解析2026/04/08 周三 19:00-21:00
童得力-华为云开发者生态运营总监/何文强-无人机企业AI提效负责人
本次华为云码道 Skill 实战活动,聚焦两大 AI 开发场景:通过实战教学,带你打造 AI 编程自动生成视频 Skill,并实现对 GitHub 热门开源项目的智能知识抽取,手把手掌握 Skill 开发全流程,用 AI 提升研发效率与内容生产力。
回顾中 -
华为云码道:零代码股票智能决策平台全功能实战2026/04/18 周六 10:00-12:00
秦拳德-中软国际教育卓越研究院研究员、华为云金牌讲师、云原生技术专家
利用Tushare接口获取实时行情数据,采用Transformer算法进行时序预测与涨跌分析,并集成DeepSeek API提供智能解读。同时,项目深度结合华为云CodeArts(码道)的代码智能体能力,实现代码一键推送至云端代码仓库,建立起高效、可协作的团队开发新范式。开发者可快速上手,从零打造功能完整的个股筛选、智能分析与风险管控产品。
回顾中
热门标签