Skip to main content

[memo] player/stage: how to compile my robot code

This is memo for myself.
memo ver. 0.0.1

Player/stage is one of the robot simulater.
I use on Ubuntu Linux 7.10

CPU : Xeon

Official page
http://playerstage.sourceforge.net/

command name
on document------>on ubuntu
player ------>robot-player

compile my code
$
g++-3.4 laserobstacleavoid.cc -I/usr/include/player-2.0/ -L/usr/lib/ -lplayercore -lplayerc++ -o laserobstacleavoid

I thought 64bit proessor has some problems for compile it when I used it at first time.
However it has no problem.
My work was as monkey.

Comments

Anonymous said…
Just want to say thanks for posting this. It's exactly what I was hunting for, and google suggested this post. :)

Popular posts from this blog

gDisk 0.6.1

Today, I try to use new gDisk version 0.6.1. Before version, I cannot see what files are on the server side. But current version I could do it. I think it is better than before version and it began to useful for backup software. But it has one problem.... When I uploaded more than 10 files at same time, it was clash down. I try to do it at 2-3 times but result was same..... I think it is one of the bag or the documents said about it (Actuary I read no document about it for this version)

Bicycle insurance in japan

Long time, I was considering about bicycle insurance. Many japanese are not consider about insurance for bicycle in japan. Because japan is weak country for insurance. Many people considered about when they are attacked by car. They didn't have an idea what they may be going to be individual at fault. However, road bikes are faster than my MTB. And, many of city bikes do not turn on a head light after sunset. The old person has also no idea what the bicycles can ride so fast as 50cc motar bike. Then they easy enter in front of bicycles. Such kind of accident is not few in japan. And, the worst case of such accident, the road bike rider needed to pay 40 millions yen to attacked person. Bicycle ride's bad manner have begun to social issues. Some bicycle riders do not follow the traffic lights or traffic signs. In such background, sometime, I have risks what I will be attacked by such bicycle riders when I ride my MTB. However, as above reason, many riders have no insurance ...

Pocket WiFi + Nexus One

Last a month, I used PocketWiFi with B-Mobile SIM + Google Nexus One with Softbank mobile SIM. I used this combination for a month because the softbank mobile had problem for 3G data communication due to the wrong parameter written by staff. The communication speed was too slow. So, I try to use B-Mobile for data communication. I wanted to use b-mobile but I didn't want to change the phone plan from softbank. Then, I try to use Pocket WiFi. The largest merit of using PocketWiFi is that we can use 3G network at most 6 devices at a same time. When we are starbacks, some coffee stand, or some other places we can use 3G network through the wifi. The speed was enough for web browser. However, for the data communicating through the android application, some of them didn't work. And, the buttery power also had problem. I need to charge the buttery every 1-2 days, even if i didn't use it. And, I had some situation that I wanted to use it however I forgot to bring it with me or to c...