-
Notifications
You must be signed in to change notification settings - Fork 195
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
add spacenav example #591
base: main
Are you sure you want to change the base?
add spacenav example #591
Conversation
Signed-off-by: Borong Yuan <[email protected]>
Thanks for your effort. According to moveit/moveit_tutorials#754 (comment), |
Can you be more specific, @rhaschke? Are you against adding any spacenav functionality completely? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Nice and simple.
return LaunchDescription( | ||
[ | ||
Node( | ||
package="spacenav", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An <exec_depend> on spacenav
should be added to root/package.xml
I suggest to drop spacenav_node specific stuff and operate the space mouse directly via joystick software (only one thing to maintain in future). |
Yes, this is what I want. As long as the joystick software can directly publish TwistStamped, other nodes for message conversion can be removed. |
not really, I believe.
That's what the packages in ros/ros-teleop can be used for. |
The Joy message is a generic message for all types of joysticks. ros-teleop can be used to define the function of any joystick. |
We used teleop_tools in ROS1. It was pretty easy to configure 👍 |
This pull request is in conflict. Could you fix it @borongyuan? |
1 similar comment
This pull request is in conflict. Could you fix it @borongyuan? |
Description
Add a simple spacenav example, only launch file. Need to wait for ros-drivers/joystick_drivers#251 to be merged. There I added an option to make spacenav_node publish TwistStamped directly.
Checklist