Problems, Hints, experience, comments on the new PIXHAWK

Members: 1125
Latest Activity: Nov 27, 2019

Discussion Forum

Python Code for Servo Motor Switch (PWM) on Pixhawk

Started by Govinda Baweja. Last reply by Bonnie Aug 12, 2019. 4 Replies

Hello friends,I want to run a python scrip on onboard companion computer to trigger the servo motor switch which is connected to pixhawk.Any ideas on how can I do it?Thanx.Continue

Tags: motor, servo, python, pixhawk

Drone project

Started by Ohad Azulay. Last reply by Annabe763 Jun 28, 2019. 3 Replies

HI all, We are a group of 3 students for Mechatronic Engineering.We are now working on a final year project.our project is an amphibious drone that will be able to fly and also to enter the water and…Continue

SB_0000002 Critical service bulletin for Cubes Purchased between January 2019 to present. DO NOT FLY

Started by iSkyMaster. Last reply by Philip Apr 27, 2019. 6 Replies

It has come to our attention, that there is an anomaly with sensor readings on some recent cubes. This notification will be modified multiple times a day!!! Please check often.…Continue

Tutorial: Build Autonomous Drone - Using SLAM In GPS Denied Environment For Position Estimation

Started by Nina Rong Apr 15, 2019. 0 Replies

I have been posting a series of tutorials on how to build an autonomous drone. This time I am writing about…Continue

Tags: tutorial

Comment Wall


You need to be a member of PIXHAWK to add comments!

Comment by Brian Buckmaster on April 6, 2019 at 9:16pm

I solved my telemetry and compass calibration problems. The telemetry issue was my mistake - I plugged in an identical looking module into my laptop; once I used the correct one, it worked just fine.

The compass calibration issue was solved by replacing the GPS/compass with a new one. I guess the one I salved from a crash was somehow damaged. At any rate I now have it calibrated.

The only issue remaining is a suitable receiver -  I was using a Spektrum satellite module from an AR8010T, but found that there is latency. I am going to order a FrSky 8XR.

Comment by Brian Buckmaster on April 3, 2019 at 9:23am

John, forgot to thank you too.  I hooked things up and tried again, but this time I got calibration failures and I decided to quit after three tries. It's a pain to do the compass dance while the quad is connected to my laptop! I wanted to power up the aircraft and use a telemetry connection to do the compass calibration, but for some reason I'm timing out - aarrgghh!  I tried plugging the telemetry module into telem port 1 and two but no joy.  Will try to figure that out later as I can pull a spare module from one of my two other quads.

I got a screen shot of the compapss calibration page:

You can see that I have compass #3 disabled and compass #1 is my external compass. Question: Do I leave the compass orientation at "none" (the default)? With the APM, I had to use something like roll 180, yaw 90 oro somoething like that as the compass is mounted underneath the GPS antenna... 

When I begin the calibration and start moving the aircraft around the progress bar for mag 1 will become green as the calibration progresses - I see nothing on the progress bar foro mag 2 - is this normal?

Comment by Brian Buckmaster on April 3, 2019 at 7:23am

Golly, thanks for the help Cliff!  I did use M.P. and the compass calibration page dis not display the graphical rotating dots as I expected from doing the compass calibration with an APM. Instead, the aicraft repeated a slow beep and I started rotating the aircraft around and saw a progress bar increasing. After going through all the gyrations, I got an indicationo that the cmpass calibration was successful.

I did not notice whether or not I unchecked compass #3 - will look at that again. I had convinced myself that this compass had gone bad as I salvaged it from a previous Tarot Ironman crash during its second test flight when the APM suffered a brownout.

I will try again later today - thanks again for your help!

Comment by Clifton Hipsher on April 3, 2019 at 5:11am

@John Longland:

I have never used the wizard.  I prefer using Initial Setup > Mandatory Hardware and Initial Setup > Optional Hardware.  Every thing is right there in front of you, including an all at once ESC calibration that works.

Comment by Clifton Hipsher on April 3, 2019 at 5:04am

@Brian Buckmaster:

Power cycling is does cause you to loose settings.  Bad Compass Health means Pixhawk cannot communicate to one or more of the compasses.

If you did not uncheck Compass #3 before you run the calibration you will get Bad Compass Health...

Comment by John Longland on April 3, 2019 at 12:10am

Good day Brian

I am commenting on your comment about compass calibration and "bad compas health".

You don't describe exactly but I assume you used the wizard ( with its graphical rotating dots ) to calibrate the compass ??

If so , I would suggest you use another method. I have bumped my head against this where I am using the wizard to calibrate everyting, ( accl...compas ... radio ..etc) and it does not seem to work. I never investigated why , but simply moved on to the following method:

I calibrate the accel on the initial setup page of MP.

Then I calibrate the radio on the radio calibration page of MP.

Then I calibrate the compass with a manual method. I take my drone outside away from structures, power my drone , throttle up and right ( NOT ARMED ) . IT will beep long and then start beep..beep..beep.. then it is in calibrate phase. Then you face north, hold the drone by its tail vertically down and bring it up over your head. In the provess it will go through 270deg. Then you rotate your body a bit to the right( clock-wise ) and repeat .... until you have turned you body through 360 degrees and you are once again facing north. Then you change grip and now hold the drone by its two legs on its left side ( i.e. you rotate the drone 90 anti-clockwise ... you carry on with your waving of the drone through 270 dregree as you yourself turn through 360 ... and once the FC is happy it will double beeo and ..voila..

I couldn;t find the youtube video in my docs but search youtuge, There is a nice video of this guy waviung his drone through 270 degrees while he is rotating !!

looks hilarious , but it works like a bomb. Also, use the manual method to calibrate

ESCs, not the MP wizard.


Comment by Brian Buckmaster on April 2, 2019 at 4:00pm

I need help! I have just completed a build of a Tarot 650 Ironman and I chose to use a Pixhawk PX4 for my flight controller/autopilot:

I am using a MATEK 6S FCHUB PCB for power distribution, a 10S APM Power Module and 40A OPTO ESCs for my power system. The motors are T-Motor Navigator series MN3420's spinning 17" Tarot propellers.

I am using a Spektrum satellite DSM receiver and 100mW telemetry modules. The GPS is a Ublox 7M.

I installed the latest Mission Planner I could find - 1.3.7032.578 and installed Arducopter V3.6.7.

I did the Accel calibration and tried the compass calibration - it seemed to be successful but M.P. told me to "reboot the autopilot"... How do I do that? Simply unplug the USB and plug it back in? I tried that but when I reconnected to M.P. I get the dreaded "Bad Compass Health" warning...

IS there another way to reboot the Pixhawk and save my compass settings?

Comment by Abhirami on September 10, 2018 at 5:43am

Can someone help me?

PIxhawk compatibility with ESCs

Comment by Haygood on August 19, 2018 at 10:01pm

Staying at low power, then shooting upward as you pass mid throttle sounds like typical behavior in alt hold mode.   You are requesting higher, and it throttles up suddenly to go from not flying to flying and climbing.  What flight mode were you in?  

Comment by Clifton Hipsher on August 8, 2018 at 6:23am

Your param file does nothing for me.

What I really need is a detailed step by step description of what you are doing, why you are doing it, what your expectations are, and what are the results.

Another important piece of information is a detailed parts list including motors, props, ESCs, RADIO GEAR, and any other accessories/devices you may have installed.

Pictures showing how every thing is connected and a video showing how the aircraft behaves will be extremely helpful.


Members (1125)


© 2020   Created by Chris Anderson.   Powered by

Badges  |  Report an Issue  |  Terms of Service