Hi,
i had to refresh all my workspace under eclipse mars after a crash due to an electricity cut off . So i've a new workspace with my folders pulled form git and i get a lot of error . Java is version 8.152 all seems to be well configured . The problem is " The declared package "org.myrobotlab.service" does not match the expected package "main.java.org.myrobotlab.service" "
I'm sure it's a little thing, but i don't find how to solve it ..
Thanks for your help !
Edit : the errors are same with both develop and master branchs
Hi Beetle ! You probably
Hi Beetle !
You probably want to switch to "master" branch.
Manticore is the last release with the "old" Ant build, and this seems to be how your system is configured.
"Develop" branch is now Nixie project - with lots of big changes - one of which is the required directory structure of maven, which it appears you have run into.
It will take some time for us to get Nixie into super-worky. So, I suggest you use "master" and if you have changes we will merge them back into Nixie when its more worky.
Thx Greg, i've switched to
Thx Greg, i've switched to master, but i still get error on few files :
JavaFxGui.javaline 12 -> The import javafx cannot be resolvedline 50 -> Application cannot be resolvedSecurity.javalot of errors due to lines 15,16,17,18 -> The import javax.crypto cannot be resolvedMsg.method.template.java
lot of errors about -> - Syntax error on tokens, delete these tokens
Msg.template.java
JavaFx was Oracles attempt of
JavaFx was Oracles attempt of making a new UI framework .. I don't think its going very well.
On develop I got rid of all traces ..
in regards to the Msg.template.java - you can right click on it and exclude from build .. its not a complete java file, but used as a template, that's why it cant compile ..
I guess I better do a pull on master and see what I get
Thank you, now there's no
Thank you, now there's no error in the workspace but i still can't run mrl from eclipse . I will once again start from zero and pull all . There is something strange somewhere !
Ok, all is clean now, but
Ok, all is clean now, but when i run mrl in eclipse, i get this error for each service :
does not have a static getMetaData method
and of course it won't run
I get this error after that :
Hi, solved ! Eclipse said
Hi, solved !
Eclipse said that servicesData.json was missing in .myrobotlab and wasn' able to copy the one from src folder. So i've copy/paste it from the myrobotlab folder and now it lanch perfectly !! :D
A good thing done ! Now i'll try to make my adafruitServoDriver work because that don't work with the exemple. No error but the servo don't want to move ..
Pi or Arduino ?
The RasPi service was modified to allow MRL to compile without errors. But unfortunately that change made i2c NoWorky on the PI. If you look at the history here you can find why it doesn't work:
https://github.com/MyRobotLab/myrobotlab/tree/develop/src/main/java/org…
The Adafruit16CServoDriver should still work if you use it on an Arduino.
The Maven update seems have removed the need for the repo. I could get MRL to run in Eclipse without it.
thx mats, i'll look at your
thx mats, i'll look at your link. I'm using an arduino and all seem ok on my screen but the servo don't move. I've ordered two module so i'll test with the other one to be sure that the problem isn't due to a defective servo driver.If it don't work, i will open an other forum thread tomake the aswer easyer to find if someone encounter the same problem.EDIT: I found the problem ! Don't laugh, it's the first thing i'll had to check ! For test i use a battery holder with four 1.5v batteries and instead of 6v i had only 4.2v. with new batteries, it work a lot well !! lol
thx for your help
I'm laughing, because I do
I'm laughing, because I do the same thing all the time. I spend hours trying to figure out why OpenCV software doesn't work, when I have not plugged in the camera ! :D