juoyi
码龄9年
关注
提问 私信
  • 博客:32,034
    32,034
    总访问量
  • 6
    原创
  • 1,716,753
    排名
  • 2
    粉丝
  • 0
    铁粉
IP属地以运营商信息为准,境内显示到省(区、市),境外显示到国家(地区)
IP 属地:湖南省
  • 加入CSDN时间: 2016-05-18
博客简介:

juoyi的博客

博客描述:
技术改变世界
查看详细资料
个人成就
  • 获得9次点赞
  • 内容获得1次评论
  • 获得41次收藏
创作历程
  • 6篇
    2018年
成就勋章
TA的专栏
  • ROS
    3篇
  • python
    3篇
  • 回首与展望
兴趣领域 设置
  • 运维
    devops自动化
  • 服务器
    linuxcentos
创作活动更多

超级创作者激励计划

万元现金补贴,高额收益分成,专属VIP内容创作者流量扶持,等你加入!

去参加
  • 最近
  • 文章
  • 代码仓
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

zip函数的用法

下面是python3的解释:class zip(object) | zip(iter1 [,iter2 [...]]) --> zip object | | Return a zip object whose .__next__() method returns a tuple where | the i-th element comes from the i-th i...
原创
发布博客 2018.06.13 ·
1906 阅读 ·
3 点赞 ·
1 评论 ·
1 收藏

ros运行出错:NameError: global name 'SongListResponse' is not defined

1.说明我自己写了个基于service通信的server和client,以下是srv文件: song_list_node/srv路径下的SongList.srvstring album---string[] song_listclient发送一个string类型的专辑名,server以列表形式返回该专辑下的所有歌曲。2.song_list_server.py#!/...
原创
发布博客 2018.04.19 ·
1360 阅读 ·
0 点赞 ·
0 评论 ·
0 收藏

ros中的service和client

参考:Writing a Simple Service and Client (Python)首先是用到的add_two_ints/srv路径下的AddTwoInts.srv文件:int64 aint64 b---int64 sum # 前面是field type,后面是field nameserver#!/usr/bin/env pythonimport ro...
原创
发布博客 2018.04.17 ·
1317 阅读 ·
0 点赞 ·
0 评论 ·
2 收藏

ros中的Publisher和Subscriber

topic是ros的通信方式之一,节点(node)之间通过向主题(topic)上发布(publish)和订阅(subscribe)消息(message)来进行消息传递以下是wiki上的示例,可以直接访问:Writing a Simple Publisher and Subscriber 下面上代码首先是用到的std_msgs/msg路径下的String.msg文件中的内容:s...
原创
发布博客 2018.04.17 ·
2680 阅读 ·
0 点赞 ·
0 评论 ·
10 收藏

reduce函数的用法

首先看reduce函数的官方解释(python2):reduce(...) reduce(function, sequence[, initial]) -> value Apply a function of two arguments cumulatively to the items of a sequence, from left to right,...
原创
发布博客 2018.04.17 ·
8663 阅读 ·
0 点赞 ·
0 评论 ·
12 收藏

map函数的用法

map函数在python2和python3中稍有不同,python2直接返回一个列表,python3则返回一个map的可迭代对象一、python2的官方解释:map(...) map(function, sequence[, sequence, ...]) -> list Return a list of the results of applying the fu...
原创
发布博客 2018.04.17 ·
16107 阅读 ·
6 点赞 ·
0 评论 ·
17 收藏