I have previously used Mindstorms NXT and EV3, but never within the context of leJOS, just used the built in firmware and software. The capabilities I have seen thus far from leJOS and the research I have already done makes it seem like an incredible platform for automation, and I am excited (but struggling) to get into it.
We are undertaking a new project and need to create an automated lego Bucket Wheel Excavator model. The model is built, motors and EV3 brick attached to the model, and leJOS loaded onto the EV3, connected to a PC via Bluetooth. I have been able to connect to it and compile and send the program to the EV3 (a simple Hello, World! program.)
However, our end goal is to be able to have a GUI on a PC, allowing us to click on GUI buttons to activate different motors (Sometimes more than one motor at any given time.) Whilst the motors are moving, we would like to receive feedback from the motors as to how many rotations they have done, and update this value into a database. (The data itself will be displayed on a separate PC, it is just the collection and uploading of the data we need.)
Can anyone give me any pointers for how to get started with these steps? I am somewhat familiar with Java so I'm not totally new to programming, just completely new to leJOS and have been given a rather tight deadline to work with.
To summarise, we need:
- Remotely control motors from a PC program.
- PC Program to have a GUI, with buttons that control motors when clicked.
- EV3 brick to feedback to PC the number of rotations on each motor while the program is running.
- Program to upload data to a database. (I have used JDBC in the past, so I am familiar with this part.)
If anyone can help me out either on this post or in a personal message I would very much appreciate it.