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

RoboBoat02 reference model #759

Merged
merged 13 commits into from
Dec 21, 2023
Merged

RoboBoat02 reference model #759

merged 13 commits into from
Dec 21, 2023

Conversation

caguero
Copy link
Contributor

@caguero caguero commented Dec 17, 2023

This pull request adds 2 of 2 of the RoboBoat reference models. I decided to add it to this repository to make it easier to modify by RoboBoat users, as opposed to upstreaming it to Fuel.

  • Basic SDF.
  • Collisions based on simple-shape geometries.
  • Tweaked inertias
  • Thruster plugin
  • Hydrodynamics plugin
  • Surface plugin attached to each pontoon.

Screenshot from 2023-12-17 11-19-28

Screenshot from 2023-12-17 11-20-55

Screenshot from 2023-12-17 11-21-13

Screenshot from 2023-12-17 11-21-42

How to test it?

Add the following block to worlds/sydney_regatta.sdf.

<!-- RoboBoat 02 -->
<include>
  <name>roboboat02</name>
  <pose>-528 180 0 0 0 0</pose>
  <uri>roboboat02</uri>
</include>

Recompile VRX and launch it:

GZ_VERSION=garden colcon build --merge-install
ros2 launch vrx_gz competition.launch.py world:=sydney_regatta

Spin the thrusters:

gz topic -t /model/roboboat02/joint/right_engine_propeller_joint/cmd_thrust -m gz.msgs.Double -p 'data: 1'

Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
Signed-off-by: Carlos Agüero <[email protected]>
@caguero caguero requested a review from crvogt December 17, 2023 10:26
@caguero caguero added this to the 2.4.0 milestone Dec 17, 2023
Base automatically changed from caguero/roboboat_models to main December 20, 2023 20:32
Copy link
Collaborator

@j-herman j-herman left a comment

Choose a reason for hiding this comment

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

As with roboboat01, the directional stability seems high, but everything is working ok.

@caguero caguero merged commit 1859b10 into main Dec 21, 2023
1 check passed
@caguero caguero deleted the caguero/roboboat02 branch December 21, 2023 19:32
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