Tongala

  • *
  • 27
Next
« on: January 27, 2018, 10:57:14 pm »
Hi I am looking to build another quad and was thinking of trying a BF F3 or F4 board.
 
I see that Next has support for a number of F3 boards (SPracingF3, SPracingF3Evo, PikoBLX and tinyFISH FC).
 
What about other BF F3 and F4 boards ? Are they or will they be supported and if so where to find their bootloader or can it be done inside GCS?

mr_w

  • *
  • 159
    • LibrePilot
Re: Next
« Reply #1 on: January 28, 2018, 07:28:45 pm »
The support for various F3 & F4 boards depends on how popular these are, and the probability of developer having one to at least verify the implementation.

Most of the sensors and peripherals used are already supported, it is just the way how these are connected to the MCU that is different.

The next has what it has, and there is also one interesting dev branch that will soon be pending for merge, and that one brings Omnibus F3 & F4 to list of supported board.  My suggestion for new build would be to get one of these (original boards from Airbot or any other based on that design).


Tongala

  • *
  • 27
Re: Next
« Reply #2 on: January 28, 2018, 08:40:29 pm »
Thanks for reply, yes the Omnibus f4 was the one I had in mind.
Looks like this will be in my new build.

Tongala

  • *
  • 27
Re: Next
« Reply #3 on: February 18, 2018, 04:20:48 am »
mr_w I understand you are the main author of the F4 branch.

I have built a new quad (280mm) and waiting for Airbot F4 v5.1 from Unmanned tech.
Is there anyway to get hold of a compiled version of the F4 branch that supports this board?

Been doing research on this board and it offers many more options to configure than Revo (I have three).
Betaflight looks good and I especially like the re-mapping feature but I am a rusted on LP fan.

Thanks

Re: Next
« Reply #4 on: February 18, 2018, 05:34:38 am »

mr_w

  • *
  • 159
    • LibrePilot
Re: Next
« Reply #5 on: February 18, 2018, 12:12:05 pm »
@Tongala

I have just updated my Omnibus F4 branch few days ago. There is now GCS support for hardware configuration, just like legacy boards had before.

One thing that I do not understand from this page https://www.unmannedtechshop.co.uk/omnibus-f4-v5-1-flight-controller/ is what type of gyro it has? Is it mpu6000 or icm20608? Although it doesn't matter too much - firmware is compatible with both types.


Tongala

  • *
  • 27
Re: Next
« Reply #6 on: February 18, 2018, 07:39:36 pm »
Will give building LP a try, thanks for links. Should be fun...

mr_w not sure about gyro either. I bought from Unmanned tech because at the time Airbot site was having troubles accepting orders.

Now just waiting for board to turn up.

Tongala

  • *
  • 27
Re: Next
« Reply #7 on: February 20, 2018, 03:02:23 am »
@  TheOtherCliff

I was successful with:

$ git clone https://bitbucket.org/mindnever/librepilot.git

and

$ git checkout omnibus_f3_f4
Checking out files: 100% (317/317), done.
Branch 'omnibus_f3_f4' set up to track remote branch 'omnibus_f3_f4' from 'origin'.                                                                                                   
Switched to a new branch 'omnibus_f3_f4'

I was feeling pretty pleased with myself until.....

I followed directions from both posts listed and keep getting these messages:

$ mingw32-make gcs
/usr/bin/sh: /mingw64/bin/python: No such file or directory
.
.
.
Project MESSAGE: Using python interpreter: "python2"
WARNING: headers.path is not defined: install target not created

Project ERROR: gstreamer-app-1.0 development package not found
mingw32-make: *** [Makefile:296: C:/msys64/home/*****/librepilot/build/librepilot-gcs_release/Makefile] Error 3                                                                                                   

I had a look in  /mingw64/bin/python  there is no python or python2 file or dir. but there is python3 and 3.6.
Coluld that be the problem ?

Got similar messages when trying to make omnibusf4, any ideas would be appreciated.

