poizone wrote:It looks like your only problem is that the readme.md files aren't merging properly. Just skip the error to finish the rebase, and manually merge the readme files if you changed it. It should work just fine. This error specifically means that the same line of your file has been changed by two different commits, and git doesn't know which to apply.
More info in the Git help:
https://help.github.com/articles/resolv ... it-rebase/
Thanks for your reply, but this error shows up for many files. If I think about it, it makes sense since the files from the
crazyflie2 branch diverged a lot from the ones of my
sonar-mb1242 branch which is originally based on the CF 1.0 code base. So I don't think this would be the most comfortable way. Unless someone tells me something else... :
I decided to port my sonar code manually to the existing
crazyflie2 branch. This way I am able to eliminate some commits that only exist because I coded some lines without actually thinking about them in detail the first time (I2C addresses for example).
So I switched to the crazyflie2 branch and imported my work from the
sonar-mb1242 branch by checking out the mb1242 driver source, HAL and header files:
Code: Select all
git checkout crazyflie2
git checkout sonar-mb1242 drivers/src/mb1242.c
git checkout sonar-mb1242 drivers/interface/mb1242.h
git checkout sonar-mb1242 hal/src/sonar.c
git checkout sonar-mb1242 hal/interface/sonar.h
After this, the main part of my sonar development is in my working directory on top of the branch
crazyflie2. Rebuilding the function calls to these files in
stabilizerInit and
stabilizerTask is just a breeze.
After I get my work done for proper CF 2.0 integration I will just have to do an initial push including all the local changes. It might be helpful to do this on an additional branch, again.
Hope this will help if someone is faced with the same issues as I was.
See you.