<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[lyf's blog]]></title><description><![CDATA[知乎，https://www.zhihu.com/people/liuyf5231]]></description><link>https://blog.csdn.net/lewif</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; lewif]]></copyright><item><title><![CDATA[自动驾驶通信中间件ecal源码分析—2. Broker vs Brokerless]]></title><link>https://blog.csdn.net/lewif/article/details/126973839</link><guid>https://blog.csdn.net/lewif/article/details/126973839</guid><author>lewif</author><pubDate>Wed, 21 Sep 2022 15:32:01 +0800</pubDate><description><![CDATA[Broker vs Brokerless]]></description><category></category></item><item><title><![CDATA[自动驾驶通信中间件ecal源码分析—1. 什么是ecal]]></title><link>https://blog.csdn.net/lewif/article/details/126973786</link><guid>https://blog.csdn.net/lewif/article/details/126973786</guid><author>lewif</author><pubDate>Wed, 21 Sep 2022 15:27:13 +0800</pubDate><description><![CDATA[ecal介绍]]></description><category></category></item><item><title><![CDATA[不同平台的C/C++标准库]]></title><link>https://blog.csdn.net/lewif/article/details/126973634</link><guid>https://blog.csdn.net/lewif/article/details/126973634</guid><author>lewif</author><pubDate>Wed, 21 Sep 2022 15:22:37 +0800</pubDate><description><![CDATA[不同平台中C、C++的标准库介绍。]]></description><category></category></item><item><title><![CDATA[利用Valgrind进行内存泄露检查]]></title><link>https://blog.csdn.net/lewif/article/details/115353683</link><guid>https://blog.csdn.net/lewif/article/details/115353683</guid><author>lewif</author><pubDate>Wed, 31 Mar 2021 16:25:54 +0800</pubDate><description><![CDATA[Note: Valgrind is Linux only. If you aren’t running Linux, or want a tool designed from the start to make debugging segfaults and memory issues easier, check out Cee Studio, a fully online C and C++ development environment from our sponsor. Cee Studio pro.]]></description><category></category></item><item><title><![CDATA[动态链接库之dllexport和__attribute__(visibility)]]></title><link>https://blog.csdn.net/lewif/article/details/115353463</link><guid>https://blog.csdn.net/lewif/article/details/115353463</guid><author>lewif</author><pubDate>Wed, 31 Mar 2021 16:22:46 +0800</pubDate><description><![CDATA[在实际的应用中，我们需要动态库导出特定的符号(有些接口不对外暴露，只内部使用)，下面的例子展示了具体的实现方式。
1. code
//log.h
#pragma once

#define BUILDING_DLL

#if defined _WIN32 || defined __CYGWIN__
#ifdef BUILDING_DLL
#ifdef __GNUC__
#define DLL_PUBLIC __attribute__ ((dllexport))
#else
#define DLL_PUBLI]]></description><category></category></item><item><title><![CDATA[Cygwin vs MinGW vs MSYS2]]></title><link>https://blog.csdn.net/lewif/article/details/115353409</link><guid>https://blog.csdn.net/lewif/article/details/115353409</guid><author>lewif</author><pubDate>Wed, 31 Mar 2021 16:18:23 +0800</pubDate><description><![CDATA[1. Cygwin
Cygwin is:

a large collection of GNU and Open Source tools which provide functionality similar to a Linux distribution on Windows.
a DLL (cygwin1.dll) which provides substantial POSIX API functionality.

Cygwin is not:

a way to run native Linux]]></description><category></category></item><item><title><![CDATA[不同操作系统相关的宏]]></title><link>https://blog.csdn.net/lewif/article/details/115352722</link><guid>https://blog.csdn.net/lewif/article/details/115352722</guid><author>lewif</author><pubDate>Wed, 31 Mar 2021 15:59:08 +0800</pubDate><description><![CDATA[1. win32或者win64

_WIN32 Defined as 1 when the compilation target is 32-bit ARM, 64-bit ARM, x86, or x64. Otherwise, undefined.
_WIN64 Defined as 1 when the compilation target is 64-bit ARM or x64. Otherwise, undefined.

#if defined(_WIN32)
#define OS_WINDO]]></description><category></category></item><item><title><![CDATA[wsl2+kali-rolling+win kex+Connection refused 10061]]></title><link>https://blog.csdn.net/lewif/article/details/115351995</link><guid>https://blog.csdn.net/lewif/article/details/115351995</guid><author>lewif</author><pubDate>Wed, 31 Mar 2021 15:44:22 +0800</pubDate><description><![CDATA[wsl2+kali，可以在win10下运行一个效率高于virtualbox等虚拟机的linux，kali-win-kex基于VNC(In computing, Virtual Network Computing (VNC) is a graphical desktop-sharing system that uses the Remote Frame Buffer protocol (RFB) to remotely control another computer. It transmits the ke]]></description><category></category></item><item><title><![CDATA[std vector如何避免频繁内存创建]]></title><link>https://blog.csdn.net/lewif/article/details/114752833</link><guid>https://blog.csdn.net/lewif/article/details/114752833</guid><author>lewif</author><pubDate>Sat, 13 Mar 2021 16:55:55 +0800</pubDate><description><![CDATA[1. std vector中添加元素

