From: Marcelo B. S. <bor...@dc...> - 2004-02-17 17:28:34
|
Hi Brian and Nathan (and other user), Thanks to answer my question. I understand the difference between the 'position power' and 'power interface', and resolved the problem, thanks very much. I noted the problem of the battery voltage returns always 12, but I perceived too that is possible modify this value. In my working-cenario is extremely important monitor the battery consumption of the robots. So, my other question is: Do I have to implement the power consumption? For example, after a given elapsed time, I discount some value of the the battery voltage... Is the only manner to simulate the energy comsumption? regards, Marcelo Borghetti On Tue, 17 Feb 2004, Brian Gerkey wrote: > hi Marcelo, > > Nathan's more or less right: Stage doesn't implement the motor power > request of the 'position' interface, because it doesn't simulate the > fact that the Pioneer's motor power can be turned on and off. So the > motor power is always "on." The warning from Stage is harmless. > > This is separate from the 'power' interface, which reports battery voltage. > This part of the robot is simulated by Stage, though not very well: it > always returns 12 volts. > > brian. > > On Tue, 17 Feb 2004, Nathan Farrington wrote: > > > Hi Marcelo, > > > > I think that the power device proxy only works on a real robot, not the > > Stage simulator. This makes sense because the simulator is not trying to > > simulate the robot's batteries. So only try to use the power device on a > > real robot. You can do this by defining a power device in Player's > > configuration file. > > > > Regards, > > > > Nathan Farrington > > > > > > -----Original Message----- > > From: pla...@li... > > [mailto:pla...@li...] On Behalf Of > > Marcelo Borghetti Soares > > Sent: Monday, February 16, 2004 6:09 AM > > To: pla...@li... > > Subject: [Playerstage-users] Motor Power device implementation in Stage > > (?) > > > > Hello, > > > > I'm trying implement de power motor device in a pionner robot. > > For acomplish that I used the PLAYERC_POWER_T data type and his > > manipulation functions. In stage, I defined a device called POWER() > > inside de POSITION device. But, infortunately, when a execute de > > program a warning like "POSITION POWER MOTOR DEVICE NOT IMPLEMENTED" > > Did I forget anything? In the stage manual I'm don't find any > > information > > about the power device. Are there another documentation source? > > > > Sorry for my poor english and > > for my possibly very simple question, > > > > waiting for help... > > > > Marcelo Borghetti Soares > > > > -------------------------------------- > > Computation Engineer - FURG - Brazil > > MSc Student in Computer Science - UFMG - Brazil > > > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > Playerstage-users mailing list > > Pla...@li... > > https://lists.sourceforge.net/lists/listinfo/playerstage-users > > > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > Playerstage-users mailing list > > Pla...@li... > > https://lists.sourceforge.net/lists/listinfo/playerstage-users > > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users > |