ROS 学习- 基本命令

栏目: Python · 发布时间: 5年前

内容简介:编译时出现 .msg: Invalid declaration: 类型 变量. 切记<Built-in types:

点击( 此处 )折叠或打开

  1. catkin_make 编译指定的包 .
  2. $ catkin_make - DCATKIN_WHITELIST_PACKAGES = "package1;package2"
  3. 恢复编译所有的包
  4. $ catkin_make - DCATKIN_WHITELIST_PACKAGES = ""

点击( 此处 )折叠或打开

rostopic list #列出话题
rostopicecho话题 #接收话题

编译时出现 .msg: Invalid declaration: 类型 变量. 切记< 类型 变量 >之间的分割为空格 不能是tab.

Built-in types:

Primitive Type

Serialization

C++

Python2

Python3

bool (1)

unsigned 8-bit int

uint8_t (2)

bool

int8

signed 8-bit int

int8_t

int

uint8

unsigned 8-bit int

uint8_t

int (3)

int16

signed 16-bit int

int16_t

int

uint16

unsigned 16-bit int

uint16_t

int

int32

signed 32-bit int

int32_t

int

uint32

unsigned 32-bit int

uint32_t

int

int64

signed 64-bit int

int64_t

long

int

uint64

unsigned 64-bit int

uint64_t

long

int

float32

32-bit IEEE float

float

float

float64

64-bit IEEE float

double

float

string

ascii string (4)

std::string

str

bytes

time

secs/nsecs unsigned 32-bit ints

ros::Time

rospy.Time

duration

secs/nsecs signed 32-bit ints

ros::Duration

rospy.Duration


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

The Art of Computer Programming, Volume 3

The Art of Computer Programming, Volume 3

Donald E. Knuth / Addison-Wesley Professional / 1998-05-04 / USD 74.99

Finally, after a wait of more than thirty-five years, the first part of Volume 4 is at last ready for publication. Check out the boxed set that brings together Volumes 1 - 4A in one elegant case, and ......一起来看看 《The Art of Computer Programming, Volume 3》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

随机密码生成器
随机密码生成器

多种字符组合密码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码