clean up
This commit is contained in:
parent
a3896c67fb
commit
4b2f02facb
@ -7,7 +7,6 @@ namespace rosbzz_node{
|
|||||||
/***Constructor***/
|
/***Constructor***/
|
||||||
roscontroller::roscontroller(ros::NodeHandle n_c)
|
roscontroller::roscontroller(ros::NodeHandle n_c)
|
||||||
{
|
{
|
||||||
|
|
||||||
ROS_INFO("Buzz_node");
|
ROS_INFO("Buzz_node");
|
||||||
/*Obtain parameters from ros parameter server*/
|
/*Obtain parameters from ros parameter server*/
|
||||||
Rosparameters_get(n_c);
|
Rosparameters_get(n_c);
|
||||||
@ -93,7 +92,6 @@ namespace rosbzz_node{
|
|||||||
flight_status_sub =n_c.subscribe("/mav/flight_status",100, &roscontroller::flight_status_update,this);
|
flight_status_sub =n_c.subscribe("/mav/flight_status",100, &roscontroller::flight_status_update,this);
|
||||||
/*publishers*/
|
/*publishers*/
|
||||||
payload_pub = n_c.advertise<mavros_msgs::Mavlink>(out_payload, 1000);
|
payload_pub = n_c.advertise<mavros_msgs::Mavlink>(out_payload, 1000);
|
||||||
|
|
||||||
/* Clients*/
|
/* Clients*/
|
||||||
mav_client = n_c.serviceClient<mavros_msgs::CommandInt>(fcclient_name);
|
mav_client = n_c.serviceClient<mavros_msgs::CommandInt>(fcclient_name);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user