vulp  2.3.0
observe_servos.h
Go to the documentation of this file.
1 // SPDX-License-Identifier: Apache-2.0
2 // Copyright 2022 Stéphane Caron
3 
4 #pragma once
5 
6 #include <palimpsest/Dictionary.h>
7 
8 #include <map>
9 #include <string>
10 #include <vector>
11 
12 #include "vulp/actuation/moteus/protocol.h"
13 
14 namespace vulp::observation {
15 
23  palimpsest::Dictionary& observation,
24  const std::map<int, std::string>& servo_joint_map,
25  const std::vector<actuation::moteus::ServoReply>& servo_replies);
26 
27 } // namespace vulp::observation
State observation.
void observe_servos(Dictionary &observation, const std::map< int, std::string > &servo_joint_map, const std::vector< moteus::ServoReply > &servo_replies)