Page 1 of 1

Checking the value of all variables of all sensors of selected robot. robot

Posted: Fri Apr 27, 2018 2:09 pm
by Arun_AR
When lua editor is enabled and we click a robot while pressing the shift key. Usually all values of all variables of the robot are shown in the editor. This worked perfectly in my mac system. But this doesn't seem to work on ubuntu system. Does this option have different shortcut key in ubuntu or should we enable different settings.


Thanks in advance

Re: Checking the value of all variables of all sensors of selected robot. robot

Posted: Fri Apr 27, 2018 8:02 pm
by pincy
In theory it should work. I'll check on an Ubuntu 16.04 machine soon and report back.

Re: Checking the value of all variables of all sensors of selected robot. robot

Posted: Mon Apr 30, 2018 5:05 am
by Arun_AR
I myself am also using ubuntu 16.04lts and argos3 beta version 49.

Professor is it showing the values in your machine.

Thanks

Re: Checking the value of all variables of all sensors of selected robot. robot

Posted: Mon Apr 30, 2018 6:27 am
by pincy
Let's check tomorrow in class!

Re: Checking the value of all variables of all sensors of selected robot. robot

Posted: Fri May 18, 2018 6:43 am
by Arun_AR
Issue solved after upgrading to version 50 from 49. Thank you for the update

Re: Checking the value of all variables of all sensors of selected robot. robot

Posted: Sun May 20, 2018 2:12 am
by pincy
Good to know, thanks!

Re: Checking the value of all variables of all sensors of selected robot. robot

Posted: Tue Jan 14, 2020 8:50 am
by Ryan
But I found when it run in Ubuntu 18.04, all values of all variables of the robot are not shown in the editor.

Re: Checking the value of all variables of all sensors of selected robot. robot

Posted: Tue Jan 14, 2020 5:04 pm
by pincy
Global variables are shown, local variables are not. Do you see anything different?

Re: Checking the value of all variables of all sensors of selected robot. robot

Posted: Wed Jan 15, 2020 3:12 pm
by Ryan
All my code is written in C++. I think it is pretty hard for me debug my code by showing my variable with std::cout statements. And I want to know the value of all variables of all sensors of selected robot to debug my program. According to the above, I can get all the variables When lua editor is enabled. But when I enable it, no values are displayed. Do you have any advices?

Re: Checking the value of all variables of all sensors of selected robot. robot

Posted: Mon Feb 03, 2020 4:57 pm
by pincy
If you code in C++, then the Lua editor is useless. The Lua editor is for when you code in Lua. If you want to display all the variables, then use RLOG or the QT user functions as shown in the examples.