Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set linear and turn speed via rosparams #7

Merged
merged 2 commits into from
Aug 30, 2016

Conversation

lucasw
Copy link
Contributor

@lucasw lucasw commented Aug 26, 2016

Get the initial speed and turn parameters from rosparam.

@@ -81,6 +79,8 @@ def vels(speed,turn):
pub = rospy.Publisher('cmd_vel', Twist, queue_size = 1)
rospy.init_node('teleop_twist_keyboard')

speed = rospy.get_param("~speed", 0.5)
turn = rospy.get_param("~turn", 1.0)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indentation here doesn't match the rest of this function :(

Aside from that, this is awesome!

@trainman419 trainman419 merged commit 735fe40 into ros-teleop:master Aug 30, 2016
@trainman419
Copy link
Contributor

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants