摘要:
【DDS中间件】 DDS-Data Distribution Service 数据分发服务 切换DDS Fast DDS $ sudo apt install ros-$ROS_DISTRO-rmw-fastrtps-cpp $ export RMW_IMPLEMENTATION=rmw_fastr 阅读全文
posted @ 2025-01-09 20:10
White_ink
阅读(487)
评论(0)
推荐(0)
摘要:
【同一进程组织多个节点】 注:战队现使用可组合节点组织多节点 使用执行器组织节点 示例 int main(int argc,char** argv){ rclcpp::init(); rclcpp::executors::SingThreadedExecutor executor; auto nod 阅读全文
posted @ 2025-01-09 15:34
White_ink
阅读(137)
评论(0)
推荐(0)
摘要:
关于lambda函数的隐式捕获 auto callback=[&]()->void{... } [&] 隐式捕获 在lambda表达式内部如果使用到外部作用域的变量,将以引用的方式捕获 [=] 以值的方式隐式捕获外部变量 示例 #include <iostream> int main() { int 阅读全文
posted @ 2025-01-09 14:54
White_ink
阅读(21)
评论(0)
推荐(0)
摘要:
【SPFA】 “关于spfa,它死了。” “卡spfa是作为一个合格的出题人的基本操作。” 模版题 https://www.acwing.com/file_system/file/content/whole/index/content/4379/ 思路 对Bellman-Ford的优化: Bellm 阅读全文
posted @ 2025-01-09 10:53
White_ink
阅读(34)
评论(0)
推荐(0)

浙公网安备 33010602011771号