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

Control thruster using overrideRCIn #1970

Open
galversano opened this issue Jul 23, 2024 · 1 comment
Open

Control thruster using overrideRCIn #1970

galversano opened this issue Jul 23, 2024 · 1 comment

Comments

@galversano
Copy link

galversano commented Jul 23, 2024


Issue

Hey everyone I’m trying to use mavros for control t200 thruster(pwm), I’m using ros2 and I’m using the topic of overrideRCIn but when I run this nothing happened, the thruster doesn’t spin

Does anyone know how to solve this? Or how to send pwm msg to motor with mavros?

MAVROS version and platform

ROS: foxy
Ubuntu: 20.04

@galversano galversano changed the title Control thruster Control thruster using overrideRCIn Jul 23, 2024
@evan-palmer
Copy link
Contributor

If you are trying to control an individual thruster using the OverrideRCIn input, you will need to verify that the SERVON_FUNCTION parameter for that respective thruster is set to PWM passthrough. Note that, by doing that, the ArduSub arm/disarm functionality will no longer stop you from sending commands to the thrusters. Here is an example that demonstrates how to do this.

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