加速度计(Accelerometer) VREP的模型浏览器components→sensors中可以找到加速度计的模型,用于测量物体沿着世界坐标系三个坐标轴的加速度值。 VREP中没有直接测量加速度的函数,可以间接地通过测量已知质量物体上的力来计算加速度。加速度计的结构如下图所示,其中动态物体Ac ...
分类:
其他好文 时间:
2017-12-27 17:59:04
阅读次数:
280
编写了一个vue组件,可以实时显示文件上传和下载时候的进度 文件上传使用方法: 引入组件:import fileLoading from '../component/fileLoading.vue' 注册组件: components: { fileLoading:fileLoading } 声明组件 ...
分类:
Web程序 时间:
2017-12-26 19:50:51
阅读次数:
2697
在 src/components 下新建一个以组件名命名的文件夹,注意首字母大写 在使用组件时,默认会在 index.js 中寻找 export 的对象,如果你的组件比较复杂,可以分为多个文件,最后在 index.js 中统一 export,就像这样: index.js index.less 使用: ...
分类:
其他好文 时间:
2017-12-26 17:47:25
阅读次数:
1194
Developer beNative over on GitHub has a project called Concepts which is a massive collection of Delphi modular demos featuring over twenty different ...
参考: http://www.alloyteam.com/2017/05/guide-styled-components/ https://medium.com/styled-components/getting-sassy-with-sass-styled-theme-9a375cfb78e8 h ...
分类:
其他好文 时间:
2017-12-23 23:00:07
阅读次数:
127
V-rep中显示激光扫描点 在VREP自带的场景中找到practicalPathPlanningDemo.ttt文件,删除场景中多余的物体只保留静态的地图。然后在Model browser→components→sensors中找到SICK TiM310 Fast激光雷达,拖入场景中: 打开脚本参数 ...
分类:
其他好文 时间:
2017-12-23 00:58:43
阅读次数:
525
Rather than using Components to push streams into other Components, mapPropsStream allows you to create functions that can wrap components to create s ...
分类:
移动开发 时间:
2017-12-22 20:45:57
阅读次数:
261
vue是一个轻量级的渐进式框架,对于它的一些特性和优点包括环境的一些配置在此就不做赘述,本篇文章主要来探讨一下vue子父组件之间通信的问题 首先我们先来看一个demo,目录结构为这样: ?src ?components ?child.vue ?app.vue 此时App.vue应为这样: 一、父组件 ...
分类:
其他好文 时间:
2017-12-21 17:20:45
阅读次数:
119
新建目录: demo(文件夹) ——views(文件夹) ——demo.html ——app(文件夹) ——components(文件夹) ——demo.jsx ——js(文件夹) ——demo_1.js ——demo_2.js ——css(文件夹) ——demo.css ——main.js(入口文 ...
分类:
Web程序 时间:
2017-12-20 22:12:12
阅读次数:
296
这是原来的路由配置 import Vue from 'vue'; import Router from 'vue-router'; import Hello from 'components/Hello'; Vue.use(Router); export default new Router({ r ...
分类:
其他好文 时间:
2017-12-20 22:09:16
阅读次数:
132