Re: Next
« Reply #8 on: February 20, 2018, 03:16:36 am »
So you are using Windows with MinGW to build.

I remember something about the 64 bit version of MinGW having problems, but it has been a long time since I tried any MinGW.

From your error message it looks like you need to install python from inside a MinGW prompt, probably using some kind of pacman command.  Others will have to help you further...

Tongala

  • *
  • 27
Re: Next
« Reply #9 on: February 20, 2018, 03:57:24 am »
Yes using Windows with MinGW, just following instructions from :

https://librepilot.atlassian.net/wiki/spaces/LPDOC/pages/14876735/Windows+Building+and+Packaging

Tried running pacman -Sy to update but same errors.

I didn't do either of these, Windows couldn't find pacman.conf:

Add LibrePilot MinGW repository

Add the following lines at the end of your /etc/pacman.conf file:
[librepilot-mingw]
SigLevel = Optional TrustAll
Server = http://download.librepilot.org/repo/mingw

or

Paste this code into the bash-window to add the above lines to /etc/pacman.conf
echo "[librepilot-mingw]" >> /etc/pacman.conf
echo "SigLevel = Optional TrustAll" >> /etc/pacman.conf
echo "Server = http://download.librepilot.org/repo/mingw" >> /etc/pacman.conf

Could that be the problem? Although I don't think so.
Edit. appears there is no need to.

thanks for having a look just trying to learn.

« Last Edit: February 20, 2018, 04:05:44 am by Tongala »

Re: Next
« Reply #10 on: February 20, 2018, 04:27:20 am »
I would try running the 32 bit MinGW.

I would also try installing (not just updating) python with the pacman command.  Error message seems to say that python is not installed.

Tongala

  • *
  • 27
Re: Next
« Reply #11 on: February 20, 2018, 06:19:55 am »
Will download the 32 bit version as I only downloaded the 64 bit one.

Regarding python, there are two versions in the correct directory 3 and 3.6 but Mingw does not recognize them.
They both run, if I rename them to just python mingw sees them but then this error.

 File "C:/msys64/home/Larry/librepilot/make/scripts/version-info.py", line 229  print "path:       ", self.path()
 SyntaxError: invalid syntax

Have searched but cannot find out how to use pacman to install different version of python.
MinGw seems to be looking for python2 although not sure if this message means that
 (Project MESSAGE: Using python interpreter: "python2").


I'm lost


   

Tongala

  • *
  • 27
Re: Next
« Reply #12 on: February 20, 2018, 09:13:49 pm »
Switched to 32bit and installed python 2. Error message regarding python is gone MinGW now sees python.

Still failed to build gcs with this message at end:
.
.
Project MESSAGE: Using python interpreter: "python"
WARNING: headers.path is not defined: install target not created

Project ERROR: gstreamer-app-1.0 development package not found
mingw32-make: *** [Makefile:296: C:/msys64/home/*****/librepilot/build/librepilot-gcs_release/Makefile] Error 3

spent too many hours on this. When board turns up will use BF until Omnibusf4 is merged into next.
Thanks for suggestions.

Re: Next
« Reply #13 on: February 20, 2018, 09:27:16 pm »
Quote
Project ERROR: gstreamer-app-1.0 development package not found

Sounds like something like gstreamer-something-dev needs to be installed.

f5soh

  • *****
  • 4220
    • LibrePilot
Re: Next
« Reply #14 on: February 20, 2018, 09:30:05 pm »
As requested by the error, you should install gstreamer
Code: [Select]
pacman -S --needed mingw-w64-i686-gst-plugins-base mingw-w64-i686-gst-plugins-good mingw-w64-i686-gst-plugins-bad mingw-w64-i686-gst-plugins-ugly  mingw-w64-i686-gst-libav
And
Code: [Select]
pacman -S --needed mingw-w64-i686-gstreamerbut this will be not needed.

Take a look here how to disable osg if you have issues later.
« Last Edit: February 20, 2018, 09:35:41 pm by f5soh »