A - Little C Loves 3 I CodeForces - 1047A 题意:一个数分成三份,每一个都不是3的倍数 题解:分成 (1, 1, n - 2) 或者分成(1, 2, n - 3 ) #include <iostream> #include <cstdio> #include ...
分类:
其他好文 时间:
2019-07-09 10:55:29
阅读次数:
97
3.4. Mappoints management and key frame process如果在步骤3.3中成功跟踪地图点,则缓存地图点以在下一帧中优先化。当完成当前帧的跟踪时,应该为下一帧更新帧运动速度和地图点。最后,决定当前帧是否应该作为关键帧产生,其标准指的是[11]。 如果框架作为关键帧 ...
分类:
其他好文 时间:
2019-07-03 00:32:38
阅读次数:
111
ROS标记工具 ROS标记工具参考前言visuallization_msgs/markersSending Basic Shapes to RViz基本原理关键代码Sending Points and linesInteractive Marker基本原理Simple Interactive Mar... ...
分类:
其他好文 时间:
2019-07-02 00:15:39
阅读次数:
163
构造数据,实现简单的线性回归importtensorflowastfimportmatplotlib.pyplotaspltimportnumpyasnp#模拟数据num_points=1000vec_points=[]foriinrange(num_points):x=np.random.normal(0.0,0.5)y=x*0.1+0.3+np.random.normal(0.0,0.06)v
分类:
其他好文 时间:
2019-07-01 18:40:59
阅读次数:
135
Why do we need message queues when we already have the shared memory? It would be for multiple reasons, let us try to break this into multiple points ...
分类:
系统相关 时间:
2019-06-23 14:09:39
阅读次数:
136
师弟反应镭神32线激光雷达(32C)录制的数据包不能跑lego loam,这里就总结一下。 首先lego loam默认的接受的topic name是velodyne_points,点云的frame_id是velodyne,镭神驱动发布的topic name为point_raw,frame_id为wo ...
分类:
其他好文 时间:
2019-06-22 10:33:08
阅读次数:
304
1 import numpy as np 2 import pandas as pd #读取数据 points = np.genfromtxt('data.csv',dtype=np.double,delimiter=",") print(points) [[ 32.50234527 31.7070 ...
分类:
其他好文 时间:
2019-06-17 17:13:46
阅读次数:
143
import numpy as npdef compute_error_points(b, w, points): total_error = 0 for i in range(0, len(points)): x = points[i, 0] y = points[i, 1] # 计算均方误差 t ...
分类:
其他好文 时间:
2019-06-14 00:53:51
阅读次数:
112
~~调到哭系列~~ 其实就是kd tree的模板题。用堆维护出距离最小的m个点。然后在$kd tree$上查询。 这一个小地方从上午10点调到下午4点半。。。。。真的快气哭了。。。 代码 cpp //调的心累呀!!!! / @Author: wxyww @Date: 2019 06 13 09:57 ...
分类:
其他好文 时间:
2019-06-13 17:27:58
阅读次数:
97