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

Start motors at idle rpm? #69

Open
dmalyuta opened this issue Mar 25, 2017 · 0 comments
Open

Start motors at idle rpm? #69

dmalyuta opened this issue Mar 25, 2017 · 0 comments

Comments

@dmalyuta
Copy link

The asctec_hl_comm package's mav_ctrl_motors.srv provides a service to start/stop the motors:

/////////// code from asctec_hl_interface/src/ctrl_test.cpp
asctec_hl_comm::mav_ctrl_motors::Request req;
asctec_hl_comm::mav_ctrl_motors::Response res;
req.startMotors = atoi(argv[2]); // 1 for turning the motors on
ros::service::call("fcu/motor_control", req, res);
std::cout << "motors running: " << (int)res.motorsRunning << std::endl;

How does one ensure that when the motors are started, their speed (rpm) is idle? In other words, that the motors, no matter what, do not spin up to a velocity that makes the quad take off until I sent explicitly the first waypoint command from my ROS node?

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