dynamixel_state.h
Go to the documentation of this file.
1 /*******************************************************************************
2 * Copyright 2018 ROBOTIS CO., LTD.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *******************************************************************************/
16 
17 /*
18  * dynamixel_state.h
19  *
20  * Created on: 2015. 12. 8.
21  * Author: zerom
22  */
23 
24 #ifndef ROBOTIS_DEVICE_DYNAMIXEL_STATE_H_
25 #define ROBOTIS_DEVICE_DYNAMIXEL_STATE_H_
26 
27 #include <stdint.h>
28 
29 #include "time_stamp.h"
30 
31 #define INDIRECT_DATA_1 "indirect_data_1"
32 #define INDIRECT_ADDRESS_1 "indirect_address_1"
33 
34 namespace robotis_framework
35 {
36 
38 {
39 public:
41 
47  double goal_torque_;
54 
55  std::map<std::string, uint32_t> bulk_read_table_;
56 
58 
60  : update_time_stamp_(0, 0),
61  present_position_(0.0),
62  present_velocity_(0.0),
63  present_torque_(0.0),
64  goal_position_(0.0),
65  goal_velocity_(0.0),
66  goal_torque_(0.0),
67  position_p_gain_(0),
68  position_i_gain_(0),
69  position_d_gain_(0),
70  velocity_p_gain_(0),
71  velocity_i_gain_(0),
72  velocity_d_gain_(0),
73  position_offset_(0)
74  {
75  bulk_read_table_.clear();
76  }
77 };
78 
79 }
80 
81 
82 #endif /* ROBOTIS_DEVICE_DYNAMIXEL_STATE_H_ */
std::map< std::string, uint32_t > bulk_read_table_


robotis_device
Author(s): Zerom , Kayman , SCH
autogenerated on Mon Jun 10 2019 14:35:09