jweijers / EV3-robots

MIT License
3 stars 2 forks source link

What is your opinion using the Java library on EV3Dev? #3

Open jabrena opened 6 years ago

jabrena commented 6 years ago

Hi @jweijers,

I noticed that you tested the Java library for EV3. https://github.com/jweijers/EV3-robots/tree/master/LineBot

What is your opinion?

Cheers

Juan Antonio

jweijers commented 6 years ago

Hi Juan Antonio,

Indeed I used the EV3 library. In general it worked well. Definitely better than Lejos (horribly slow, the same program didn’t work at all). I do miss a few features, mainly motor synchronization. As I did now it isn't really perfect. In general I think it would be best if all basic Lego Mindstorm features would work before moving to anything else. The Lejos API for me isn’t really important, any API that allows good control of the robot and all motors/sensor would be ok.

In a broader sense I think having a more reactive style API/library on top of API would be even better. Working with behaviours does some times lead to interesting behavior (can’t remember specifics, have been a bit busy with other things lately).

I should definitely get back to doing more mindstorms…

Cheers,

Jeroen

Op 20 apr. 2018, om 10:17 heeft Juan Antonio Breña Moral notifications@github.com het volgende geschreven:

Hi @jweijers https://github.com/jweijers,

I noticed that you tested the Java library for EV3. https://github.com/jweijers/EV3-robots/tree/master/LineBot https://github.com/jweijers/EV3-robots/tree/master/LineBot What is your opinion?

Cheers

Juan Antonio

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jweijers/EV3-robots/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/ABadY3_khJGHLy-Z6auebwWu-2oW-5qaks5tqZmegaJpZM4TdDN5.

jabrena commented 6 years ago

Hi @jweijers,

I like reading your comments. Yes, I tried to do my best. :)

I will explain my idea for the middle term:

I am trying to close current implementation and later, we could improve on top of that version. Other developers say the same. If you have some time, would you like to participate in the project in some area? In next iteration, I will do some internal changes (1 month) and later, we could discuss how to improve the API in many ways. Do you know how to synchronise motors from Java layer? At the moment, lejos-navigation run nice without the syncronization, but I suppose that exist some hidden bugs, this is the reason to put the library as Incubator.

In my case, this year, I would like to finish the ROS library.

What do you say?

Juan Antonio

jabrena commented 6 years ago

I invited to this issue https://github.com/ev3dev-lang-java/ev3dev-lang-java/issues/480 you could do some comments about reactive style API/library, we could do as part of the evolution of current LeJOS API, but we should maintain Differential Pilot compatibility, in my humble opinion.