In C++ vectors are dynamic arrays. Unlike arrays, they don’t have a fixed size. They can grow or shrink as required. Vectors are assigned memory in blocks of contiguous locations. When the memory allocated for the vector falls short of ]]></description><category></category></item><item><title><![CDATA[cruise-automation Webviz 简介]]></title><link>https://blog.csdn.net/lewif/article/details/105329570</link><guid>https://blog.csdn.net/lewif/article/details/105329570</guid><author>lewif</author><pubDate>Sun, 05 Apr 2020 17:11:13 +0800</pubDate><description><![CDATA[Our initial focus was to build a suite of these panels that corresponded to existing open source tools like rviz, rqt console, rqt_runtime_monitor, rostopic echo, and rqt_plot. With further developm...]]></description><category></category></item><item><title><![CDATA[ros下使用google gflags]]></title><link>https://blog.csdn.net/lewif/article/details/105250144</link><guid>https://blog.csdn.net/lewif/article/details/105250144</guid><author>lewif</author><pubDate>Wed, 01 Apr 2020 17:08:57 +0800</pubDate><description><![CDATA[不同ubuntu版本对应不同的gflags版本
利用sudo apt install libgflags-dev命令在不同ubuntu版本上安装的gflags的版本不同，ubuntu 16.04默认的版本为2.1，而ubuntu 18.04的版本为2.2。
2.1和2.2版本在ros下的使用区别：2.1 cmake中通过find_package找不到gflags，而2.2可以找到。
find_pa...]]></description><category></category></item><item><title><![CDATA[坐标变换(8)—复特征值与旋转]]></title><link>https://blog.csdn.net/lewif/article/details/105242990</link><guid>https://blog.csdn.net/lewif/article/details/105242990</guid><author>lewif</author><pubDate>Wed, 01 Apr 2020 12:13:10 +0800</pubDate><description><![CDATA[1. 共轭复特征值
设AAA是n×nn\times nn×n的实矩阵，
Ax‾=Aˉxˉ=Axˉ
\overline{Ax}=\bar{A}\bar{x}=A\bar{x}
Ax=Aˉxˉ=Axˉ
假设λ\lambdaλ是AAA的特征值，xxx为λ\lambdaλ对应的特征向量，则λˉ\bar{\lambda}λˉ同样是AAA的特征值，而xˉ\bar{x}xˉ是对应的特征向量，
Axˉ=Ax‾=λ...]]></description><category></category></item><item><title><![CDATA[禾赛+速腾 vs Velodyne+Ouster]]></title><link>https://blog.csdn.net/lewif/article/details/105208343</link><guid>https://blog.csdn.net/lewif/article/details/105208343</guid><author>lewif</author><pubDate>Tue, 31 Mar 2020 12:10:40 +0800</pubDate><description><![CDATA[本文只是对论文内容的简要总结，不对不同厂商激光雷达的好坏进行评价。

1. LIBRE
最近名古屋大学(Nagoya University)和autoware一起发表了一篇关于激光雷达数据集相关的论文《LIBRE: The Multiple 3D LiDAR Dataset》，数据集地址https://sites.google.com/g.sp.m.is.nagoya-u.ac.jp/libre...]]></description><category></category></item><item><title><![CDATA[坐标变换(7)—旋转矩阵和特征向量]]></title><link>https://blog.csdn.net/lewif/article/details/105110720</link><guid>https://blog.csdn.net/lewif/article/details/105110720</guid><author>lewif</author><pubDate>Thu, 26 Mar 2020 09:28:04 +0800</pubDate><description><![CDATA[I am still waiting for the day I’ll use mathematics integration in real life.
— Derrick Obedgiu

1. 特征向量
在给定一个线性变换TTT，作用于一个非零的向量vvv，没有对vvv进行旋转，仅仅是对vvv进行了λ\lambdaλ倍的拉伸，如下式所示，
T(v)=λv(1)
T(v)=\lambda v...]]></description><category></category></item><item><title><![CDATA[坐标变换(6)—齐次变换矩阵]]></title><link>https://blog.csdn.net/lewif/article/details/105110698</link><guid>https://blog.csdn.net/lewif/article/details/105110698</guid><author>lewif</author><pubDate>Thu, 26 Mar 2020 09:27:14 +0800</pubDate><description><![CDATA[前面的文章主要介绍了旋转矩阵，对于刚体的运动，除了旋转外还有平移。在机器人及自动驾驶中，经常用其次变换矩阵将旋转和平移进行统一。 前面的文章也介绍过其次变换矩阵，本文算是一个总结。
1. SE(3)
将旋转矩阵和平移向量写在同一个矩阵中，形成的4×44\times44×4矩阵，称为special Euclidean group,即SE(3)SE(3)SE(3)，
T=[Rp01]=[r11r12r...]]></description><category></category></item><item><title><![CDATA[坐标变换(5)—用旋转轴和旋转角表示旋转]]></title><link>https://blog.csdn.net/lewif/article/details/105110669</link><guid>https://blog.csdn.net/lewif/article/details/105110669</guid><author>lewif</author><pubDate>Thu, 26 Mar 2020 09:26:20 +0800</pubDate><description><![CDATA[任何旋转，都可以用一个旋转轴ω^\hat \omegaω^和一个旋转角θ\thetaθ来描述。
1. 坐标系的线速度和角速度

如上图，在旋转的刚体上，附加一个body frame{b}\{b\}{b}，记为{x^,y^,z^}\{\hat{x},\hat{y},\hat{z}\}{x^,y^​,z^}。对于三个轴而言，绕着ω^\hat \omegaω^旋转的轨迹为圆。当然，上述坐标轴{x^,y^...]]></description><category></category></item><item><title><![CDATA[坐标变换(4)—旋转矩阵]]></title><link>https://blog.csdn.net/lewif/article/details/105110636</link><guid>https://blog.csdn.net/lewif/article/details/105110636</guid><author>lewif</author><pubDate>Thu, 26 Mar 2020 09:25:09 +0800</pubDate><description><![CDATA[1. 群
群(Group)是一种集合加上一种运算的代数结构。我们把集合记作AAA，运算记作⋅\cdot⋅， 那么群可以记作G=(A,⋅)G = (A, ·)G=(A,⋅)。群要求这个运算满足以下几个条件：

封闭性: ∀a1,a2∈A,a1⋅a2∈A\forall a_1, a_2 \in A, a_1\cdot a_2 \in A∀a1​,a2​∈A,a1​⋅a2​∈A.
结合律: ∀a1,a2...]]></description><category></category></item><item><title><![CDATA[坐标变换(3)—同一坐标系下的变换]]></title><link>https://blog.csdn.net/lewif/article/details/105110616</link><guid>https://blog.csdn.net/lewif/article/details/105110616</guid><author>lewif</author><pubDate>Thu, 26 Mar 2020 09:23:45 +0800</pubDate><description><![CDATA[除了不同坐标系之间点的坐标变换，在同一坐标系内也存在对点的变换操作，例如平移，旋转等。
1. 平移
在同一坐标系下，平移操作将空间中一个点沿着一个已知的矢量方向移动一定的距离，如下图所示，将AP1^{A}P_{1}AP1​沿着AQ^{A}QAQ进行平移得到AP2^{A}P_{2}AP2​

易得，
AP2=AP1+AQ
^{A}P_{2}=^{A}P_{1}+^{A}Q
AP2​=AP1​+AQ
...]]></description><category></category></item><item><title><![CDATA[坐标变换(2)—不同坐标系下的变换]]></title><link>https://blog.csdn.net/lewif/article/details/105110505</link><guid>https://blog.csdn.net/lewif/article/details/105110505</guid><author>lewif</author><pubDate>Thu, 26 Mar 2020 09:19:51 +0800</pubDate><description><![CDATA[如下图所示，在自动驾驶车辆上会存在大量冗余的传感器，例如轮速传感器、激光雷达，毫米波雷达，摄像头，超声波雷达，GPS，IMU等。不同传感器对同一物体的测量原始结果都是在自身坐标下，所以首先我们需要对多传感器就行标定(即获得不同坐标系之间的变换关系，多传感器的标定是个非常复杂且困难的问题，这里先不介绍)，将所有传感器的输出统一到一个坐标系下。

本文主要介绍不同坐标系之间变换的原理，在这里我们采用一...]]></description><category></category></item><item><title><![CDATA[坐标变换(1)—向量和坐标系]]></title><link>https://blog.csdn.net/lewif/article/details/105110384</link><guid>https://blog.csdn.net/lewif/article/details/105110384</guid><author>lewif</author><pubDate>Thu, 26 Mar 2020 09:17:18 +0800</pubDate><description><![CDATA[1. 标量
在介绍向量之前，有必要介绍一下标量(scalar)，标量是一个数字，只有大小，没有方向(不过有正负)。例如温度，重量等。
2. 向量
向量(vector)是多个数字组成的列表。nnn个有次序的数x1,x2,⋯ ,xnx_1,x_2,\cdots,x_nx1​,x2​,⋯,xn​所组成的数组列表称为nnn维向量。
向量可以有两种方式去描述：

空间中的一个点，而有次序的数字可以确定点在空...]]></description><category></category></item></channel></rss>