位置控制原理 最近一段时间一直在忙着写官方的C型板教程,这个教程咕了两个多月没写了,现在回来把坑填完。 RM机器人上最复杂的控制计构就是双轴云台了,赛场上的情况对双轴云台的控制稳定度与响应灵敏度双方面都提出了很高的要求,云台控制的好坏在一定程度上就能够代表一支队伍的实力。 双轴云台采用的控制算法依然 ...
分类:
其他好文 时间:
2020-01-22 10:34:09
阅读次数:
135
摘自:https://www.cnblogs.com/APeng2019/p/10719288.html#3、TFTP穿越NAT 目录 1、环境拓扑配置 2、TFTP协议学习 2.1、协议概述 2.2、TFTP报文类型 2.3、TFTP端口号分配 2.4、TFTP报文格式 2.4.1、Read re ...
分类:
其他好文 时间:
2020-01-22 01:03:51
阅读次数:
141
文件操作 对文件操作流程 打开文件,得到文件句柄并赋值给一个变量 通过句柄对文件进行操作 关闭文件 现有文件如下 1 Somehow, it seems the love I knew was always the most destructive kind 2 不知为何,我经历的爱情总是最具毁灭性 ...
分类:
编程语言 时间:
2020-01-21 16:20:25
阅读次数:
135
报错信息: qly@qlyComputer:~$ pip Traceback (most recent call last): File "/usr/bin/pip", line 9, in <module> from pip import main ImportError: cannot impo ...
分类:
其他好文 时间:
2020-01-21 13:27:01
阅读次数:
75
/** * 42. Trapping Rain Water * https://leetcode.com/problems/trapping-rain-water/description/ * */ class Solution { fun trap(height: IntArray): Int { ...
分类:
移动开发 时间:
2020-01-21 00:39:20
阅读次数:
107
Most basic operations in Go are not synchronized. In other words, they are not concurrency-safe. https://go101.org/article/channel.html ...
分类:
其他好文 时间:
2020-01-21 00:20:08
阅读次数:
94
题目如下: Given a positive integer num consisting only of digits 6 and 9. Return the maximum number you can get by changing at most one digit (6 becomes 9 ...
分类:
其他好文 时间:
2020-01-20 14:43:03
阅读次数:
69
0. Function pointers are among the most powerful tools in C. It can be used to implement function callback in C. C++ takes a slightly different route ...
分类:
编程语言 时间:
2020-01-20 00:16:59
阅读次数:
122
如图所示的简易自动售货机,物品架1、2上共有10样商品,按顺序进行编号分别为1-10,标有价格与名称,一个编号对应一个可操作按钮,供选择商品使用。如果物架上的商品被用户买走,储物柜中会自动取出商品送到物架上,保证物品架上一定会有商品。用户可以一次投入较多钱币,并可以选择多样商品,售货机可以一次性将商 ...
分类:
其他好文 时间:
2020-01-20 00:08:29
阅读次数:
591
介绍一下traceback 平时看到的程序的错误信息也就是traceback信息 举个简单例子: import traceback try: s = [1, 2, 3] print s[5] except Exception: traceback.print_exc() 报错信息: Tracebac ...
分类:
其他好文 时间:
2020-01-17 19:25:41
阅读次数:
93