![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ros
chensuoyue、
热爱真我,率性而为。
展开
-
ros_pointcloud2 转 pcl_pointcloud2 转pcl_xyz
#include <ros/ros.h>#include <sensor_msgs/PointCloud2.h>#include <pcl/point_cloud.h>#include <pcl/point_types.h>#include <pcl_conversions/pcl_conversions.h>#include <pcl/PCLPointCloud2.h>#include <pcl/conversio.原创 2020-09-02 14:46:44 · 1204 阅读 · 0 评论 -
ros机械臂获取当前位姿
#!/usr/bin/env python# -*- coding: utf-8 -*-import rospy, sysimport moveit_commanderfrom geometry_msgs.msg import Poseclass MoveItCartesianDemo: def __init__(self): # 初始化move_group的API moveit_commander.roscpp_initialize(sys.argv)...原创 2020-08-22 12:48:58 · 2212 阅读 · 2 评论 -
ifm3d相机安装ros包简化脚本
#!/bin/bashmkdir ~/dev && cd dev ;git clone https://github.com/lovepark/ifm3d-ros.git ;mkdir -p ~/catkin/ifm3d/src && cd ~/catkin/ifm3d/src ;catkin_init_workspace &&ln -s ~/dev/ifm3d-ros ifm3d ;cd .. &&catkin_make -DC原创 2020-08-22 12:34:47 · 257 阅读 · 0 评论 -
ubuntu脚本启动多个launch文件
#!/bin/bashsource /opt/ros/kinetic/setup.shsource ~/ml_ws/devel/setup.bashgnome-terminal "ur5_gazebo" -x bash -c "roslaunch ur_gazebo ur5.launch;exec bash" &&ti1=`date +%s` ti2=`date +%s`i=$(($ti2 - $ti1 ))while [[ "$i" -ne "8" ]]do...原创 2020-08-22 12:33:04 · 968 阅读 · 0 评论