Thomas
Thomas

Reputation: 41

NAOqi: Port NAO code from 2.1 to 2.8

NAOqi 2.8 has no DCM anymore. How to replace it, e.g., in the following code?

proxy = new AL::DCMProxy(pBroker); // does not work anymore
proxy->createAlias(someAliasDeclaration);
proxy->setAlias(someValuesForAlias);
proxy->getGenericProxy()->getModule()->atPreProcess(&someFunction);
proxy->getGenericProxy()->getModule()->atPostProcess(&someOtherFunction);

I did not find any hints in the documentation.

Upvotes: 4

Views: 316

Answers (1)

JLS
JLS

Reputation: 928

Unfortunately I think in NAOqi 2.8 you won't be able to bypass NAOqi, so the only possibility will be to use the ALMotion functions. see http://doc.aldebaran.com/2-8/naoqi/motion/almotion-api.html

Upvotes: 0

Related Questions