Redirecting output to Lego ev3 robot

The name of the pictureThe name of the pictureThe name of the pictureClash 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.







share|improve this question




















  • Thinking here... assuming there are /dev/ttyx ... you could jrun -cp program.jar | tee /dev/tty1 ... maybe?
    – RubberStamp
    Nov 6 '17 at 15:15














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.







share|improve this question




















  • Thinking here... assuming there are /dev/ttyx ... you could jrun -cp program.jar | tee /dev/tty1 ... maybe?
    – RubberStamp
    Nov 6 '17 at 15:15












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.







share|improve this question












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.









share|improve this question











share|improve this question




share|improve this question










asked Nov 6 '17 at 15:04









Mladia

454




454











  • 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















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















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

Peggy Mitchell

Palaiologos

The Forum (Inglewood, California)