Quadrupled joystick teleop to publish cmd_vel#113
Open
Conversation
…y/teleop_twist_joy.cpp include/teleop_twist_joy/teleop_twist_joy.h, copied from https://github.com/ros-teleop/teleop_twist_joy/tree/4f61e6d853138b153aeda0984d2abeb7a04d87bb
…: private->protected Impl, disable joy_sub
…: set ~publish_cmd_vel true to publich cmd_vel within quadruped_joystick_teleop
…m_quadruped_joystick_teleop option to quadruped_joystick_teleop.launch. publish cmd_vel from publish_cmd_vel_from_quadruped_joystick_teleop at the specified rate, instead of teleop_node/teleop_twist_joy, which publish cmd_vel based at the rate of joy topic
… to publish cmd_vvel from publish_cmd_vel_from_quadruped_joystick_teleop at the rate defined in config/dualsense_teleop_twist_joy.yaml, instead of teleop_node/teleop_twist_joy
…n publish_cmd_vel_ is true
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
publish
cmd_velfromquadruped_joystick_teleopI noticed that the cycle is not stable, probably due to reading joy on docker. On the other hand, PR2 is using https://github.com/PR2/pr2_apps/blob/melodic-devel/pr2_teleop_general/src/pr2_teleop_general_joystick.cpp to generate cmd_vel with a fixed cycle.
This patch added
publish_cmd_veloption toquadruped_joystick_teleopnode.@sktometometo