mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 04:43:34 +08:00
wrapped subscriber
This commit is contained in:
@@ -36,11 +36,25 @@
|
||||
*
|
||||
* PX4 Middleware Wrapper Subscriber
|
||||
*/
|
||||
#pragma once
|
||||
#if defined(__linux) || (defined(__APPLE__) && defined(__MACH__))
|
||||
#include "ros/ros.h"
|
||||
#endif
|
||||
|
||||
namespace px4
|
||||
{
|
||||
|
||||
#if defined(__linux) || (defined(__APPLE__) && defined(__MACH__))
|
||||
class Subscriber
|
||||
{
|
||||
|
||||
public:
|
||||
Subscriber() {};
|
||||
~Subscriber() {};
|
||||
};
|
||||
#else
|
||||
class Subscriber
|
||||
{
|
||||
};
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user