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

Enable visualizing the rotor speed in gazebo #500

Merged

Conversation

tongtybj
Copy link
Collaborator

@tongtybj tongtybj commented Mar 27, 2022

What is this

To visualize the rotation of propeller in gazebo

Why

For better intuitive visualization.

Usage

Add independent propeller CAD model which is separated from the link one.
For exmapl:

<visual>
<origin rpy="0 0 0" xyz="0 0 0.032"/>
<geometry>
<xacro:if value="${rotor_direction == 1}">
<mesh filename="package://hydrus/urdf/mesh/propeller/T-motor-CF-14inch-CCW.dae"/>
</xacro:if>
<xacro:if value="${rotor_direction == -1}">
<mesh filename="package://hydrus/urdf/mesh/propeller/T-motor-CF-14inch-CW.dae"/>
</xacro:if>
</geometry>
</visual>

TODO

  • update the urdf model of hydrus to enable the visualize

@tongtybj tongtybj force-pushed the PR/feature/visualize_rotor_speed branch from 55457af to 62b0f1f Compare September 11, 2023 17:14
@tongtybj tongtybj changed the title [WIP] Enable visualizing the rotor speed in gazebo Enable visualizing the rotor speed in gazebo Sep 11, 2023
@tongtybj
Copy link
Collaborator Author

visualization sample (hydrus):

hydrus_quad_rotate_visible2_refine.mp4

@tongtybj tongtybj merged commit 593c472 into jsk-ros-pkg:master Sep 12, 2023
6 checks passed
@tongtybj tongtybj deleted the PR/feature/visualize_rotor_speed branch November 17, 2023 16:56
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.

1 participant