资源简介
Design, simulate, program, and prototype an interactive autonomous mobile robot from scratch with the help of Python, ROS, and Open-CV!
代码片段和文件信息
#!/usr/bin/env python
“““
diff_tf.py - follows the output of a wheel encoder and
creates tf and odometry messages.
some code borrowed from the arbotix diff_controller script
A good reference: http://rossum.sourceforge.net/papers/DiffSteer/
Copyright (C) 2012 Jon Stephan.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation either version 3 of the License or
(at your option) any later version.
This program is distributed in the hope that it will be useful
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not see .
----------------------------------
Portions of this code borrowed from the arbotix_python diff_controller.
diff_controller.py - controller for a differential drive
Copyright (c) 2010-2011 Vanadium Labs LLC. All right reserved.
Redistribution and use in source and binary forms with or without
modification are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Vanadium Labs LLC nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“ AND
ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL VANADIUM LABS BE LIABLE FOR ANY DIRECT INDIRECT
INCIDENTAL SPECIAL EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING BUT NOT
LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE DATA
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY WHETHER IN CONTRACT STRICT LIABILITY OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
“““
import rospy
#import roslib
#roslib.load_manifest(‘differential_drive‘)
from math import sin cos pi
from geometry_msgs.msg import Quaternion
from geometry_msgs.msg import Twist
from nav_msgs.msg import Odometry
from tf.broadcaster import TransformBroadcaster
from std_msgs.msg import Int16 Int64
##############
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-08-16 09:21 LEARNING_ROBOTICS_USING_PYTHON\
文件 10244 2017-10-03 23:09 LEARNING_ROBOTICS_USING_PYTHON\.DS_Store
目录 0 2018-01-17 19:18 __MACOSX\
目录 0 2018-01-17 19:18 __MACOSX\LEARNING_ROBOTICS_USING_PYTHON\
文件 120 2017-10-03 23:09 __MACOSX\LEARNING_ROBOTICS_USING_PYTHON\._.DS_Store
文件 7856200 2017-08-15 12:58 LEARNING_ROBOTICS_USING_PYTHON\9781783287536-LEARNING_ROBOTICS_USING_PYTHON.pdf
文件 1073 2017-08-15 12:58 __MACOSX\LEARNING_ROBOTICS_USING_PYTHON\._9781783287536-LEARNING_ROBOTICS_USING_PYTHON.pdf
文件 21718448 2017-08-15 12:59 LEARNING_ROBOTICS_USING_PYTHON\9781783287536.mobi
文件 1003 2017-08-15 12:59 __MACOSX\LEARNING_ROBOTICS_USING_PYTHON\._9781783287536.mobi
目录 0 2015-05-22 16:42 LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\
目录 0 2017-08-15 12:58 LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_1\
文件 25 2015-04-10 11:03 LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_1\README.txt
目录 0 2018-01-17 19:18 __MACOSX\LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\
目录 0 2018-01-17 19:18 __MACOSX\LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_1\
文件 216 2015-04-10 11:03 __MACOSX\LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_1\._README.txt
文件 216 2017-08-15 12:58 __MACOSX\LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\._Chapter_1
目录 0 2015-05-22 16:36 LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_10\
目录 0 2015-05-22 16:36 LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_10\Chefbot_Master\
目录 0 2015-05-22 16:36 LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_10\Chefbot_Master\chefbot\
目录 0 2015-05-22 16:36 LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_10\Chefbot_Master\chefbot\chefbot_bringup\
文件 5559 2015-04-10 11:03 LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_10\Chefbot_Master\chefbot\chefbot_bringup\CMakeLists.txt
目录 0 2018-01-17 19:18 __MACOSX\LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_10\
目录 0 2018-01-17 19:18 __MACOSX\LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_10\Chefbot_Master\
目录 0 2018-01-17 19:18 __MACOSX\LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_10\Chefbot_Master\chefbot\
目录 0 2018-01-17 19:18 __MACOSX\LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_10\Chefbot_Master\chefbot\chefbot_bringup\
文件 216 2015-04-10 11:03 __MACOSX\LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_10\Chefbot_Master\chefbot\chefbot_bringup\._CMakeLists.txt
目录 0 2015-05-22 16:36 LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_10\Chefbot_Master\chefbot\chefbot_bringup\include\
目录 0 2015-03-26 16:24 LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_10\Chefbot_Master\chefbot\chefbot_bringup\include\chefbot_bringup\
目录 0 2018-01-17 19:18 __MACOSX\LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_10\Chefbot_Master\chefbot\chefbot_bringup\include\
文件 216 2015-03-26 16:24 __MACOSX\LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_10\Chefbot_Master\chefbot\chefbot_bringup\include\._chefbot_bringup
文件 216 2015-05-22 16:36 __MACOSX\LEARNING_ROBOTICS_USING_PYTHON\Learning Robotics Using Python_code\Chapter_10\Chefbot_Master\chefbot\chefbot_bringup\._include
............此处省略764个文件信息
相关资源
- 高清原版《Python深度学习》2018中文版
- deep learning for computer vision
- python机器学习-不用kinect骨架检测代码
- python3.5.2
- Python Microservices Development(pdf+epub+mo
- Learning Python(pdf+epub+mobi+code_files).
- scipy-1.5.4-cp37-cp37m-win_amd64.whl
- [2016.03] 教孩子学编程 Python语言版
- Python数据分析基础高清文字版PDF
- keras快速上手 基于python深度学习实战
- 《Python深度学习》2018中文版pdf+源代码
- 使用Python批量ECMWF欧洲中心数据
- Python学生管理系统web网页版
- python数据分析与数据化运营
- scipy-1.4.1-cp35-cp35m-win_amd64.whl
- python入门教程(共四本书籍)
- (中文+英文版+源代码)Python编程:从
- 《机器学习实战》python3完美运行代码
- Python学生成绩管理系统
- 人脸识别理论和Python实现
- Python3.7.1
- Python3.5CongLingKaiShiXue-LiuYuZhou.pdf
- python-Django-网上购书商城完整源码
-
完整的python ba
semap 选nc特定区域图 - Python-基于深度神经网络和蒙特卡罗树
- python 2.7.15
- python-3.6.4.exe32位
- PyQt5-5.5.1-gpl-Py3.4-Qt5.5.1-x32
- Python深度学习.pdf+代码
- Python3.4 Numpy安装包
评论
共有 条评论