Comments (32)
More log:
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j gnu.io.RXTXPort.nativeDrain(Z)Z+0
j gnu.io.RXTXPort$SerialOutputStream.flush()V+92
j processing.serial.Serial.write(I)V+16
j MW_OSD_GUI.serialize8(I)V+13
j MW_OSD_GUI.headSerialResponse(ILjava/lang/Boolean;I)V+3
j MW_OSD_GUI.headSerialReply(II)V+21
j MW_OSD_GUI.SendCommand(I)V+498
j MW_OSD_GUI.InitSerial(F)V+166
j MW_OSD_GUI.controlEvent(LcontrolP5/ControlEvent;)V+25
j sun.reflect.GeneratedMethodAccessor1.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+
40
J 418 C2 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (63 by
tes) @ 0x00007ffa4917ab70 [0x00007ffa4917aac0+0xb0]
j controlP5.ControlBroadcaster.invokeMethod(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Obj
ect;)V+22
j controlP5.ControlBroadcaster.broadcast(LcontrolP5/ControlEvent;I)LcontrolP5/ControlBroadcaster;+247
j controlP5.ListBox.controlEvent(LcontrolP5/ControlEvent;)V+104
j controlP5.Controller.broadcast(I)V+47
j controlP5.Button.setValue(F)LcontrolP5/Button;+7
j controlP5.Button.activate()V+48
j controlP5.Button.mouseReleased()V+14
j controlP5.Controller.setMousePressed(Z)Z+114
j controlP5.ControllerGroup.setMousePressed(Z)Z+32
j controlP5.ControllerGroup.setMousePressed(Z)Z+32
j controlP5.ControlWindow.mouseReleasedEvent()V+39
j controlP5.ControlWindow.mouseEvent(Lprocessing/event/MouseEvent;)V+44
j sun.reflect.GeneratedMethodAccessor2.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+
40
J 418 C2 java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; (63 by
tes) @ 0x00007ffa4917ab70 [0x00007ffa4917aac0+0xb0]
j processing.core.PApplet$RegisteredMethods.handle([Ljava/lang/Object;)V+23
j processing.core.PApplet.handleMethods(Ljava/lang/String;[Ljava/lang/Object;)V+18
j processing.core.PApplet.handleMouseEvent(Lprocessing/event/MouseEvent;)V+192
j processing.core.PApplet.dequeueEvents()V+53
j processing.core.PApplet.handleDraw()V+301
j processing.core.PGraphicsJava2D.requestDraw()V+4
j processing.core.PApplet.run()V+179
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
from scarab-osd.
hi, can you try jre 1.7 32bit . i found problems with x64 and the java gui's
from scarab-osd.
Hi! thanks for the reply!
Seems to work, but I don't have the OSD/FTDI with me right now! I'll try in the evening and report back.
from scarab-osd.
great to hear that :)
from scarab-osd.
Good to know...
from scarab-osd.
Still, this is annoying, as I have to keep switching (using $ sudo update-alternatives --config java) between the default and the 32-bit version of java. Arduino won't work with 32-bit, and MW_OSD_GUI won't work with 64.
I tried setting the environmental variable JAVA_HOME to the dir of the 32-bit installation, hoping that MW_OSD_GUI would pick it up, but it doesn't :(
from scarab-osd.
Can confirm the same issues in Arch linux 64bit. I tried installing 32bit JVM but ran into the same issues. Currently my only option is to boot into windows so I would love to see some progress on this. Any way I can help track down the issue?
from scarab-osd.
Kind of off topic here, but what is the problem with the 32-bit version of Java? I had to download the tar, place it in the right directory, then run update-alternatives like this:
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jre1.7.0_76/bin/java 4
where the 4 is the first free "slot" available, when running sudo update-alternatives --config java. So I was getting 3 options so I added the 4.
Now I run sudo update-alternatives --config java and select 4 to run MW_GUI, or 0 to run all my other/normal Java programs. It's cumbersome, but it works.
But yes we should track it down properly.
The error I get when running MW_OSD_GUI 64-bit version is
hudlayout.xml does not exist or could not be read
from scarab-osd.
hudlayout.xml should exist in processing data folder. This shoudl be default folder for processing app might be worth checking to see if any capitalisation errors? / code looks for all lowercasename
from scarab-osd.
I don't understand your comment entirely. But hudlayout.xml exists in MW_OSD_GUI/application.linux64/data, and is lowercase as it should.
I also tried giving the script (MW_OSD_GUI/application.linux64/MW_OSD_GUI) the full java path (of the 32-bit java) but it won't work, I get "wrong ELF class".
from scarab-osd.
OK I was able to get it to work on Arch Linux with 32bit java. I realize now that the script was calling the 64bit java still so once I forced it to the 32bit run-time it worked fine (until windows killed my FTDI chip which is now working again =D)
from scarab-osd.
Could you please give us tips on how you did it?
from scarab-osd.
Wish I could help guys - have no linux knowledge at all.
maybe could install processing and run the source code directly??
sounds like btreecat may have the answers though...
from scarab-osd.
I'll be glad to give this a try, just hadn't had time. Glad to know
processing is a req, should be easy to get my environment set up.
@ShikOfTheRa no worries, we all started somewhere :-)
On Apr 8, 2015 10:12 AM, "ShikOfTheRa" [email protected] wrote:
Wish I could help guys - have no linux knowledge at all.
maybe could install processing and run the source code directly??sounds like btreecat may have the answers though...
—
Reply to this email directly or view it on GitHub
#6 (comment)
.
from scarab-osd.
Guys - am going to close this as I can't support linux.
MAc is just as bad... lol windoze all the way!
from scarab-osd.
@ShikOfTheRa That is not an acceptable answer.
I don't mind helping you support linux, and you can easily install it on a
spare partition/hard drive. I can even help you with that if you would
like.
I'll take a look at this bug this weekend and see what I can find.
@ShikOfTheRa what are the typical steps to setup your build environment?
I'd like to try and replicate it on my system with as little guesswork as
possible :-)
On Apr 16, 2015 11:14 AM, "ShikOfTheRa" [email protected] wrote:
Guys - am going to close this as I can't support linux.
MAc is just as bad... lol windoze all the way!—
Reply to this email directly or view it on GitHub
#6 (comment)
.
from scarab-osd.
I propose we leave it open. btreecat or me may find the time/courage to debug it at some point.
Or someone else who comes in may do so.
It's ok to leave it long running and open. Maybe one of the labels can be assigned.
from scarab-osd.
Ok - no issues here.
from scarab-osd.
@btreecat - its best answer I can give:) Its simply a case of prioritising my time. I just can't give it to ensuring compatibility with all different flavours of linux/mac/pc etc... hardly have time to focus on the core frequently used stuff.
I don't do anything for special linux - simply press teh box that says produce the linux export! mac doesn't seem to work either...
If you guys find anything that needs changing then left me know - all I really do it tick the box taht says produce.
Someone is intending to replace the gui with a chrome version same as baseflight/cleanflight config.
I can't wait because I absolutely hate the current GUI, what is programmed in and how its been implemented.
To implement:
Install processing from processing.org
Then "download windows zip" from https://github.com/ShikOfTheRa/scarab-osd
browse to gui folder and double on the MWOSD gui file
then press the play icon.
from scarab-osd.
Cool thanks for the info @shikofra !
It is probably some silly bug somewhere, I am sure Chris or I can track it
down before the new UI is available.
I would be interested to find out who is working on a chrome app as I have
had great success using cleanflight in various flavors of Linux.
Also off topic, have you had time to work on cleanflight 1.8 API support?
There were some changes and a few things no longer save through the OSD
menu.
Stephen Tanner
Web, Research, and Cloud Application Developer
Virginia Tech Transportation Institute
https://StephenTanner.com
On Thu, Apr 16, 2015 at 12:04 PM, ShikOfTheRa [email protected]
wrote:
@btreecat https://github.com/btreecat - its best answer I can give:)
Its simply a case of prioritising my time. I just can't give it to ensuring
compatibility with all different flavours of linux/mac/pc etc... hardly
have time to focus on the core frequently used stuff.
I don't do anything for special linux - simply press teh box that says
produce the linux export! mac doesn't seem to work either...If you guys find anything that needs changing then left me know - all I
really do it tick the box taht says produce.Someone is intending to replace the gui with a chrome version same as
baseflight/cleanflight config.
I can't wait because I absolutely hate the current GUI, what is programmed
in and how its been implemented.To implement:
Install processing from processing.org
Then "download windows zip" from https://github.com/ShikOfTheRa/scarab-osd
browse to gui folder and double on the MWOSD gui file
then press the play icon.—
Reply to this email directly or view it on GitHub
#6 (comment)
.
from scarab-osd.
Yes it's absolutely understandable that a dev does not have enough time/motivation to debug every platform or implement every requested feature. This is open source after all, no strings attached.
Cheers all
from scarab-osd.
For cleanflight specific support it will be limited to probably just getting the RC stuff working again. Unfortunatelythe recent additions to seperate pirch / roll rates broke isn't compatible
There is no memory spare to do much. Can't even run with all features enabled.
Every time need to add something new it means optimising memory somewhere else.Takes time
from scarab-osd.
I'm running same Ubuntu version and got the same problem described here.
I downloaded the Rxtx2.2pre2 source and compiled it myself (after modding it to actually compile) and now I can run the GUI on 64-bit java just fine.
from scarab-osd.
Great work @fnurgel!
So does this mean the source version just needs updated and recompiled in
order to distribute the fix?
On Apr 25, 2015 3:19 PM, "fnurgel" [email protected] wrote:
I'm running same Ubuntu version and got the same problem described here.
I downloaded the Rxtx2.2pre2 source and compiled it myself (after modding
it to actually compile) and now I can run the GUI on 64-bit java just fine.—
Reply to this email directly or view it on GitHub
#6 (comment)
.
from scarab-osd.
Actually, the one in "Upgraded RXTX/x86_64-unknown-linux-gnu/librxtxSerial.so" from this repo also seems to work.
The one in the dist is an older one.
from scarab-osd.
Maybe the issues with OS X and Linux is just needing to compile it on a
*nix platform. I don't mind setting up Jenkins on my VPS and have it auto
pull/compile binaries.
OTOH, since it is a different version, maybe @ShikOfTheRa just needs to
release an update with the new lib?
@ShikOfTheRa would you mind compiling it for linux again and sharing it
with us to test?
Stephen Tanner
Web, Research, and Cloud Application Developer
Virginia Tech Transportation Institute
https://StephenTanner.com
On Sat, Apr 25, 2015 at 3:38 PM, fnurgel [email protected] wrote:
Actually, the one in "Upgraded
RXTX/x86_64-unknown-linux-gnu/librxtxSerial.so" from this repo also seems
to work.
The one in the dist is an older one.—
Reply to this email directly or view it on GitHub
#6 (comment)
.
from scarab-osd.
sounds promising... try this gui zip file...
from scarab-osd.
helps if send link...
https://drive.google.com/folderview?id=0B2MInRUrbpWxSk9hZ3JIRXNRUU0&usp=sharing
from scarab-osd.
That gui zip works for me on 64-bit
from scarab-osd.
OK. thats good feedback. So all I did was updated the file in the processing compiler. Strange thing is I thought I had done this before.... so now to test a mac version
from scarab-osd.
Included in latest pre-release. Hopefully doesn't break others...
from scarab-osd.
hi there! just wanted to share that I hit the same issue while using from your Download-page the "MW OSD R1.3SP2" release. - Then I found this conversation here, tried the "LATEST COMPILED BETA TEST RELEASE" = "MWOSD R1.4 PRE 1.3" and that worked.
one additional thing I thought I'd mention somewhere: It took me a while to find that I needed to press the reset button of my MinimOSD just before installing a new software on it, otherwise it wont work. probably this is because my serial adapter does not have a line called RESET, GRN, or DTR - I only have connected power, TX and RX.
from scarab-osd.
Related Issues (20)
- MicrominimOSD with Inav HOT 8
- Mavlink OSD - some modes has wrong names HOT 9
- KISS FC WITH BLHELI32 ESC HOT 2
- large battery capacity HOT 12
- miniosd HOT 2
- minimOSD Vario with MS5611 GY63 HOT 1
- OSD layout reorganized after updating MWOSD from 1.9 to 2.0. HOT 7
- Requesting Addition of Additional Unit Support HOT 2
- Add fettec alpha support HOT 1
- Ardupilot and Matek Hardware Integration HOT 2
- Throttle value is 11% after arming HOT 1
- Baudrate change to 115200? HOT 3
- Is there any support for saving to a FETTEC G4 FC HOT 1
- Did HOT 1
- Helix VTX/OSD only black screen without OSD HOT 3
- DSHOT ESC Telemetry Display HOT 1
- Crossfire Telemetry Display HOT 1
- FormationFlight Support HOT 1
- mavlink2
- Is it possible to inject custom information from the FC into OSD?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scarab-osd.