Skip to content

Commit

Permalink
Add new MouseDrag plugin (#2038)
Browse files Browse the repository at this point in the history
Adds a new MouseDrag plugin, which allows the user to exert forces and torques by dragging objects in the scene with the mouse cursor. It has two modes: translation and rotation.

---------

Signed-off-by: Henrique-BO <[email protected]>
Signed-off-by: Addisu Z. Taddese <[email protected]>
Co-authored-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
Henrique-BO and azeey authored Aug 17, 2023
1 parent 8352d3d commit caefed8
Show file tree
Hide file tree
Showing 6 changed files with 929 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/plugins/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ add_subdirectory(environment_loader)
add_subdirectory(environment_visualization)
add_subdirectory(joint_position_controller)
add_subdirectory(lights)
add_subdirectory(mouse_drag)
add_subdirectory(playback_scrubber)
add_subdirectory(plot_3d)
add_subdirectory(plotting)
Expand Down
4 changes: 4 additions & 0 deletions src/gui/plugins/mouse_drag/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
gz_add_gui_plugin(MouseDrag
SOURCES MouseDrag.cc
QT_HEADERS MouseDrag.hh
)
Loading

0 comments on commit caefed8

Please sign in to comment.