clean up and drone compatible launch file modification

This commit is contained in:
vivek 2016-11-28 20:53:56 -05:00
parent 5b288b0d37
commit a3896c67fb
4 changed files with 4 additions and 8 deletions

View File

@ -9,7 +9,7 @@ endif()
find_package(catkin REQUIRED COMPONENTS
roscpp
std_msgs
# mavros_msgs
mavros_msgs
sensor_msgs
)

View File

@ -24,8 +24,6 @@
using namespace std;
namespace rosbzz_node{
/*Create node Handler*/
//ros::NodeHandle n_c;
class roscontroller{
@ -54,7 +52,7 @@ private:
ros::Subscriber payload_sub;
ros::Subscriber flight_status_sub;
/*Commands for flight controller*/
mavros_msgs::CommandInt cmd_srv;
mavros_msgs::CommandInt cmd_srv;
void Initialize_pub_sub(ros::NodeHandle n_c);

View File

@ -2,11 +2,11 @@
<launch>
<node name="rosbuzz_node" pkg="rosbuzz" type="rosbuzz_node" respawn="false" output="screen" >
<param name="bzzfile_name" value="/home/vivek/catkin_ws/src/rosbuzz/src/test.bzz" />
<param name="bzzfile_name" value="../ROS_WS/src/ROSBuzz/src/test.bzz" />
<param name="rcclient" value="true" />
<param name="rcservice_name" value="rc_cmd" />
<param name="fcclient_name" value="/djicmd" />
<param name="in_payload" value="/rosbuzz_node1/outMavlink"/>
<param name="in_payload" value="outMavlink"/>
<param name="out_payload" value="outMavlink"/>
<param name="robot_id" value="1"/>
</node>

View File

@ -3,12 +3,10 @@
namespace rosbzz_node{
/*Create node Handler*/
/***Constructor***/
roscontroller::roscontroller(ros::NodeHandle n_c)
{
/*Create node Handler*/
ROS_INFO("Buzz_node");
/*Obtain parameters from ros parameter server*/