Greetings! I am looking forward to use the latest scripting globals, namely mavlink, camera, mount and require on otherwise stable firmware. That is, I will have to build a custom firmware. What else do I need in order to achieve that, other than merging commits from the PRs listed below into stable fork?
All help is very much appreciated, thank you in advance for your assistance!
yes, that is basically it, git rebase those branches back to the Copter-4.4 branch. Just make sure to rebase only the last n commits from those branches, not the entire master branch
Thank you for the warm welcome and better wording!
To rebase or cherrypick turned out quite problematic, because branches from the PRs are avaliable no longer. To pick individual commits from the PR I failed miserably as well. For instance,
user@DESKTOP-CIHA7S1:~$ git clone https://github.com/ArduPilot/ardupilot.git
Cloning into 'ardupilot'...
remote: Enumerating objects: 437925, done.
remote: Counting objects: 100% (248/248), done.
remote: Compressing objects: 100% (176/176), done.
remote: Total 437925 (delta 120), reused 150 (delta 72), pack-reused 437677
Receiving objects: 100% (437925/437925), 305.13 MiB | 1.73 MiB/s, done.
Resolving deltas: 100% (324923/324923), done.
Updating files: 100% (5852/5852), done.
user@DESKTOP-CIHA7S1:~$ cd ardupilot
user@DESKTOP-CIHA7S1:~/ardupilot$ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
user@DESKTOP-CIHA7S1:~$ git cherry-pick 9737d8c890bb5295d31efee457153fbadfa90de1
fatal: bad object 9737d8c890bb5295d31efee457153fbadfa90de1
How exactly do you suggest rebasing those branches? A complete command will be met with extreme gratitude.
Thank you very much!
Now I think I am starting to understand what seems to be the problem: the commit hashes are different form the ones I took from the PR. Where did you get the hashes from? I need fill in the ellipsis, after all.
Thank you!
After merging I have run into the next issue: these PRs, especially the new viewpro driver, seem to depend on new lua features, like require. Lua: /APM/scripts/mount-viewpro-driver-4.5.lua:155 attempt to call a nil value (global 'require')
Yet, I was unable to find it in commit descriptions. What PR do I need?