![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
莫马达
这个作者很懒,什么都没留下…
展开
-
Publish nav_msgs::OccupancyGrid message in python
Publish nav_msgs::OccupancyGrid message in python here is the demo. #!/usr/bin/python3 ''' A Demo, to publish ros map message (nav_msgs::OccupancyGrid), is written in python. Has been tested on ubuntu16.04 ros kinetic x86_64 platform To use python3 as t原创 2021-03-05 11:13:36 · 418 阅读 · 0 评论 -
将TCP客户端映射为串口
由于工作中遇到硬件接口和实际情况定义不一致的情况,需要在软件上将一个TCP客户端的接口当做成串口使用,无奈之下参考虚拟串口的程序写了一个Python(version 2.6)程序,已在Ubuntu 16.04中测试通过,在此记录一下,也希望能帮助到有缘的苦命人。代码如下: #!/usr/bin/env python # filename : tcp_to_serial_port.py import...原创 2019-02-12 19:33:21 · 2777 阅读 · 0 评论