Servers by jDrones

New OS free F4Light HAL

ardupilot

(Andrea Belloni) #21

Sorry but i don’t have any knowledge about this


(basti) #22

it’s been quite a while since i’ve last set up a heli, but iirc it requires 5 outputs minimum (3 x swashplate, tail, governor)?
revo and revomini do have 6 standard pwm outs. omnibus flavors likely only have 4 outputs on standard servo-rail, but most do have separate additional solderpads for pwm 5 & 6.

cheers, basti.


(Hugues) #23

This is so cool. I can now upgrade my sleeping FPV racers to Arducopter and get them back to useful work !


(Tomasz) #24

Hi
Where can I find latest.zip file


(Andrea Belloni) #25

Normally on @night_ghost Ardupilot fork, now is not there, I think he is working on this and it will reappear soon.

In alternative it is possible to build it from Ardupilot master:

I built it for Copter on linux following this
http://ardupilot.org/dev/docs/building-px4-for-linux-with-make.html#building-px4-for-linux-with-make

follows the Setup section then on the Build section:

for revolution / RevoMini

cd ArduCopter
make f4light

at the end of compilation f4light_Revolution.bin, .hex and .dfu are on the same dir

for AirbotV2 (Omnibus F4 V2 Pro)

[Edit] all that in italic no more needed commit 75180c3 fixed those problems

[in ArduCopter dir]

cd …/libraries/AP_HAL_F4Light/hardware/osd/osd_core
ln -sf …/…/…/support/minimosd-extra/MinimOsd_Extra/Params.h Params.h
cd …/…/…/…/…/ArduCopter/

[a wrong symlink]

then edit the file: …/libraries/AP_HAL_F4Light/hardware/osd/osd_core/GCS_MAVLink.h
and change BetterStream in AP_HAL::BetterStream on lines 23, 26 [this may change with future commits]

then edit the file: …/libraries//AP_HAL_F4Light/hardware/osd/osd_core/OSD_Max7456.h
and change BetterStream in AP_HAL::BetterStream on line 88 [this may change with future commits]

then

make f4light-clean
make f4light BOARD=f4light_AirbotV2

at the end of compilation f4light_AirbotV2.bin, .hex and .dfu are on the same dir

ciao
andrea


(night ghost) #26

sorry but I don’t interested in TradHeli so can’t help


(Tomasz) #27

Hi
I have a problem to build f4light firmware
I clone repo with
git clone https://github.com/night-ghost/ardupilot.git
then
cd ardupilot/ArduCopter
make f4light
and I get
make: *** No rule to make target ‘/home/ubuntu/ardupilot/modules/mavlink/message_definitions/v1.0/ardupilotmega.xml’, needed by ‘/tmp/ArduCopter.build/libraries/GCS_MAVLink/include/mavlink/v2.0/ardupilotmega/mavlink.h’. Stop.
any help


(night ghost) #28

use code from Ardupilot/Ardupilot, not from my repo


(Christian) #29

Is it possible to use
Currentsensor
Airspeed Sensor
OSD
GPS
on the Revo board?

I’m about to order a new FC but before i do that i wanna know if i can use my Genuine revo board instead.


(Tomasz) #30

Ok
I builded firmware from Ardupilot/Ardupilot, for cc3d revo but if i try to connect radiolink se100 gps with HMC5983 commpass in QGC i get - seconnd compass - not instaled.
When I use yours firmware ( 22 February) evrything is OK.
Any Ideas ?


(night ghost) #31

My firmware does auto-scan of external I2C bus for all known compases while upstream don’t.


(Tomasz) #32

Is it possible to add auto scan to upstream ?


(night ghost) #33

PR is ready

PS. this is meaningless text to make stupid restriction “20 characters minimum” to be happy


(Andrea Belloni) #34

With Revolution / RevoMini there are two way to connect I2C device.
If the parameter BRD_FLEXI_I2C is set to 0 flexi port is UART and I2C is on pin 9, 10 (for Revolution) or 7, 8 (for RevoMini) of the RC Input connector.
If the parameter BRD_FLEXI_I2C is set to 1 flexi port is I2C and pin 9, 10 (Revolution) 7, 8 (RevoMini) can be used as SoftSerial.

I think this is true both for master and for @night_ghost fork.


(night ghost) #35

sure!

PS. this is another meaningless text to make stupid restriction “20 characters minimum” to be happy


(Tomasz) #36

yes it’s true but if I build firmware from upstrem it dosent do autoscan.
Compass 2 not installed
Compass 3 not installed


(Tomasz) #37

Sorry I,am beginner ni development
Maybe this is a trivial question waht do You mean “PR is ready”


(Coby Leuschke) #38

@tomekr it means he has submitted a pull request (PR) for the fix you mention. it has to be reviewed and approved by others before it is committed. short hand for please look at this code that fixes a problem or adds a feature, and if it does not cause issues or regression than please merge it into the project.

Edit: Here’s a link to an OK tutorial https://product.hubspot.com/blog/git-and-github-tutorial-for-beginners


(Nick2204) #39

Will the latest binaries reappear soon?
Keen to try this on an OP revolution board i had lying around!


(chris rey) #40

Hi @night_ghost , Airbot Omnibus F4 V5 also supported? Same as V3? Thanks.