I am looking for people to test a major update to PX4Firmware in ArduPilot before i merge it to master. Both bench testing and flight testing is needed.
The branch I am developing on is the one in this PR:
To help with testing I have pre-built some binaries here:
http://uav.tridgell.net/px4-merge-april-2016/
Please test as much as you can and report anything unusual either here or on the PR. Bench testing looking at as many features as you can would be particularly useful.
I’ll put it onto a Rover and let you know.
Thanks, Grant.
A quick test with Pixracer shows no issues except some random yaw. Probably a setup issue.
Safety switch now blinks and push button works.
ESC calibration now works.
sbus in works.
RSSI not working
WiFi board not working.
RGB LED not working.
Test flight in Stabilize, Position hold, Auto, Altitude Hold no issues.
Tower connected and started a mission.
Return to Launch no issues.
Mike
thanks Mike!
I’ll have a look at the WiFi UART
here is the PX4Firmware branch for anyone willing to do review:
To continue what Mike said, testing on a Pixracer:
Spektrum PPM input(Satellite) now works - thank you!
ESC Calibration process works
My Esp isn’t flashed with the correct firmware, so I can’t test that right now.
RGB LED not working.
Compass calibration - worked as expected
Accel calibration - not yet successful, probably an execution issue though.It’s hanging at the last one (on it’s back) or fails. Accel calibration successful.
Motor test - this is not working as it’s telling me the command is rejected by the autopilot. “Safety switch” message shows up in the HUD though I have BRD_SAFETYENABLE at 0. I should try w/ safety switch soon.
Battery monitor setup w/ ACSP4 is working.
Compass_Mot calibration seemed to work.
I haven’t test flown it yet though, possibly tomorrow.
-Scott
i flew it on a pixhawk based quad today and it flew fine, although the timestamps were not set correctly on the resulting DF log files. I’m looking into that
Scott, I’ll see if I can work out that is up with safety and motor test
RSSI has changed:
was:
RSSI_PIN,103
RSSI_RANGE,3.3
now:
RSSI_CHANNEL,
RSSI_PIN_HIGH,
RSSI_PIN_LOW,
RSSI_TYPE,
How do I use the new items?
Mike
Never mind, found it.
Tested quad with real Pixhawk controller:
Accel Calibration ok
Compass Calibration ok
Radio ok
ESC Calibration worked after pushing safety switch
RSSI ok
Test flight worked in Stabilize, Altitude Hold, Position Hold, Auto, RTL, and Land.
Takeoff with Tower software with auto mission worked.
Relay switches worked.
No issues.
Mike
On Pixracer when safety button is excepted there is no ta-da sound.
Mike
Problem with Auto Tune. I did a test auto tune and it didn’t go well. After the auto tune the copter is not responsive and flew away at times. Was able to land with no damage.
Could not use mission planner to look at tuned values since the parameter names have changed and mission planner has not been updated to them.
I did notice that what ever I was set to so was P.
I did try to set them back to some older values and that seem to work as far as flight goes.
Mike
I messed with the motor test a little bit more. The BRD_SAFETYENABLE parameter doesn’t seem to have an effect right now. With it at 0 or 1 I see:
- Safety switch starts out blinking
- ESCs initialize on battery connection
- Motor test is rejected by autopilot because of safety switch
- Holding safety switch makes it go solid (no ESC beeps as they have already initialized)
- Motor test works as expected once the safety switch is solid.
Also, timestamps in my logs are incorrect as well.
-Scott
I’ve done a new build with binaries here:
http://uav.tridgell.net/px4-merge-april-2016/
this build fixes BRD_SAFETYENABLE on pixracer, and also adds OneShot and OneShot125 support.
If you want to play with oneshot, you need to:
- have all copter motors on the FMU. On pixracer this is always true. On Pixhawk you need to use RCn_FUNCTION to put the motors on the FMU auxillary channels instead of main channels
- set MOT_PWM_MODE to 1 or 2. Setting to 1 gives OneShot. Setting to 2 gives OneShot125
The difference between OneShot and OneShot125 is that OneShot125 uses a PWM output range of 125 usec to 250 usec, whereas OneShot uses the normal 1000 to 2000 range.
I’ve measured the latency for pulses starting after each main loop in oneshot mode on both Pixhawk and Pixracer as 25 usec.
Testers welcome!
Cheers, Tridge
ATC values not logged in PARM section.
I’ve pushed another binary for Pixracer that gets the WiFi working. It defaults to MAVLink at 921600 baud.
I tested on a Rover today. All went fine - no issues.
Well, I did have a GPS issue (I suddenly dropped from 9 to 4 satellites) but I’m certain that’s when I was enabling the GPS_SBAS_MODE setting. I normally don’t have it on but people are saying its supposed to be ok. I have nothing but trouble with it on my Rovers when I enable it.
Anyway, both tlog and dataflash links here in case you need them. Good to apply patch.
https://dl.dropboxusercontent.com/u/29772787/110.BIN.zip
https://dl.dropboxusercontent.com/u/29772787/flight.tlog
Thanks, Grant.
I see WiFi is working now. ESC calibration is working even without pushing safety switch with safety switch enabled.
Mike
APM serial number messages on Pixracer displays PX4v2 and not PX4v4.
This merge of PX4Firmware is now in master. Testing reports are still welcome!