- Posts: 268
- Forum
- News, Announcements and Feedback
- Feedback & Questions
- PB, request for code review and merge back
PB, request for code review and merge back
- suvsuv
- Topic Author
- Offline
Here is more detail info to help you review my changes
1) Devo6/8 use the pages folder , and Devo10 use the pages-devo10 folder during compiling. This is decided in the Makefile, hence other people could plug any pages-xxx for their preferred GUI pages
2) Other codes have very minimal modification to support devo8/6 and devo10 by using preprocessor directives, which makes the deviation project be compatible with any types of Devo TX
3) I don't change any functional methods for devo8 and devo6, dfus for devo8/6 should work exactly the same as yours. I verify most features in the emu_devo8, however, I don't have a real devo8 to test.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Thanks again for working on this.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Because you manually merged my code rather than doing it through mercurial, it will be impossible for me to use a pull to import your changes. But in this case I probably wouldn't anyway so it doesn't matter much.
I want to remove all of the #ifdefs in the code, and will need to rework things so that they are unnecessary, or at least are based on capabilities rather than model number.
The filesystem layout needs to be redone so that the filesystem is built for each Tx, rather than having both devo8 and devo10 files in the same directory.
I'm a bit concerned with fully separating the 'pages' as you've done. I understand the need, but am hopeful that at least some of the core functions can be shared. There is a lot of complexity in those files, and needing to maintain multiple copies will be a heavy burden.
Please Log in or Create an account to join the conversation.
- suvsuv
- Topic Author
- Offline
- Posts: 268
Please Log in or Create an account to join the conversation.
- suvsuv
- Topic Author
- Offline
- Posts: 268
I submit my codes using the SourceTrees, that is a GUI mercurial client, and I can pull codes from my repo in my another virtual machine
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I plan to work on it piece-by-piece, so I'll start with removing all the ifdefs from the gui code, for instance.
Once I have a section working, I'll merge it back into the deviation trunk, and go to the next piece. I expect to deal with the pages code last, because I don't really have any idea how to do it yet.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I see you've taken some shortcuts in the bargraph code.
specifically:
1) you draw outside the object's bounding box
2) you use a heuristic to draw 100% lines
I haven't fixed these yet, but they certainly both must go.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I have finished refactoring the gui code. I will likely merge it into the deviation trunk next, but I'll be traveling for a couple days, so that may not happen right away.
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
I didn't yet try to consolidate the devo8 and devo10 pages, and there is still a little cleanup to do here and there, but mostly it seems to work well.
Please Log in or Create an account to join the conversation.
- FDR
- Offline
+ Compiling 'target/common_emu/fltk.cpp'
In file included from target/common_emu/fltk.h:4:0,
from target/common_emu/fltk.cpp:37:
./gui/gui.h:42:5: error: expected identifier before numeric constant
./gui/gui.h:42:5: error: expected '}' before numeric constant
./gui/gui.h:42:5: error: expected unqualified-id before numeric constant
target/common_emu/fltk.cpp:40:1: error: expected declaration before '}' token
make: *** [objs/emu_devo8-w32/fltk.o] Error 1
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- FDR
- Offline
Please Log in or Create an account to join the conversation.
- suvsuv
- Topic Author
- Offline
- Posts: 268
I now had my repo in synced with your latest update and start working on mixer pages. Currently, I add 1 flag(traditional_mixer=1) in all devo10's model ini files , by this way, each model will be able to use either advanced mixers(aka deviation mixers) or traditional mixers(subtrim, travel adj, swash mix, thro curves and pit curves).
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
One of the tenets of Deviation is that you can share models between any Tx running deviation. a) I'm not keen on having 2 completely different mixers, and b) not being able to configure the same parameters on all Tx is certainly a showstopper.
If the mixers aren't compatible, then users who pick up a model will not be able to switch between them which I don't like either.
So if this is the direction you want to go, it is likely where you maintain your own fork. I am fine with that, it is why I chose the license I did. I'll start working on an interface to the existing mixers for the Devo10.
Please Log in or Create an account to join the conversation.
- suvsuv
- Topic Author
- Offline
- Posts: 268
Please Log in or Create an account to join the conversation.
- PhracturedBlue
- Offline
- Posts: 4402
Please Log in or Create an account to join the conversation.
- Forum
- News, Announcements and Feedback
- Feedback & Questions
- PB, request for code review and merge back
- Home
- Forum
- News, Announcements and Feedback
- Feedback & Questions
- PB, request for code review and merge back