summaryrefslogtreecommitdiffstats
path: root/meta-agl-ros2/recipes-platform/packagegroups/packagegroup-agl-ros2-ydlidar.bb
blob: 7fcee019711ca0c0f240089bd89b8781763419d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
DESCRIPTION = "Support of ydlidar with ROS2"
LICENSE = "MIT"

inherit packagegroup

PACKAGES = "\
    packagegroup-agl-ros2-ydlidar \
    "

ALLOW_EMPTY_${PN} = "1"

RDEPENDS:${PN} += " \
      ydlidar-ros2-driver \
      "
an class="p">{ private: std::string api_; std::string info_; CtlActionT* init_; CtlActionT* getSignal_; std::vector<std::shared_ptr<Signal>> signalsList_; public: SourceAPI(); SourceAPI(const std::string& api, const std::string& info, CtlActionT* init, CtlActionT* getSignal); std::string api() const; void addSignal(const std::string& id, std::vector<std::string>& sources, const std::string& sClass, const std::string& unit, double frequency, CtlActionT* onReceived); std::vector<std::shared_ptr<Signal>> getSignals() const; std::shared_ptr<Signal> searchSignal(const std::string& name) const; int makeSubscription() const; };