Redirecting output to Lego ev3 robot

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I am playing with the Lego Mindstorm's ev3 robots.
The robot itself is running some kind of Linux and can run java programs out of the box. I copy the jar file with scp, then with ssh I send the command jrun -cp .... to start the jar file. When it runs I get the output of the java application in the terminal on the remote host, where I have send the command.
Can I get the output from jrun on the ev3?
There is some Eclipse plugin for that, but I'd like to do it myself. This would mean, that I somehow need to redirect the output from the console on the remote machine to the remote host, but not really sure how this is supposed to work. My follow-up question would be, can I simultaneously get the same output on the display of the ev3 and on the my computer, where I am sending the command.
ssh
add a comment |Â
up vote
0
down vote
favorite
I am playing with the Lego Mindstorm's ev3 robots.
The robot itself is running some kind of Linux and can run java programs out of the box. I copy the jar file with scp, then with ssh I send the command jrun -cp .... to start the jar file. When it runs I get the output of the java application in the terminal on the remote host, where I have send the command.
Can I get the output from jrun on the ev3?
There is some Eclipse plugin for that, but I'd like to do it myself. This would mean, that I somehow need to redirect the output from the console on the remote machine to the remote host, but not really sure how this is supposed to work. My follow-up question would be, can I simultaneously get the same output on the display of the ev3 and on the my computer, where I am sending the command.
ssh
Thinking here... assuming there are/dev/ttyx... you couldjrun -cp program.jar | tee /dev/tty1... maybe?
â RubberStamp
Nov 6 '17 at 15:15
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am playing with the Lego Mindstorm's ev3 robots.
The robot itself is running some kind of Linux and can run java programs out of the box. I copy the jar file with scp, then with ssh I send the command jrun -cp .... to start the jar file. When it runs I get the output of the java application in the terminal on the remote host, where I have send the command.
Can I get the output from jrun on the ev3?
There is some Eclipse plugin for that, but I'd like to do it myself. This would mean, that I somehow need to redirect the output from the console on the remote machine to the remote host, but not really sure how this is supposed to work. My follow-up question would be, can I simultaneously get the same output on the display of the ev3 and on the my computer, where I am sending the command.
ssh
I am playing with the Lego Mindstorm's ev3 robots.
The robot itself is running some kind of Linux and can run java programs out of the box. I copy the jar file with scp, then with ssh I send the command jrun -cp .... to start the jar file. When it runs I get the output of the java application in the terminal on the remote host, where I have send the command.
Can I get the output from jrun on the ev3?
There is some Eclipse plugin for that, but I'd like to do it myself. This would mean, that I somehow need to redirect the output from the console on the remote machine to the remote host, but not really sure how this is supposed to work. My follow-up question would be, can I simultaneously get the same output on the display of the ev3 and on the my computer, where I am sending the command.
ssh
asked Nov 6 '17 at 15:04
Mladia
454
454
Thinking here... assuming there are/dev/ttyx... you couldjrun -cp program.jar | tee /dev/tty1... maybe?
â RubberStamp
Nov 6 '17 at 15:15
add a comment |Â
Thinking here... assuming there are/dev/ttyx... you couldjrun -cp program.jar | tee /dev/tty1... maybe?
â RubberStamp
Nov 6 '17 at 15:15
Thinking here... assuming there are
/dev/ttyx ... you could jrun -cp program.jar | tee /dev/tty1 ... maybe?â RubberStamp
Nov 6 '17 at 15:15
Thinking here... assuming there are
/dev/ttyx ... you could jrun -cp program.jar | tee /dev/tty1 ... maybe?â RubberStamp
Nov 6 '17 at 15:15
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f402846%2fredirecting-output-to-lego-ev3-robot%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Thinking here... assuming there are
/dev/ttyx... you couldjrun -cp program.jar | tee /dev/tty1... maybe?â RubberStamp
Nov 6 '17 at 15:15