这是我和 sszxc 为本学期《机器人软件工程》课程所做的的课程设计,整个项目开发历时 1 个月,模型全部在 Webots2020a 中搭建完成。为完成在仿真环境下的超市自主装卸货物任务,我们设计了一套复杂的控制器进行运动控制。 1. 任务需求 如图所示,超市中 A,B,C,D 四个货架上各有12个 ...
分类:
Web程序 时间:
2020-06-24 10:31:16
阅读次数:
181
this和super在面向对象编程中都起到了非常重要的作用,对于大部分初学者来说,这两个关键字的用途与联系还是模糊的,那么接下来让我们一起整理总结它们的作用与联系吧! 一、this 当成员变量与局部变量同名时,对成员变量进行区分 同名通常出现在构造方法或者属性注释器中,例如this调用当前对象的构造 ...
分类:
其他好文 时间:
2020-06-24 00:34:47
阅读次数:
69
原题链接 KMP模板:AC,858ms,13112KB内存 消耗太大了 #include<bits/stdc++.h> using namespace std; using namespace std; #define ms(x, n) memset(x,n,sizeof(x)); typedef ...
分类:
其他好文 时间:
2020-06-23 20:53:37
阅读次数:
66
题目: 都说天上不会掉馅饼,但有一天gameboy正走在回家的小径上,忽然天上掉下大把大把的馅饼。说来gameboy的人品实在是太好了,这馅饼别处都不掉,就掉落在他身旁的10米范围内。馅饼如果掉在了地上当然就不能吃了,所以gameboy马上卸下身上的背包去接。但由于小径两侧都不能站人,所以他只能在小 ...
分类:
其他好文 时间:
2020-06-23 13:20:42
阅读次数:
35
方法一:强制杀死 import threading import time import inspect import ctypes def _async_raise(tid, exctype): if not inspect.isclass(exctype): raise TypeError("O ...
分类:
编程语言 时间:
2020-06-23 10:30:25
阅读次数:
129
http://acm.hdu.edu.cn/showproblem.php?pid=1007 题意:即给定坐标系上N个点,找到距离最短的两个点。 参考博客:https://www.cnblogs.com/zyxStar/p/4591897.html #include <iostream> #incl ...
分类:
其他好文 时间:
2020-06-21 23:35:11
阅读次数:
42
1.Integer Inquiry 题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1047 解法:一道求大数之和,我们利用java里的BigInteger就可以轻松的解决,不过需要注意下格式的问题,每输出一个就要空一行,最后一个不用 代码: impor ...
分类:
其他好文 时间:
2020-06-21 18:09:00
阅读次数:
62
游戏网址 攻略 level 1 网址:http://nazo.one-story.cn/nazo-1 请输入 答案 。 提示:到底是什么答案呢? 创意人:游戏作者 level 2 网址:http://nazo.one-story.cn/nazo-2 请输 入答案。 提示:第二题也不需要提示吧 创意人 ...
分类:
其他好文 时间:
2020-06-21 17:54:07
阅读次数:
550
import torch.nn as nnimport torchvision.models as modelsclass resnet(nn.Module): def __init__(self): super(resnet,self).__init__() self.model = models ...
分类:
其他好文 时间:
2020-06-21 00:29:09
阅读次数:
96
题目:You Are the One 网址:http://acm.hdu.edu.cn/showproblem.php?pid=4283 Problem Description The TV shows such as You Are the One has been very popular. I ...
分类:
其他好文 时间:
2020-06-20 23:47:01
阅读次数:
57