added nonraw topic

This commit is contained in:
David St-Onge 2017-04-12 17:51:22 -04:00
parent 77adf24d30
commit 8b971e410b
2 changed files with 2 additions and 3 deletions

View File

@ -4,6 +4,7 @@ topics:
status : /flight_status status : /flight_status
fcclient : /dji_mavcmd fcclient : /dji_mavcmd
setpoint : /setpoint_raw/local setpoint : /setpoint_raw/local
setpoint_nonraw : /setpoint_position/local
armclient: /dji_mavarm armclient: /dji_mavarm
modeclient: /dji_mavmode modeclient: /dji_mavmode
altitude: /rel_alt altitude: /rel_alt

View File

@ -133,12 +133,10 @@ namespace rosbzz_node{
n_c.getParam("out_payload", out_payload); n_c.getParam("out_payload", out_payload);
/*Obtain in payload name*/ /*Obtain in payload name*/
n_c.getParam("in_payload", in_payload); n_c.getParam("in_payload", in_payload);
/*Obtain Number of robots for barrier*/
n_c.getParam("No_of_Robots", barrier);
/*Obtain standby script to run during update*/ /*Obtain standby script to run during update*/
n_c.getParam("stand_by", stand_by); n_c.getParam("stand_by", stand_by);
n_c.getParam("xbee_status_srv", xbeesrv_name); n_c.getParam("xbee_status_srv", xbeesrv_name);
GetSubscriptionParameters(n_c); GetSubscriptionParameters(n_c);
// initialize topics to null? // initialize topics to null?