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

Adjusting the wavefield #751

Closed
dscherrenburg opened this issue Nov 1, 2023 · 0 comments
Closed

Adjusting the wavefield #751

dscherrenburg opened this issue Nov 1, 2023 · 0 comments

Comments

@dscherrenburg
Copy link

Describe the bug
I am trying to make adjustments to the wavefield to test some things about the dynamics of my vessel. Adjustments I try to make are expanding the waves and reducing or increasing the size of the wavefield.
To turn off the waves I set the gain and amplitude to 0 in the sydney_regatta.sdf, see first image below. This results in the vessel no longer moving up and down as expected, but the visuals of the waves are not stopped.
I'm trying to change the size of the wavefield by adding a 'size' parameter to the sydney_regatta.sdf, see first image below. The design of this is based on how this is read by the Wavefield.cc file: {params["size"].vector3d_value().x(), params["size"].vector3d_value().y()}.
The adjusted values are also published correctly to the /vrx/wavefield/parameters topic as shown in the second image.

To Reproduce
List the steps to reproduce the problem:

  1. Modify sydney_regatta.sdf according to the image above.
  2. Build, source and run the environment as you are used to:
    colcon build --merge-install
    source install/setup.bash
    ros2 launch ros2 launch vrx_gz competition.launch.py
  3. Check the changes:
    - Use to component inspector in gazebo to check if the pose of the vessel is stationary in the z direction.
    - Use the visuals in gazebo to check if the waves are not moving up and down anymore.
    - Use the visuals in gazebo to check if the size of the entire wavefield changed accordingly.

System Configuration:
Tell us about your system.

  • OS: PopOS 22.04
  • ROS Version: ROS2 Humble
  • Gazebo Version: Gazebo 7.6.0
  • Graphics Card: NVIDIA GeForce RTX 3050
  • Are you using VRX or VRX Classic? VRX

Screenshots
image
image

@dscherrenburg dscherrenburg closed this as not planned Won't fix, can't repro, duplicate, stale Nov 2, 2023
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

No branches or pull requests

1 participant