Kok-ui 官方文档网页模板 【第一版】

kok-ui 模板主要用于一些简单的文本信息展示,是一个自适应动效网页模板 , 能够在移动端和PC端使用

采用技术 >>>

采用前端框架: Jquery + Layui
动画采用 : CSS3

PC端截图 >>>

在这里插入图片描述
在这里插入图片描述

在这里插入图片描述
在这里插入图片描述

在这里插入图片描述

移动端截图 >>>

在这里插入图片描述

移动端动态演示 >>>

在这里插入图片描述


# 关于开发的目的 写这么个页面不会有太多华丽的效果,因为学校有个H5页面设计比赛,就用该模板参赛了,之后主要是用于 kok-ui 框架的文档撰写做铺垫,致力于研究能在V8引擎上奔跑的自动化AI破壁计划需要做很多大量的工作,改进模板后,我会在第二版改进的时候上传github供大家下载,目前第一版已经上传了CSDN的资源下载区 (下载地址:https://download.csdn.net/download/qq_41136216/12431719), 相关技术设定会在后期有时间在B站进行讲解
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
你好,我可以回答这个问题。以下是一个获取点云图片的gocator的c程序示例: #include <stdio.h> #include <stdlib.h> #include <string.h> #include <GoSdk/GoSdk.h> void onData(void* ctx, const GoDataSet* dataSet) { unsigned int i; for (i = 0; i < GoDataSet_Count(dataSet); ++i) { GoDataMsg dataObj = GoDataSet_At(dataSet, i); switch (GoDataMsg_Type(dataObj)) { case GO_DATA_MESSAGE_TYPE_STAMP: { GoStampMsg stampMsg = dataObj; printf("Frame Index: %llu\n", stampMsg->frameIndex); printf("Time Stamp: %llu\n", stampMsg->timestamp); } break; case GO_DATA_MESSAGE_TYPE_SURFACE: { GoSurfaceMsg surfaceMsg = dataObj; printf("Surface data received:\n"); printf(" Width: %lu\n", GoSurfaceMsg_Width(surfaceMsg)); printf(" Height: %lu\n", GoSurfaceMsg_Height(surfaceMsg)); printf(" X resolution: %.3f um\n", (float) GoSurfaceMsg_XResolution(surfaceMsg) / 1000.0); printf(" Y resolution: %.3f um\n", (float) GoSurfaceMsg_YResolution(surfaceMsg) / 1000.0); printf(" Z resolution: %.3f nm\n", (float) GoSurfaceMsg_ZResolution(surfaceMsg)); printf(" X offset: %.3f mm\n", (float) GoSurfaceMsg_XOffset(surfaceMsg) / 1000.0); printf(" Y offset: %.3f mm\n", (float) GoSurfaceMsg_YOffset(surfaceMsg) / 1000.0); printf(" Z offset: %.3f mm\n", (float) GoSurfaceMsg_ZOffset(surfaceMsg) / 1000.0); printf(" Data type: %u\n", GoSurfaceMsg_Type(surfaceMsg)); printf(" Data size: %lu\n", GoSurfaceMsg_BufferSize(surfaceMsg)); } break; default: { printf("Unhandled data message received.\n"); } break; } } } int main(int argc, char** argv) { kStatus status; GoSystem system; GoSensor sensor; GoDataSet dataSet; unsigned int i; GoSetup setup; GoOutput output; GoEthernet ethernet; char ipAddress[256]; // Initialize the GoSdk library. status = GoSdk_Initialize(); if (status != kOK) { printf("Error: GoSdk_Initialize:%d\n", status); return EXIT_FAILURE; } // Create a GoSystem object. status = GoSystem_Construct(&system, kNULL); if (status != kOK) { printf("Error: GoSystem_Construct:%d\n", status); GoSdk_Uninitialize(); return EXIT_FAILURE; } // Find the first sensor. status = GoSystem_FindSensorByIpAddress(system, "192.168.1.10", &sensor); if (status != kOK) { printf("Error: GoSystem_FindSensorByIpAddress:%d\n", status); GoSystem_Destroy(system); GoSdk_Uninitialize(); return EXIT_FAILURE; } // Create a setup object. status = GoSetup_Construct(&setup, kNULL); if (status != kOK) { printf("Error: GoSetup_Construct:%d\n", status); GoSensor_Destroy(sensor); GoSystem_Destroy(system); GoSdk_Uninitialize(); return EXIT_FAILURE; } // Load the setup from the sensor. status = GoSensor_LoadConfig(sensor, setup); if (status != kOK) { printf("Error: GoSensor_LoadConfig:%d\n", status); GoSetup_Destroy(setup); GoSensor_Destroy(sensor); GoSystem_Destroy(system); GoSdk_Uninitialize(); return EXIT_FAILURE; } // Enable the output. output = GoSetup_Output(setup); ethernet = GoOutput_Ethernet(output); GoEthernet_Address(ethernet, ipAddress, sizeof(ipAddress)); printf("Output enabled on %s\n", ipAddress); // Start the sensor. status = GoSystem_Start(system); if (status != kOK) { printf("Error: GoSystem_Start:%d\n", status); GoSetup_Destroy(setup); GoSensor_Destroy(sensor); GoSystem_Destroy(system); GoSdk_Uninitialize(); return EXIT_FAILURE; } // Grab a frame of data. status = GoSystem_ReadData(system, &dataSet); if (status != kOK) { printf("Error: GoSystem_ReadData:%d\n", status); GoSystem_Stop(system); GoSetup_Destroy(setup); GoSensor_Destroy(sensor); GoSystem_Destroy(system); GoSdk_Uninitialize(); return EXIT_FAILURE; } // Process the data. onData(kNULL, &dataSet); // Destroy the data set. GoDestroy(dataSet); // Stop the sensor. status = GoSystem_Stop(system); if (status != kOK) { printf("Error: GoSystem_Stop:%d\n", status); GoSetup_Destroy(setup); GoSensor_Destroy(sensor); GoSystem_Destroy(system); GoSdk_Uninitialize(); return EXIT_FAILURE; } // Destroy the setup object. GoDestroy(setup); // Destroy the sensor object. GoDestroy(sensor); // Destroy the system object. GoDestroy(system); // Uninitialize the GoSdk library. GoSdk_Uninitialize(); return EXIT_SUCCESS; }
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值