フィルターのクリア

Lego Mindstorm EV wifi connection in R2014a in Ubuntu 14.04

3 ビュー (過去 30 日間)
Lode
Lode 2014 年 11 月 27 日
コメント済み: Lode 2014 年 12 月 10 日
Dear,
I can not connect Lego Mindstorm EV in R2014a in Ubuntu 14.04. The only connection option in R2014a is a network cable or Wifi. Ping in a terminal to the EV3 works fine over Wifi, so network should be OK.
"h = legoev3('192.168.0.135')" gives an error message :
"Error using legoev3 (line 89) Failed to connect to '192.168.0.135'. Please check your network settings."
I checked on the internet and I found R2014b has a dfferent syntax and possibility for Bluetooth and USB cable as well, but I can not upgrade my student version.
Any ideas how to get it working in R2014a ? (I am fine with Wifi, even though I would prefer Bluetooth)
Thank you!
  2 件のコメント
Lode
Lode 2014 年 12 月 4 日
Sorry, I found out Ubuntu 14.04 is not supported by R2014a
Lode
Lode 2014 年 12 月 10 日
Thanks to Matlab support, I could solve the issue : 1- sshpass was not installed 2- I needed a WIFI dongle also on the PC (I expected it would go through the PC-LAN)
What I did in detail : 1.sudo apt-get install sshpass 2.sudo apt-get install openssh-server (is it needed ?) 3.sudo apt-get install openssh-client > it was already installed (but unclear before or after step 2.)
ssh localhost is working, but Mindstorm not yet.
Then... I plugged in WIFI adapter to my desktop PC Checked in a terminal : 'ssh root@192.168.0.135' (no password)
It worked! (1st time I had to accept the certificate).

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Support Package for LEGO MINDSTORMS EV3 Hardware についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by