I managed to add the following lines to my code:
playerc_client_t *client;
playerc_position2d_t *position2d;
playerc_position2d_t *position2d_amcl;
playerc_position2d_t *position2d_vfh;
playerc_laser_t *laser;
playerc_localize_t *amcl;
playerc_planner_t *vfh;
playerc_planner_t *wavefront;
position2d = playerc_position2d_create(client, 0);
position2d_amcl = playerc_position2d_create(client, 2);
position2d_vfh = playerc_position2d_create(client, 1);
laser = playerc_laser_create(client, 0);
amcl = playerc_localize_create(client,0);
wavefront = playerc_planner_create(client,0);
vfh = playerc_planner_create(client,1);
If i now do playerc_position2d_set_cmd_pose(position2d_vfh, -8,-4, 180, 1);
i get the error:
warning : Unhandled message for driver device=16777343:6665:position2d:2
type=command subtype=2 len=52
in my playerterminal....i dont know what to try :(
thanks, Beo
--
View this message in context: http://www.nabble.com/VFH-Problem-tp23492027p23562576.html
Sent from the playerstage-users mailing list archive at Nabble.com.
|