-
Notifications
You must be signed in to change notification settings - Fork 0
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
CF not responding properly #1
Comments
Hi, which branch are you using. I would recommend using the refactor one and use the ps3_teleop.launch Make sure the cf-marker has the right orientation, so it moves in x-in rviz if you move it in x in your world. |
Can you fly the cf without actually using the pos controls? I.e. just start the driver, dont press start, see if you can fly it. Sticks are bound in mode 2. |
@bbroecker @jodafo The code seems to be working only with the default values for joystick buttons(for functions like TAKEOFF, FORWARD,BACK etc) as when I change those values for some other joystick(like Logitech), the crazyflie doesn't connect. |
Regarding the manual control. You should be able to manually flight it without pressing start. On which branch are you on, use the "refactor" one. |
@bbroecker I switched to refactor branch but now the CF doesn't respond to anything even though /joy topic works fine. |
That sound like you didn't change the radio_frequency parameter to frequency of your crazyflie. If it still doesn't work, please use "rostopic echo" and check if you get messages on the /crazyflie1/cmd_vel topic when you move the sticks. If that's the case, it might be that you have a communication problem with the crazyflie. |
@bbroecker Thanks for the reply ! I used the new refactor branch and changed the cf1_uri parameter but still there is no response and nothing is published to /crazyflie1/cmd_vel . I don't think it's a communication error as the crazyflie works fine with cfclient and while running ps3_teleop.launch the led blinks when the joystick button is pressed. The master branch works (without proper result i.e doesn't stay at constant x and y at a height z=z_takeoff) and the z_takeoff is measured from the initial position of crazyflie not the optitrack origin. |
If you don't get messages on /crazyflie1/cmd_vel means that you don't get messages on the teleop topic /crazyflie1/teleop/cmd_vel. |
Hi @bbroecker @jodafo ! Could you please guide me as I'm having difficulties getting the desired results. The CF seems to take-off properly(by take-off I mean, remain at constant z but x and y vary), it doesn't respond to the wand pose neither does it take the inputs from the joystick.
P.S I tried to use multiple joysticks(PS3, Logitech etc.) and I get different result from each.
P.S only two buttons seem to be accepted when pressed.
I'm using optitrack motive 1.10.1, with ros indigo on ubuntu 14.04
I could upload a video of its behavior if you'd like.
Here is my rqt_graph
The text was updated successfully, but these errors were encountered: