Differences

This shows you the differences between two versions of the page.

Link to this comparison view

doc:logging:tutorials-cpp:sample-program [2014/09/19 09:47]
winkler created
doc:logging:tutorials-cpp:sample-program [2014/09/19 17:17] (current)
winkler
Line 14: Line 14:
   ros::​init(argc,​ argv, "​bs_client"​);​   ros::​init(argc,​ argv, "​bs_client"​);​
   BeliefstateClient* bscl = new BeliefstateClient("​bs_client"​);​   BeliefstateClient* bscl = new BeliefstateClient("​bs_client"​);​
 +  ​
 +  bscl->​registerOWLNamespace("​sim",​ "​http://​some-namespace.org/#"​);​
   ​   ​
   Context* ctxMain = new Context(bscl,​ "​MainTimeline",​ "&​sim;",​ "​MainTimeline",​ 0);   Context* ctxMain = new Context(bscl,​ "​MainTimeline",​ "&​sim;",​ "​MainTimeline",​ 0);