Never had an experience in simulating robots….I refer to this guideline for installing Stage/Player in my macbook which has started in February and I have few errors and not sure how to solve it…this week, jon asked me to isntall and start playing with Stage/Player which is so much fun!!!! never thought that I managed to make it running faster this time ( as my programming skill is very low!!!!) I am not sure whether I can do the program or not, however it’s gonna better when I started to think positive which is I think allowing me to think wisely…:) . It is getting hot in the office since everyone is here and I know my progress is quite slow to this end, however I wanted to prove to myself that I am getting better with Allah’s will. Thus, this week seems an ambitious week with lots of simulation and modelling work need to be catch up…however I am happy as I have refined my PhD topics which is great!!! Indeed, the work is now more focus and clear, I need to focus more and more…
My online shop has proven beneficial as more and more buyers entering the site and we have 3737 visitors for June 2009, which is again impressive. The brilliant idea on opening the online shop by my dear hubby is GOOD!!!! I am more occupied and we our bank account is not as before and we have reached break-even!!! alhamdulillah
hmm..since the title is saying about the moving robots…..so let me finish the supposed-to-be entrance for today!!!! whoala…
Once installing Stage/player based on this guideline, now you are ready to launch and test player/stage:
If you are sucessful, you should see the following window:
Assuming that you managed to obtained the above-shown Figure, you can drive player/stage using an example program in another terminal:
this will lead to the movement of the robots…which is great
Not forgetting, to compile the c code first if you are running from your own folder
another command shell and start a program that connects to the server and controls the robot’s actions.
g++ sonar.cpp -lplayerclient -o sonar
This compiles the sonar.cpp sample program and links in the Player C++ library.