You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move to LeJOS commons the missing interfaces & classes
Review on internet the majority of Use cases from Users
Review how to include the concept about BrickPi
Motivation:
Many users use the library to build software for robots in Mindstorms ecosystem, but in order to go further with the idea to have robots based on multiple bricks, it is necessary to implement the concept about LocalEV3.
Note: If you are going to use only one Brick, you could use directly the objects that you need to use in your program, but if you are going to use Remote capabilities, RemoveEV3 is necessary. In order to begin that journey, it is necessary to provide a LocalEV3 support.
Some examples using LocalEV3
Brickbrick = BrickFinder.getLocal();
Audiosound = brick.getAudio();
sound.systemSound(0);
RegulatedMotorleft = newEV3LargeRegulatedMotor(brick.getPort("B"));
RegulatedMotorright = newEV3LargeRegulatedMotor(brick.getPort("C"));
// get a port instancePortport = LocalEV3.get().getPort("S2");
// Get an instance of the Ultrasonic EV3 sensorEV3UltrasonicSensorsensor = newEV3UltrasonicSensor(port);
GraphicsLCDg = LocalEV3.get (). GetGraphicsLCD ();
BrickInfo[] bricks = BrickFinder.discover();
for(BrickInfoinfo: bricks) {
Brickbrick = newRemoteEV3(info.getIPAddress());
brick.getAudio().systemSound(0);
}
Steps:
LeJOS commons
the missing interfaces & classesBrickPi
Motivation:
Many users use the library to build software for robots in
Mindstorms
ecosystem, but in order to go further with the idea to have robots based on multiple bricks, it is necessary to implement the concept aboutLocalEV3
.In LeJOS ecosystem, LocalEV3 is a recent concept appeared in EV3:
http://www.lejos.org/ev3/docs/lejos/hardware/ev3/LocalEV3.html
Note: If you are going to use only one Brick, you could use directly the objects that you need to use in your program, but if you are going to use Remote capabilities, RemoveEV3 is necessary. In order to begin that journey, it is necessary to provide a
LocalEV3
support.Some examples using
LocalEV3
Article:
https://sourceforge.net/p/lejos/wiki/Remote%20access%20to%20an%20EV3/
Related issue:
#524
References:
Brick Capabilities:
Wifi capabilities:
Offtopic examples:
The text was updated successfully, but these errors were encountered: