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

Steering for sandwich and CoRa not as expected #2

Open
matthewheubach opened this issue May 11, 2022 · 3 comments
Open

Steering for sandwich and CoRa not as expected #2

matthewheubach opened this issue May 11, 2022 · 3 comments
Assignees

Comments

@matthewheubach
Copy link
Contributor

Steering response for sandwich boats is poor.

Looking at the rostopic list, it appears there is an issue with the way the left and right thrust_angle topics are initialized (the namespace is wamv instead of sandwich_0 or sandwich_1)

/sandwich_0/joint_states
/sandwich_0/thrusters/left_thrust_cmd
/sandwich_0/thrusters/right_thrust_cmd
/sandwich_1/joint_states
/sandwich_1/thrusters/left_thrust_cmd
/sandwich_1/thrusters/right_thrust_cmd
/vrx/debug/wind/direction
/vrx/debug/wind/speed
/wamv/shooters/ball_shooter/fire
/wamv/thrusters/left_thrust_angle
/wamv/thrusters/right_thrust_angle

@bsb808
Copy link
Contributor

bsb808 commented May 13, 2022

@matthewheubach Can you explain in more detail. This is good practice.

Need to know the following:

  • What is the setup you used, i.e,. what instructions did you follow or what other commands did you do to run the test?
  • What output did you expect?
  • What output did you observe - and how did that differ from what you expected?
  • What is the next step? E.g., are you looking for feedback, would you like someone to try something (tag @crvogt or @bsb808 ), do we just leave this for later?

@bsb808 bsb808 assigned matthewheubach and unassigned bsb808 May 13, 2022
@matthewheubach
Copy link
Contributor Author

@bsb808 @crvogt

To test the steering response I used the sandwich_keydrive.launch file (added to the sandwich_gazebo/launch folder). I developed this basic keydrive functionality based on the cora_keydrive.launch file developed in MRC. I tested the keydrive capability on the cora vessel to ensure functionality and then changed the thruster namespace to sandwich_1 for sandwich boat control.

After opening the sandwich_keydrive.launch application, I used rostopic echo to display the gps speed and imu angular turn rates.

Linear velocity is around 3 m/s which would be reasonable for the life-size boat but significantly slow for the 10x model. The maximum turn rate I could get was 0.029 rad/sec. The model boats have a real-life capability of at least 45 deg/sec (~0.8 rad/sec).

Sandwich_steering

If we use the model at the 10x scale, the thrusters might need to be re-configured to produce similar behavior to the small-scale model in terms of turn rate and speed (approx. 1.5-2 boat lengths/sec)

@bsb808
Copy link
Contributor

bsb808 commented May 24, 2022

@matthewheubach There are a couple of interrelated settings that control the boat motion:

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