mavlink / qgroundcontrol

Cross-platform ground control station for drones (Android, iOS, Mac OS, Linux, Windows)
http://qgroundcontrol.io
3.15k stars 3.5k forks source link

[QGroundControl] Virtual Joystick Radio Roll Calibration not registering #3636

Closed aayush55 closed 7 years ago

aayush55 commented 8 years ago

I'm using Qgroundcontrol 2.9.7b in linux as my ground station and I want to use the virtual joystick without a real RC or joystick radio by setting COM_RC_IN_MODE to 0(Joystick/No RC Checks). I can arm motors by command line. The problem is when I attempt to takeoff my quapcopter in manual flight mode which runs PX4 flight code, no matter how I move the virtual joystick, the output seems always by 0, I want to know that do I need extra setup before using virtual joystick, or virtual joystick can not control a real quadrotor?

DonLakeFlyer commented 8 years ago

QGC Daily Build + PX4 Master SITL + virtual joystick is working for me. Trying using the daily build.

aayush55 commented 8 years ago

Thank You DonLakeFlyer,

Its working fine in SITL + virtual joystick, But I want to control pixhawk using virtual joystick and it is not working.

dagar commented 8 years ago

@aayush55 Have you set the COM_RC_IN_MODE parameter? SITL configures it for you, but you'll need to set it on a pixhawk.

aayush55 commented 8 years ago

yes I set COM_RC_IN_MODE as 0. While arming getting error as "ARMING denied manual throttle non-zero" in qgc. Also in console showing " WARN navigator timed out "

dagar commented 8 years ago

I should have been more specific. You need to set COM_RC_IN_MODE to 1 which is what the SITL init scripts do. https://github.com/PX4/Firmware/blob/master/posix-configs/SITL/init/rcS_jmavsim_iris#L25

anujkumargupta commented 7 years ago

Hi I am also trying to connect my pixhawk with qgc using virtual joystick. In manual mode it armed successfully but after giving the takeoff command it says takeoff denied , disarm and retry.I tried again the same thing and i also calibrated all the sensors also but it shows same prob again and again. Thanks

DonLakeFlyer commented 7 years ago

after giving the takeoff command it says takeoff denied , disarm and retry.

The firmware is controlling that. You'll have to ask the firmware folks.

ltrogers98 commented 2 years ago

after giving the takeoff command it says takeoff denied , disarm and retry.

The firmware is controlling that. You'll have to ask the firmware folks

Is there an update on this? Someone I could ask, I'm having the same issue