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

ROTOR_THRUSTS mode failed #15

Open
fanshi14 opened this issue Aug 25, 2019 · 0 comments
Open

ROTOR_THRUSTS mode failed #15

fanshi14 opened this issue Aug 25, 2019 · 0 comments

Comments

@fanshi14
Copy link

Hi guys,

I tried to directly send thrust force command to each rotor.
I followed as the instruction in ControlCommand.msg:

quadrotor_common::ControlCommand command;
command.timestamp = time;
command.armed = true;
command.control_mode = quadrotor_common::ControlMode::ROTOR_THRUSTS;
command.rotor_thrusts.resize(4);
for (int i = 0; i < 4; ++i)
command.rotor_thrusts[i] = 9.81 * 0.68 / 4.0; // just for example

However, it compiles well but the process died when running:

[hummingbird/rpg_rotors_interface-5] process has died [pid 14073, exit code -11, cmd /home/shi/ros/uzh_ws/devel/lib/rpg_rotors_interface/rpg_rotors_interface odometry:=ground_truth/odometry rpg_rotors_interface/arm:=bridge/arm __name:=rpg_rotors_interface __log:=/home/shi/.ros/log/05a315a0-c767-11e9-8713-e4a7a015d79f/hummingbird-rpg_rotors_interface-5.log].
log file: /home/shi/.ros/log/05a315a0-c767-11e9-8713-e4a7a015d79f/hummingbird-rpg_rotors_interface-5*.log

I tried both on my laptop and desktop, but all have the same problem.

Could you give my any hint?

Thanks a lot!
@mfaessle @foehnph

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