-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not connect to brick. #8
Comments
Use IP address, it usually takes a couple of minutes. I haven't tried on Windows 7. You need to create a run configuration for Lejos. |
What am I missing? |
Hi, are you using jdk7? Can you ping your ev3 from your pc? Can you open an
ssh connection to it?
…On Mar 13, 2018 8:59 AM, "clplaneguy" ***@***.***> wrote:
1.
Install plugin and restart IDE. Done
2.
Create a lejOS project. Done
Project name: *3-13-2018_leJOS_PROJECT*
3.
Go to File > Settings > Tools > LejOS Plugin. Done
4.
Set EV3_HOME and brick's name (Default is 10.0.1.1). Done
EV3_HOME *C:\Program Files\leJOS EV3*
Name *10.0.1.1*
*File > Settings > Tools > leJOS Plugin* is set
5.
Write code to your EV3. Done
I have created a leJOS PROJECT/"Hello World" program.
6.
Create a run configuration. Done
I have a *Run/Debug Configurations* setting. Should it say something
specific.
7.
Enjoy your robot! Error
The leJOS program(Hello World) does not find and is not looking for an
EV3. I do not get an *"EV3 not found"* error. The program is running
on the PC and is printing to the computer screen. That can be a nice option
considering the small EV3 screen, but does not serve the purpose.
What am I missing?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFa56TjXOgzt6XM35Z5LMv_HRuNCZuhEks5td9DRgaJpZM4SnlFd>
.
|
Ping successful: 0% loss No change. Output sent to computer. |
Please share your code, I will try to replicate your issue. |
import lejos.hardware.Button;
public class hello_world
{
public static void main(String[] args)
{
System.out.println("3/13/2018 TTest runme");
System.out.println("Hellobbbbbbbbbbbbbbbb World!!");
Button.waitForAnyPress();
}
}
…On Tue, Mar 13, 2018 at 10:54 AM, Miguel Cordova ***@***.***> wrote:
Please share your code, I will try to replicate your issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AV8DihqQSnL4Vi5z5ixMhh8VRjZPdkARks5td-ujgaJpZM4SnlFd>
.
|
Use: |
Cannot resolve symbol 'LCD'
…On Tue, Mar 13, 2018 at 11:14 AM, Miguel Cordova ***@***.***> wrote:
Use:
LCD.drawString("Test", 1, 1);
to print text on the brick.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AV8DiuoBWicbwe0ZiYwIK93ajDnGMdtRks5td_BGgaJpZM4SnlFd>
.
|
You have to import it:
import lejos.hardware.lcd.LCD;
On Tue, Mar 13, 2018 at 11:31 AM, clplaneguy <notifications@github.com>
wrote:
… Cannot resolve symbol 'LCD'
On Tue, Mar 13, 2018 at 11:14 AM, Miguel Cordova ***@***.***
>
wrote:
> Use:
> LCD.drawString("Test", 1, 1);
> to print text on the brick.
>
> —
> You are receiving this because you authored the thread.
> Reply to this email directly, view it on GitHub
> <#8 (comment)-
372723333>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/
AV8DiuoBWicbwe0ZiYwIK93ajDnGMdtRks5td_BGgaJpZM4SnlFd>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFa56cKPwrI9SnKvIL3UiA03MJgaJCcPks5td_R9gaJpZM4SnlFd>
.
|
*package *leJOS_PACKAGE;
*import *lejos.hardware.Button;
*import *lejos.hardware.ev3.LocalEV3;
*import *lejos.utility.*;
*import *lejos.*;
*import *lejos.hardware.lcd.LCD;
*//import lejos.robotics.* **import *lejos.hardware.Brick;
*import *lejos.hardware.BrickFinder;
*// PACKAGE **import *lejos.hardware.Button;
*// PACKAGE **import *lejos.hardware.LocalBTDevice;
*import *lejos.hardware.ev3.EV3;
*import *lejos.hardware.lcd.Font;
*import *lejos.hardware.lcd.GraphicsLCD;
*// PACKAGE **import *lejos.hardware.video.Video;
*// PACKAGE **import *lejos.hardware.video.YUYVImage;
*// PACKAGE **public class *hello_world
{
*public static void *main(String[] args)
{
System.*out*.println(*"3-13-2018 1"*);
System.*out*.println(*"Hello_World"*);
LCD.*drawString*(*"Test"*, 1, 1);
Button.*waitForAnyPress*();
System.*out*.println(*"AfterButton.waitForAnyPress ' "*);
}
}
/////////////////////////////////////////
Editor comments:
Cannot resolve symbol Hello_World
Cannot resolve symbol AfterButton
Cannot resolve symbol waitForAnyPress
On execution: Program prints to the computer screen
3-13-2018 1
Hello_World
Then execution stops and does not print to the screen
AfterButton.waitForAnyPress
The EV3 is never accessed.
I was going to work with Scala. Does all this have nothing to do with
Scala?
On Tue, Mar 13, 2018 at 11:42 AM, Miguel Cordova <notifications@github.com>
wrote:
… You have to import it:
import lejos.hardware.lcd.LCD;
On Tue, Mar 13, 2018 at 11:31 AM, clplaneguy ***@***.***>
wrote:
> Cannot resolve symbol 'LCD'
>
> On Tue, Mar 13, 2018 at 11:14 AM, Miguel Cordova <
***@***.***
> >
> wrote:
>
> > Use:
> > LCD.drawString("Test", 1, 1);
> > to print text on the brick.
> >
> > —
> > You are receiving this because you authored the thread.
> > Reply to this email directly, view it on GitHub
> > <#8 (comment)-
> 372723333>,
> > or mute the thread
> > <https://github.com/notifications/unsubscribe-auth/
> AV8DiuoBWicbwe0ZiYwIK93ajDnGMdtRks5td_BGgaJpZM4SnlFd>
> > .
> >
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#8 (comment)-
372730000>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/
AFa56cKPwrI9SnKvIL3UiA03MJgaJCcPks5td_R9gaJpZM4SnlFd>
> .
>
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AV8DiqhKUdB4srU5lelW12hgLtut9VNfks5td_b-gaJpZM4SnlFd>
.
|
Scala is not supported, maybe that's the reason. |
InteliJ IDEA/leJOS plugin does not connect to the Lego brick with Windows 7. The brick is connected by both USB and BlueTooth. But. no application connection is made. Program runs on the PC. Should the IP address be used or the brick name?
The text was updated successfully, but these errors were encountered: