ros常见命令和功能

roscore roscore is a collection of nodes and programs that are pre-requisites of a ROS-based system. You must have a roscore running in order for ROS

iohannes iohannes Published on 2025-03-18

rust模块

定义模块 顶层模块 src/main.rs mod controller; mod router; fn main() { // do something } 模块对应文件夹或文件 |— src |— co

iohannes iohannes Published on 2025-03-18

select、poll、epoll区别

select、poll、epoll select 操作方式是遍历, 底层实现是数组,IO效率是每次调用都进行线性遍历,时间复杂度为O(n),最大连接数是1024(x86)或 2048

iohannes iohannes Published on 2025-03-18
c++

stl 常见容器

vector array 数组支持随机访问,根据下标随机访问的时间复杂度为O(1) vector 连续的内存空间来存储元素,大小可以改变。swap 操作是将引用进行ߝ

iohannes iohannes Published on 2025-03-18

sql 统计历史不同汇率成交

订单表 select * from sales order by date; date currency val 2022-01-01 rmb 10.00 2022-01-01 hk 100.00 2022-02-02

iohannes iohannes Published on 2025-03-18

special docker container run gui application

allow xhost xhost +local:* run container sudo docker run -it --name gui_ubuntu --net=host -e DISPLAY -v /tmp/.X11-unix ubuntu:18.04 bash apt update a

iohannes iohannes Published on 2025-03-18

targetlinklibraries中private public interface的区别

在使用lib的, 链接的时候: 如果源文件(例如CPP)中包含第三方头文件,但是头文件(例如hpp)中不包含该第三方文件头,采用PRIVATE。 如果源文件

iohannes iohannes Published on 2025-03-18

tf probility STS forecast

STS(Structural time series) model An STS model expresses an observed time series as the sum of simpler components: f(t) = f_1(t) + f_2(t) + f_3(t) + …

iohannes iohannes Published on 2025-03-18

three.js 播放动画

加载动画 let nameToClip = {}; let mixer = null; const loader = new GLTFLoader(); loader.load('/threed/models/' + modelName, function (gltf) { let mode

iohannes iohannes Published on 2025-03-18

three.js 鼠标移动物体

<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Three.js_MouseEvent</title> <style> body { margi

iohannes iohannes Published on 2025-03-18
Previous Next