Hey, After i’ve copy and pasted my code into the IDE, it says to execute, but i cant find the execue button?
There is no execute button. If you’re in the beginner python course and you’re doing the arm simulation in unit 1, then what you have to do is cd into the directory that contains your file that you have your code in and execute by typing in python . If your file is called arm_control.py the command would be python arm_control.py. This has to be done in the command line, there’s no other way to launch it. Hope that helps.
Um. I did not understand one thing you said
ok so there are four windows that launch when you’re in the course. On the left side is your course lesson, on the top is your ide, on the bottom is the command line, and on the top right is the simulation window. The command “cd” is how you change your current directory. in the command window, click inside of it to get the cursor visible. Then type in cd catkin_ws/src/. You’ll now be in the directory where your source code file is in. Just to be safe, type in ls in the command line to be sure. You should see the name of your file. Now type in python and the name of your file. Make sure to include the file extension of your file otherwise it doesn’t work. So it would be python arm_control.py if arm_control.py is your file name.
I see. It works, thanks bro.