joy_teleop.py 文件源码

python
阅读 21 收藏 0 点赞 0 评论 0

项目:amosero 作者: PaulPetring 项目源码 文件源码
def myround(x):
    return int(round(x) - .5) + (x > 0)

# Author: Andrew Dai
# This ROS Node converts Joystick inputs from the joy node
# into commands for turtlesim

# Receives joystick messages (subscribed to Joy topic)
# then converts the joysick inputs into Twist commands
# axis 1 aka left stick vertical controls linear speed
# axis 0 aka left stick horizonal controls angular speed
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号