CreOS SDK
The CreOS SDK allows you to interact with Avular robots
 
Loading...
Searching...
No Matches
transforms_interface.hpp
1// Copyright (C) 2024 Avular Holding B.V. - All Rights Reserved
2// You may use this code under the terms of the Avular
3// Software End-User License Agreement.
4//
5// You should have received a copy of the Avular
6// Software End-User License Agreement license with
7// this file, or download it from: avular.com/eula
8//
9/*****************************************************************************
10 * Created on: 2024 October 11
11 * Author: Niels Rood
12 *
13 * @file Header file for transforms interface
14 ****************************************************************************/
15#pragma once
16
17#include <creos/client_global.hpp>
18#include <creos/messages/transform.hpp>
19#include <creos/subscription.hpp>
20
21namespace creos {
22
27class CREOS_CLIENT_API ITransformsInterface {
28public:
29 static constexpr char name[] = "transforms";
30 static constexpr unsigned version = 1;
31
32 virtual ~ITransformsInterface() = default;
33
48 const std::function<void(const creos_messages::TransformStampedList&)>& callback) = 0;
49
63 const std::function<void(const creos_messages::TransformStampedList&)>& callback) = 0;
64};
65
66} // namespace creos
The interface for retrieving information about the relationships between different coordinate frames ...
Definition transforms_interface.hpp:27
virtual SubscriptionId subscribeToDynamicTransforms(const std::function< void(const creos_messages::TransformStampedList &)> &callback)=0
Subscribe to transformation frame messages for dynamic transformations.
virtual SubscriptionId subscribeToStaticTransforms(const std::function< void(const creos_messages::TransformStampedList &)> &callback)=0
Subscribe to transformation frame messages for static transformations.
This type holds an subscription ID.
Definition subscription.hpp:22
The main namespace for the CreOS client library.
The TransformStampedList message contains a list of transformations between two coordinate frames.
Definition transform.hpp:81