2. Are you experienced in working with NetBeans & Eclipse as well as developing Java?
It is possible to import the MRL project into NetBeans, but it is a lot of manual work and you should know what you're doing. Also you need to keep up with some changes and make them yourself to your project.
I usually prefer NetBeans as well, but often it is just not worth setting it up again (did that often enough by now).
If you're still willing to do this, I will follow up with a more detailed explanation.
I did it using the command prompt (git clone <url>).
When we are at cloning, we can clone the repo as well (I usually put the repo under Documents/NetBeansLibaries/repo , because - whatever).
Now that we have both repositories cloned, we switch both to the develop branches (git checkout develop).
You might need to git pull to update remotes before and/or after.
Next we open the myrobotlab project in NetBeans, you can create a new project or import the eclipse project.
Importing *usually* works fine, ignore all errors regarding missing dependencies or libaries.
To add the dependencies, I usually create a new library in NetBeans (Tools -> Libraries -> New Library) and add all jar files to it. To add only the required files, I open the .classpath file in the root of the myrobotlab repository. Now I take each line and add it one by one to the library we created earlier.
This process takes a lot of time and is completly manual - the most annoying part of importing mrl in NetBeans.
When you're finished adding all jars to the library, you add the library to the project (right click the project -> Properties -> Libraries -> Add Library -> Select the library you created ealier.)
Let NetBeans scan the project one more time and you're done, there may be still errors remaining, but you can't do anything about most of them.
Note that more complex features, especially those that require native bindings (like e.g. opencv) are probably noWorky.
For anything more complex than just plain Java, I strongly recommend using Eclipse (It's worth it - really, even for me as somebody who prefers NetBeans for many other tasks). And it allows you to switch IDEs a lot easier - should you require a different one for one specific language or so.
I really hope this was helpful (altough I currently still do not recommend NetBeans for working on MRL ^^ ).
This took way too long on this crappy 500KBit/s connection.
If you have a custom board then most likely you'll need a new service to drive it probably. However, creating most of the service is trivial if it works over some serial usb protocol.
MyRobotLab in NetBeans
Hey,
it is possible to work on MyRobotLab in NetBeans.
Some questions first:
1. How much do you want it?
2. Are you experienced in working with NetBeans & Eclipse as well as developing Java?
It is possible to import the MRL project into NetBeans, but it is a lot of manual work and you should know what you're doing. Also you need to keep up with some changes and make them yourself to your project.
I usually prefer NetBeans as well, but often it is just not worth setting it up again (did that often enough by now).
If you're still willing to do this, I will follow up with a more detailed explanation.
Hello I am currently
NetBeans - MRL
I don't think I completly understood you, but here is how I always do it anyway:
Please keep us posted about your progress !
I'm going to assume you already have the JDK (1.8+) & NetBeans installed and configured.
First we import the main myrobotlab project. To do this, we clone the repository using git.
https://github.com/MyRobotLab/myrobotlab.git
I did it using the command prompt (git clone <url>).
When we are at cloning, we can clone the repo as well (I usually put the repo under Documents/NetBeansLibaries/repo , because - whatever).
Now that we have both repositories cloned, we switch both to the develop branches (git checkout develop).
You might need to git pull to update remotes before and/or after.
Next we open the myrobotlab project in NetBeans, you can create a new project or import the eclipse project.
Importing *usually* works fine, ignore all errors regarding missing dependencies or libaries.
To add the dependencies, I usually create a new library in NetBeans (Tools -> Libraries -> New Library) and add all jar files to it. To add only the required files, I open the .classpath file in the root of the myrobotlab repository. Now I take each line and add it one by one to the library we created earlier.
This process takes a lot of time and is completly manual - the most annoying part of importing mrl in NetBeans.
When you're finished adding all jars to the library, you add the library to the project (right click the project -> Properties -> Libraries -> Add Library -> Select the library you created ealier.)
Let NetBeans scan the project one more time and you're done, there may be still errors remaining, but you can't do anything about most of them.
Note that more complex features, especially those that require native bindings (like e.g. opencv) are probably noWorky.
For anything more complex than just plain Java, I strongly recommend using Eclipse (It's worth it - really, even for me as somebody who prefers NetBeans for many other tasks). And it allows you to switch IDEs a lot easier - should you require a different one for one specific language or so.
I really hope this was helpful (altough I currently still do not recommend NetBeans for working on MRL ^^ ).
This took way too long on this crappy 500KBit/s connection.
Thanks MaVo for this detailed
Thanks MaVo for this detailed answer !
Your descriptions and instructions are so clear and well written, it "almost" makes me want to try NetBeans :D
The plan is to convert to maven after the next release, this I would imagine make the project more IDE agnostic.
Another question and Thank you
Thank you MaVo
I still have a question is it with MRL as possible a different controller so not Arduino with servo API a bus number and the angle send!
At the controller is however no MRLComm drauf but a bus system!
My controller see link
Mrl already supports multiple
Mrl already supports multiple servo controllers ..
If you have a custom board then most likely you'll need a new service to drive it probably. However, creating most of the service is trivial if it works over some serial usb protocol.
- GroG