twist_mux_diagnostics_status.h
Go to the documentation of this file.
1 /*********************************************************************
2  * Software License Agreement (CC BY-NC-SA 4.0 License)
3  *
4  * Copyright (c) 2014, PAL Robotics, S.L.
5  * All rights reserved.
6  *
7  * This work is licensed under the Creative Commons
8  * Attribution-NonCommercial-ShareAlike 4.0 International License.
9  *
10  * To view a copy of this license, visit
11  * http://creativecommons.org/licenses/by-nc-sa/4.0/
12  * or send a letter to
13  * Creative Commons, 444 Castro Street, Suite 900,
14  * Mountain View, California, 94041, USA.
15  *********************************************************************/
16 
17 /*
18  * @author Enrique Fernandez
19  */
20 
21 #ifndef TWIST_MUX_DIAGNOSTICS_STATUS_H
22 #define TWIST_MUX_DIAGNOSTICS_STATUS_H
23 
24 #include <twist_mux/twist_mux.h>
25 #include <twist_mux/topic_handle.h>
26 
27 #include <ros/time.h>
28 
29 namespace twist_mux
30 {
31 
33 {
36 
37  double reading_age;
40 
42 
45 
47  : reading_age(0),
48  last_loop_update(ros::Time::now()),
49  main_loop_time(0),
50  priority(0)
51  {
52  }
53 };
54 
57 
58 } // namespace twist_mux
59 
60 #endif // TWIST_MUX_DIAGNOSTICS_STATUS_H
TwistMuxDiagnosticsStatus::ConstPtr TwistMuxDiagnosticsStatusConstPtr
boost::shared_ptr< TwistMuxDiagnosticsStatus > Ptr
boost::shared_ptr< TwistMux::velocity_topic_container > velocity_hs
boost::shared_ptr< TwistMux::lock_topic_container > lock_hs
TwistMuxDiagnosticsStatus::Ptr TwistMuxDiagnosticsStatusPtr
base_type::priority_type priority_type
Definition: topic_handle.h:183
boost::shared_ptr< const TwistMuxDiagnosticsStatus > ConstPtr


twist_mux
Author(s): Enrique Fernandez , Siegfried-A. Gevatter Pujals
autogenerated on Wed Oct 26 2022 02:14:17