Robotics StackExchange | Archived questions

How to MoveBaseClient into move_base node ?

Hi

How can I put MoveBaseClient into the move_base node ?

Thanks

Asked by Developer on 2018-06-10 13:20:23 UTC

Comments

I don't understand the question. Please Elaborate on what you want to do... I guess #q293714 is a duplicate?

Asked by mgruhler on 2018-06-11 01:21:51 UTC

Yes.I try to put this code (simpeActionClient) into the move_base node.I define in move_base ac_=new MoveBaseClient( "/move_base", true); But I get an error: cannot convert ‘move_base::MoveBaseClient* to ‘move_base::MoveBaseActionServer.

Asked by Developer on 2018-06-11 03:46:34 UTC

are you sure this is ac_ = new ... and not as_ = new ...? Please also Elaborate about the "why" of your Task, to avoid a possible xy-Problem.

Asked by mgruhler on 2018-06-11 04:23:49 UTC

okey.Thanks for attention.I try to put MoveBaseClient into move_base node.My aim is to send a goal from another service(also in move_base)to the MoveBaseClient and it will transfer this goal to the MoveBaseActionServer.The above problem was a misspelling problem I solved,but I system still not works

Asked by Developer on 2018-06-11 04:38:38 UTC

I hope this explanation was clear. Basically, I try to put MoveBaseClient and MoveBaseActionServer in a same node.

Asked by Developer on 2018-06-11 06:14:32 UTC

Answers