ros
automan_huyaoge
对智能机器人,无人驾驶感兴趣
展开
-
ROS机器人开发实践源代码下载
https://github.com/huchunxu/ros_exploring.git原创 2021-12-01 09:44:44 · 1653 阅读 · 0 评论 -
ROS机器人编程与SLAM算法解析第二章
节点PubForBeginner.cpp/* **************** Author: Tomanlon Copyright: Tomanlon Date: 2019.2.26 Description: Simple ros publish demo for beginning learners MailBox: taomanl@163.com HowToRun: rosrun book_node PubForBeginn.转载 2020-12-08 20:14:44 · 629 阅读 · 0 评论 -
ROS入门21讲---10.发布者Publisher的编程实现
创建功能包catkin_create_pkg learning_topic roscpp rospy std_msgs geometry_msgs turtlesimvelocity_publisher.cpp/***********************************************************************Copyright 2020 GuYueHome (www.guyuehome.com).*********************..转载 2020-12-08 09:12:41 · 163 阅读 · 0 评论 -
ros python 服务端
#!/usr/bin/env python# -*- coding: utf-8 -*-############################################################################ Copyright 2020 GuYueHome (www.guyuehome.com). #################################################################.转载 2020-12-07 20:22:47 · 334 阅读 · 0 评论 -
ros python 客户端
#!/usr/bin/env python# -*- coding: utf-8 -*-############################################################################ Copyright 2020 GuYueHome (www.guyuehome.com). #################################################################.转载 2020-12-07 20:15:11 · 288 阅读 · 0 评论 -
ros python订阅消息
#!/usr/bin/env python# -*- coding: utf-8 -*-############################################################################ Copyright 2020 GuYueHome (www.guyuehome.com). #################################################################.转载 2020-12-07 13:49:21 · 1231 阅读 · 0 评论 -
ros python发布消息
#!/usr/bin/env python# -*- coding: utf-8 -*-############################################################################ Copyright 2020 GuYueHome (www.guyuehome.com). #################################################################.转载 2020-12-07 13:42:58 · 637 阅读 · 0 评论 -
《ROS机器人开发实践》学习:TF坐标变换
turtle_tf_broadcaster.cpp#include <ros/ros.h>#include <tf/transform_broadcaster.h>#include <turtlesim/Pose.h>std::string turtle_name;void poseCallback(const turtlesim::PoseConstPtr& msg){ // tf广播器 static tf::Transfor转载 2020-12-07 11:12:42 · 594 阅读 · 0 评论 -
ros命令
rostopic pub -r 10 /cmd_vel geometry_msgs/Twist '{linear: {x: 2.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 1.8}}'转载 2020-12-07 10:39:37 · 333 阅读 · 0 评论 -
《ROS机器人开发实践》学习:服务中的Server与Client
查看服务列表rosservice list输入完命令后一直按键盘上的Tap键, 出现name: ‘’"时 再按回车,新生成一只乌龟rosservice call /spawn "x: 8.0 y:8.0 theta: 0.0 name: 'turtle2'"在srv/AddTwoInts.srv:int64 aint64 b---int64 sum在package.xml添加: <build_depend>message_generation<.转载 2020-12-07 10:22:35 · 158 阅读 · 0 评论 -
《ROS机器人开发实践》学习:话题中的publisher与subcriber
talker.cpp/** * 该例程将发布chatter话题,消息类型String */ #include <sstream>#include "ros/ros.h"#include "std_msgs/String.h"int main(int argc, char **argv){ // ROS节点初始化 ros::init(argc, argv, "talker"); // 创建节点句柄 ros::NodeHandle n;转载 2020-12-07 09:48:15 · 299 阅读 · 0 评论 -
测试ROS是否安装成功
1、CTRL+ALT+T打开终端(Termial),输入以下命令,初始化ROS环境:roscore成功打开后终端所示:... logging to /home/huyaoge/.ros/log/33831414-33b5-11eb-b5ac-e91020300b6f/roslaunch-huyaoge-OptiPlex-7070-47414.logChecking log directory for disk usage. This may take a while.Press Ctrl转载 2020-12-01 17:19:34 · 5426 阅读 · 0 评论 -
在Ubuntu20.04中安装ROS Noetic
官方链接http://wiki.ros.org/noetic/Installation/Ubuntu系统要求:Ubuntu20.04ROS安装版本: Noetic安装步骤:1、添加 sources.list(设置你的电脑可以从 packages.ros.org 接收软件.)sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.lis.转载 2020-12-01 17:07:59 · 412 阅读 · 0 评论 -
ubuntu16安装ros
https://blog.csdn.net/HHT0506/article/details/104553647?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-17.nonecase&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-17.nonecase转载 2020-07-10 18:09:29 · 171 阅读 · 0 评论