-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added parameters to switch off mavlink raw publishing
- Loading branch information
sensesoar
committed
Aug 2, 2012
1 parent
56ecc39
commit 32b9f86
Showing
7 changed files
with
91 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
build | ||
bin | ||
msg_gen | ||
.DS_Store | ||
.DS_Store | ||
*.pyc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* params.h | ||
* | ||
* Created on: Aug 2, 2012 | ||
* Author: slynen | ||
*/ | ||
|
||
#ifndef PARAMS_H_ | ||
#define PARAMS_H_ | ||
|
||
#include <string.h> | ||
#include <ros/ros.h> | ||
#include <vector> | ||
#include <boost/algorithm/string.hpp> | ||
#include <iostream> | ||
#include <fstream> | ||
|
||
namespace mavlink_ros{ | ||
|
||
class FixParams | ||
{ | ||
public: | ||
bool send_raw_mavlink; | ||
|
||
|
||
FixParams(){ | ||
readParams(); | ||
} | ||
|
||
void readParams(){ | ||
|
||
ros::NodeHandle nh("~"); | ||
nh.getParam("send_raw_mavlink", send_raw_mavlink); | ||
} | ||
|
||
}; | ||
|
||
} | ||
|
||
#endif /* PARAMS_H_ */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<launch> | ||
<node name="mavlink_ros_serial" pkg="mavlink_ros" type="mavlink_ros_serial" clear_params="true" output="screen"> | ||
<rosparam file="$(find mavlink_ros)/params/mavlink_ros_bridge.yaml"/> | ||
</node> | ||
</launch> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
send_raw_mavlink: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters