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

Boat demo #5

Open
tomlogan501 opened this issue Aug 19, 2020 · 4 comments
Open

Boat demo #5

tomlogan501 opened this issue Aug 19, 2020 · 4 comments

Comments

@tomlogan501
Copy link

tomlogan501 commented Aug 19, 2020

Hi,
I test your simulation with the boat and it pops 2 boats and sinks them xD.

Is there a configuration to enable the USV plugin ? I can also use the VRX repository if needed.

Do you use the ardupilotplugin in Gazebo-9 ? I can see in the code you try ArdupilotCopter plugin (on boat branch).

I would like to test it with one of our boat (same size as WAMV)

@ericjohnson97
Copy link
Contributor

My simulation is built on the USV plugin which is found within the px4 sitl_gazebo repository. make sure to follow these instructions here
https://github.com/Intelligent-Quads/iq_sim/blob/master/docs/boat_setup.md#6-setup-libgazebo_usv_dynamics_plugin

and also make sure to add export GAZEBO_PLUGIN_PATH=${GAZEBO_PLUGIN_PATH}:$HOME/src/sitl_gazebo/build to your bashrc and to source it for use in the same terminal.

@tomlogan501
Copy link
Author

tomlogan501 commented Aug 24, 2020

Seems that I didn't replace the plugin path
Now it works quite well

image

Do you had any PID/NAV params ? Also WP_SPEED is null in your params.

@ericjohnson97
Copy link
Contributor

to be completely honest. I've put the boat project on hold for the time being, and I didn't do too much tuning. I was able to get to track much better after turning down the speed and, tweaking a few other params I found on this page. https://ardupilot.org/rover/docs/rover-tuning-steering-rate.html. I never, got it perfect, but it was ok. next time I boot up my ubuntu side of my desktop I can take a look for you

@tomlogan501
Copy link
Author

Yeah the link you provide is the basic tuning I use most of the time.
Tell me when you switch to the ubuntu "good" side :)

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

2 participants