MwGui - Another Gui
-
- Posts: 702
- Joined: Sun Aug 28, 2011 8:14 pm
- Contact:
Re: MwGui - Another Gui
I read the intructions and build,repaired permissions, etc, but still not able to run, so... I think that I´m going to wait for a clic and go for MAC
PowerMAC11,2
G5 Quad 2.5GHz
OS 10.5.8
8GB DDR2
Cheers,
H
PowerMAC11,2
G5 Quad 2.5GHz
OS 10.5.8
8GB DDR2
Cheers,
H
Re: MwGui - Another Gui
@macos user :serial port rescan should update on demand now
Re: MwGui - Another Gui
Pyrofer wrote:Couple of suggestions (get used to it, its all I have right now!)
Disable the buttons such as "start, stop" when it's not connected to a serial port as that seems to lock up the app if you press them.
Can you have a default set of PID and checkboxes show on startup rather than the blank page? Would look nicer.
These are simply cosmetic changes so feel free to ignore
Thanks again on the speedy development here!
done, i started to add the compas and other instruments Panel
https://github.com/treymarc/mwi-swing/wiki
Re: MwGui - Another Gui
fiendie wrote:kos wrote:will not be merge yet , i will change the directory layout to include maven modules for extra step (mac bundle , jnlp , etc .. ) so prepare another pom for that
No rush
There actually is a Maven plugin, too.
I will test that.
merged -> https://github.com/treymarc/mwi-swing/t ... mac-bundle
Re: MwGui - Another Gui
kos wrote:merged -> https://github.com/treymarc/mwi-swing/t ... mac-bundle
I'll wrap that into maven so the bundle will be created in the package phase and just copied to the target directory
The AntRun plugin is playing hard to get but I'll figure it out =)
Re: MwGui - Another Gui
kos wrote:
new heading display ... suggestions ?
-
- Posts: 2261
- Joined: Sat Feb 19, 2011 8:30 pm
Re: MwGui - Another Gui
Dude!!! Wow and another Wow!
Re: MwGui - Another Gui
@kos: I adjusted the Mac OS X bundle generation to the new directory structure. The code is up on my GitHub.
Anyone who wants to build the code on a Mac has to add the mac profile on the command line now:
The bundle will be in mac-bundle/target
A working app bundle of the current snapshot can be downloaded here:
http://flexo.fiendie.net/MultiWiiConf.dmg
Anyone who wants to build the code on a Mac has to add the mac profile on the command line now:
Code: Select all
mvn install -P mac
The bundle will be in mac-bundle/target
A working app bundle of the current snapshot can be downloaded here:
http://flexo.fiendie.net/MultiWiiConf.dmg
-
- Posts: 702
- Joined: Sun Aug 28, 2011 8:14 pm
- Contact:
Re: MwGui - Another Gui
Hi,
is this universal? it can not run on my architecture.
I´m very confuse already! please post a how to from the beginning (detailed instructions) for confused guys.
Cheers,
H
is this universal? it can not run on my architecture.
I´m very confuse already! please post a how to from the beginning (detailed instructions) for confused guys.
Cheers,
H
Re: MwGui - Another Gui
kos wrote:new heading display ... suggestions ?
Looks nice! Not sure how complicated that would be, but I'd suggest to replace the plane image with an arrow or a copter image (maybe a different one depending on the configuration?)
Still waiting for the new serial protocol to hit the trunk, so I can toy around with the new GUI
Re: MwGui - Another Gui
kataventos wrote:Hi,
is this universal? it can not run on my architecture.
I´m very confuse already! please post a how to from the beginning (detailed instructions) for confused guys.
Cheers,
H
Hi kataventos,
that version was built with target level 1.6+. I uploaded another version built for 1.5. under the same link. Could you test that and let me know if it works on 32-bit Mac OS?
Cheers
Andreas
Re: MwGui - Another Gui
LenzGr wrote:Not sure how complicated that would be, but I'd suggest to replace the plane image with an arrow or a copter image (maybe a different one depending on the configuration?)
as multiwii does support ariplane , best practice is to send me any images .. i will add them
Re: MwGui - Another Gui
fiendie wrote:@kos: I adjusted the Mac OS X bundle generation to the new directory structure. The code is up on my GitHub.
merged
Re: MwGui - Another Gui
kos wrote:as multiwii does support ariplane , best practice is to send me any images .. i will add them
Good point. What is the preferred file format for these images? SVG?
-
- Posts: 702
- Joined: Sun Aug 28, 2011 8:14 pm
- Contact:
Re: MwGui - Another Gui
OK, so... Can some one post a step by step for MAC?
I´m getting very nervous and it´s rare thing...
Cheers,
H
I´m getting very nervous and it´s rare thing...
Cheers,
H
Re: MwGui - Another Gui
do not have a MAC , can not help
simple step is :
1 - download multiwiiConf , unzip
2 - download/compile mwgui-jar-withblabla.jar in the <Macos>/lib folder
3 - download/compile the mwgui.sh script in <Macos> folder
open Terminal , cd <Macos>
4 - chmod 755 mwgui.sh (set right execution for your user)
5 - ./mwgui.sh
tada , should work ..
it is a mimic of the multiwiiconf setup , nothing more
gimp xcf , png + alpha , multilayer is ok
you can anticipate the need for images to construct some other nice servo/motor uav panel , be creative
you can send me a pm with download link , but github is better -> https://github.com/treymarc/mwi-swing/issues?state=open
sample : https://github.com/treymarc/mwi-swing/t ... /resources
thanks for your help !
simple step is :
1 - download multiwiiConf , unzip
2 - download/compile mwgui-jar-withblabla.jar in the <Macos>/lib folder
3 - download/compile the mwgui.sh script in <Macos> folder
open Terminal , cd <Macos>
4 - chmod 755 mwgui.sh (set right execution for your user)
5 - ./mwgui.sh
tada , should work ..
it is a mimic of the multiwiiconf setup , nothing more
LenzGr wrote:kos wrote:as multiwii does support ariplane , best practice is to send me any images .. i will add them
Good point. What is the preferred file format for these images? SVG?
gimp xcf , png + alpha , multilayer is ok
you can anticipate the need for images to construct some other nice servo/motor uav panel , be creative
you can send me a pm with download link , but github is better -> https://github.com/treymarc/mwi-swing/issues?state=open
sample : https://github.com/treymarc/mwi-swing/t ... /resources
thanks for your help !
Re: MwGui - Another Gui
kataventos wrote:OK, so... Can some one post a step by step for MAC?
I´m getting very nervous and it´s rare thing...
Cheers,
H
No need to get nervous
It's a very early developer build so have some patience.
The steps in the Readme up on GitHub are very comprehensive and should get you through the build process.
It would be easier if you told us where exactly your problems lie.
Cheers
Andreas
-
- Posts: 702
- Joined: Sun Aug 28, 2011 8:14 pm
- Contact:
Re: MwGui - Another Gui
Do I need to add the MAVEN_OPTS environment variable to specify JVM properties?
H
Edit: brain stopping here
Edit 1.0: dead brain (only capable to fly Multiwii drones)
H
Edit: brain stopping here
Edit 1.0: dead brain (only capable to fly Multiwii drones)
Re: MwGui - Another Gui
So this gui works on Windows too right? I don't see instructions in the read me how to.set it up in Windows.
Re: MwGui - Another Gui
msev wrote:So this gui works on Windows too right? I don't see instructions in the read me how to.set it up in Windows.
The steps are the same. Instead of executing the shell script you just use the batch file in Windows.
You have to have Apache Maven installed and add it to your PATH: http://www.mkyong.com/maven/how-to-install-maven-in-windows/
First, clone the repository with the Windows GitHub app.
Then install the serial lib to your local maven repository from the Command Prompt.
Code: Select all
mvn install:install-file -Dfile=C:\path\to\gnu\serial\1.0\serial-1.0.jar -DgroupId=gnu -DartifactId=serial -Dversion=1.0 -Dpackaging=jar
After that run
Code: Select all
mvn clean install
Hope that helps.
Cheers
Andreas
Re: MwGui - Another Gui
Last edited by kos on Mon Jun 25, 2012 8:33 pm, edited 1 time in total.
Re: MwGui - Another Gui
feel free....
Re: MwGui - Another Gui
K-os, just an idea for motor power...
On the quads in the GUI I made I used a circle that slowly filled as motor power increased. I also changed colour with power.
Another option was a pie chart type circle that "pac-man"d more open/closed to show power.
More interesting than the bars I think. Just an idea though!
On the quads in the GUI I made I used a circle that slowly filled as motor power increased. I also changed colour with power.
Another option was a pie chart type circle that "pac-man"d more open/closed to show power.
More interesting than the bars I think. Just an idea though!
Re: MwGui - Another Gui
Pyrofer wrote:K-os, just an idea for motor power...
On the quads in the GUI I made I used a circle that slowly filled as motor power increased. I also changed colour with power.
Another option was a pie chart type circle that "pac-man"d more open/closed to show power.
More interesting than the bars I think. Just an idea though!
It's up to Kos, but during prototyping the WinGUI I tried the pie chart approach, and it does not work well, the bar graph fits better to power level visually than a pie.
Re: MwGui - Another Gui
Really? I guess it's all personal preference.
Maybe have some options in the GUI for what you prefer.
I quite like the growing circle approach I have now and think it looks nice. Whatever Kos does I am sure it will be great.
I find the colour change from red to green makes it visually easier to tell quickly what the power level is too.
Maybe have some options in the GUI for what you prefer.
I quite like the growing circle approach I have now and think it looks nice. Whatever Kos does I am sure it will be great.
I find the colour change from red to green makes it visually easier to tell quickly what the power level is too.
Re: MwGui - Another Gui
Java, Windows, Bars, Pies all are items thats do not matter on aircraft. Each one is a personal opinion not a technical solution so every one will use the preferred solution
So, I using windows based pc the I using today and I'm using tomorrow the EOSBandi solution, I hope that EosBandi will continue to maintain it's solution.
So, good luck to everyone that would experience new ways on this wonderful free project
So, I using windows based pc the I using today and I'm using tomorrow the EOSBandi solution, I hope that EosBandi will continue to maintain it's solution.
So, good luck to everyone that would experience new ways on this wonderful free project
Re: MwGui - Another Gui
" I hope that EosBandi will continue to maintain it's solution."
I don't think there was any suggestion that he stop!
This is just an alternative and I am only suggesting ideas, no need to panic :p
I don't think there was any suggestion that he stop!
This is just an alternative and I am only suggesting ideas, no need to panic :p
Re: MwGui - Another Gui
- Attachments
-
- bar.png
- (8.74 KiB) Not downloaded yet
-
- Posts: 702
- Joined: Sun Aug 28, 2011 8:14 pm
- Contact:
Re: MwGui - Another Gui
Hi,
need some help here! today I try to use the older gui and did not work... I have the ports in use... I think I have messed up trying to put your gui working on my mac... any ideas?
Cheers,
H
need some help here! today I try to use the older gui and did not work... I have the ports in use... I think I have messed up trying to put your gui working on my mac... any ideas?
Cheers,
H
Re: MwGui - Another Gui
first
or
remove everything and unzip the original gui
Code: Select all
ps aux | grep java
kill -9
or
Code: Select all
reboot
remove everything and unzip the original gui
Code: Select all
http://code.google.com/p/multiwii/downloads/list
-
- Posts: 702
- Joined: Sun Aug 28, 2011 8:14 pm
- Contact:
Re: MwGui - Another Gui
Thanks Kos, it is working now! I would like to put this one working but... no can do.
Re: MwGui - Another Gui
fiendie is working on the mac packaging
gui is 50% ready
gui is 50% ready
-
- Posts: 702
- Joined: Sun Aug 28, 2011 8:14 pm
- Contact:
Re: MwGui - Another Gui
I´m waiting for that!
Cheers,
H
Cheers,
H
Re: MwGui - Another Gui
Can you update the .jar in build,as that's 5 days old and I would like to see the latest one.
Re: MwGui - Another Gui
Pyrofer wrote:Can you update the .jar in build,as that's 5 days old and I would like to see the latest one.
you can find the latest dev build download link
thanks to fiendie
Last edited by kos on Thu Jun 28, 2012 12:15 am, edited 1 time in total.
Re: MwGui - Another Gui
What are the issues or difficulties that might come up while trying to add firmware downloading support to this UI?
If it is feasible, that might be something that I can look into. I know Java very well.
Is this just too board specific to even try?
If it is feasible, that might be something that I can look into. I know Java very well.
Is this just too board specific to even try?
Re: MwGui - Another Gui
Liftoff wrote:What are the issues or difficulties that might come up while trying to add firmware downloading support to this UI?
none
this is on the task list -> https://github.com/treymarc/mwi-swing/issues/8
this issue is not assigned to the first release .. and i am focusing on the first release so your help is very welcomed
- add a button in the menu
- select the firmware (check for update on google sources , or checkout the latest dev version)
- compile & upload
best pratice is to use the avrdude and gcc from the orginial arduino IDE , so the uploaded code is 100% arduino like
side note : we have no clean packaging yet and this is required here
Liftoff wrote:I know Java very well.
here is the red pill : https://github.com/arduino/Arduino/blob ... oader.java
Re: MwGui - Another Gui
kos wrote: your help is very welcomed
Thanks for the warm welcoming. A couple of observations and points of view:
- I am using Cortex M3 Freeflight Board, not AVR, so the download procedure and the compile is definitely different.
- I was hoping to have a pure java solution so it would run on Linux, which is where I live these days. Chain loading another native executable is not what I had in mind.
- I don't think compiling the target source in this GUI is the way to go. In my case I am using Timecop's Free Flight forked mwii source initially anyway. I would sooner invest in supporting that via a server side resource, like what Maple is doing. There are too many loose ends and too many dependencies to make building on the field computer bullet proof. Making an IDE is probably harder than making a cloud compile service, or a couple of them since we have 8 bit and 32 bit targets in play.
Re: MwGui - Another Gui
kos wrote:best pratice is to use the avrdude and gcc from the orginial arduino IDE , so the uploaded code is 100% arduino like
for arm : best pratice is to use openocd and gcc
u could check the link in : http://www.rcgroups.com/forums/member.php?u=342216
Re: MwGui - Another Gui
for arm : best pratice is to use openocd and gcc
I used to contribute to openocd, but got tired of programming on my hands and knees. (Rewrote major portions of it in Groovy, Java and C++.)
Fortunately with the STM32 (Cortex M3) they've got some kind of quasi-permanent monitor routine in there that can be used with a simple serial download with intermediate ACK, of the main firmware in the form of a hex file.
I have the C source to this download tool for linux, and now I have the Java gnu.io serial stuff installed, so most barriers are falling away. Will check to see if there are any legal barriers from ST.
Re: MwGui - Another Gui
I would suggest that we request our own highest level TOPIC, that is at the highest level of this forum. This thing is going to have legs, so there is no need to hide it deep inside this forum engine.
BTW, is anyone else finding the forum very slow, and does it seem to hog your browser's time somehow?
BTW, is anyone else finding the forum very slow, and does it seem to hog your browser's time somehow?
Re: MwGui - Another Gui
you should now have right to create/add/modifies issue in the jira
Re: MwGui - Another Gui
can i get a quick tutorial for installing it on ubuntu?
i'm not so familiar with linux yet.. but it is the only netbook I have that is easy to bring outside for tuning
thanks
i'm not so familiar with linux yet.. but it is the only netbook I have that is easy to bring outside for tuning
thanks
Re: MwGui - Another Gui
current status ;
- code clean up & checkstyle in progress
- waiting for the jira open source approval
what would be , in your opinion, the best collaborative tools for this project ?
- code clean up & checkstyle in progress
- waiting for the jira open source approval
what would be , in your opinion, the best collaborative tools for this project ?
Re: MwGui - Another Gui
kos wrote:current status ;
- code clean up & checkstyle in progress
- waiting for the jira open source approval
what would be , in your opinion, the best collaborative tools for this project ?
It is a matter of opinion, like asking what is the best color. In my opinion, this forum is miserably difficult to use, relative to a mailing list which lets me interact with it using my mail client.
However, the mail list record does not organize that well into thread topics, but google helps with that.
I just find this forum extremely slow, it is virtually painful, mostly due to the poor speed. It needs to be 10 times faster. But even then, I don't have to log in to get an email, here I do.
Version control: I enjoy using bzr. It has an extremely nice gui, and runs well on all interesting platforms. It is the "best" version control system I have used to date (like teal is my "best" color).
It is a distributed version control system, so it is nice to have local commits, separate branches. It is simpler than git, with probably better cross platform support since windows is not strong for git.
bzr lets you offer read only repo support just using http to the outside world. So a limited audience or a read only audience would not need a site like launchpad.net. You simply put the repo under a docroot somewhere and that is instant read only access.
launchpad.net is pretty decent, but I would say most of its value is its predominate support and use of bzr (bazaar). A project there lets everyone be a rock star with their own branches.
There are code reviews and bug reports, and mailing list support also. And it is not google, who now admits to doing data mining on everything it can get its hands on.
I don't know Maven well enough yet to formulate an opinion, but I think the learning curve is more difficult than advertised. So it was not fantastic experience.
Re: MwGui - Another Gui
Liftoff wrote:It is a matter of opinion, like asking what is the best color. In my opinion, this forum is miserably difficult to use, relative to a mailing list which lets me interact with it using my mail client.
However, the mail list record does not organize that well into thread topics, but google helps with that.
I just find this forum extremely slow, it is virtually painful, mostly due to the poor speed. It needs to be 10 times faster. But even then, I don't have to log in to get an email, here I do.
Version control: I enjoy using bzr. It has an extremely nice gui, and runs well on all interesting platforms. It is the "best" version control system I have used to date (like teal is my "best" color).
It is a distributed version control system, so it is nice to have local commits, separate branches. It is simpler than git, with probably better cross platform support since windows is not strong for git.
bzr lets you offer read only repo support just using http to the outside world. So a limited audience or a read only audience would not need a site like launchpad.net. You simply put the repo under a docroot somewhere and that is instant read only access.
launchpad.net is pretty decent, but I would say most of its value is its predominate support and use of bzr (bazaar). A project there lets everyone be a rock star with their own branches.
There are code reviews and bug reports, and mailing list support also. And it is not google, who now admits to doing data mining on everything it can get its hands on.
I don't know Maven well enough yet to formulate an opinion, but I think the learning curve is more difficult than advertised. So it was not fantastic experience.
I think we should stick with what we have already.
JIRA works perfeclty for this kind of project.
Git and Github is a tried and tested combination and it has worked great so far. Why change that? It also has no affiliation with Google. I see no advantage of launchpad over GitHub.
While Maven may be a bit much to digest at first there is really no better way to manage dependencies and lifecycles in a Java project.
I say we stay with what we have.
Re: MwGui - Another Gui
launchpad seem to have a better issue managing system than github ?
jira is big (i will have to put it on a dedicated vhost for proper hosting) and we do not have the open source license yet .. to me it is complementary to git-hub .
we can create a mailing list based on the jira-mwgui group , but i tend to be more receptive to commit and todo lists .
the main concern is sharing code and knowing what other are doing so there is no overlap or wasted work
edit : Congratulations, your Open Source project has been approved for Open Source Licenses!
jira is big (i will have to put it on a dedicated vhost for proper hosting) and we do not have the open source license yet .. to me it is complementary to git-hub .
we can create a mailing list based on the jira-mwgui group , but i tend to be more receptive to commit and todo lists .
the main concern is sharing code and knowing what other are doing so there is no overlap or wasted work
edit : Congratulations, your Open Source project has been approved for Open Source Licenses!
Re: MwGui - Another Gui
thanks to Liftoff the gui is now much smoother , it work with the 2.1 release candidate , tricopter an bicopter are now supported + some other minor improvements ...
Re: MwGui - Another Gui
thanks to fiendie , the MacBundle is now ready, alterscape joined the effort.
the MwGui - Another Gui is now renamed multiwii-gui-swing to match the multiwii naming pattern .
you can find the new repo url on the community page https://github.com/multiwii.
the MwGui - Another Gui is now renamed multiwii-gui-swing to match the multiwii naming pattern .
you can find the new repo url on the community page https://github.com/multiwii.