File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -73,15 +73,15 @@ FrankaConfig* Franka::get_config() {
7373 return cfg;
7474}
7575
76- FrankaState * Franka::get_state () {
76+ FrankaState* Franka::get_state () {
7777 franka::RobotState current_robot_state;
7878 if (this ->running_controller == Controller::none) {
7979 current_robot_state = this ->robot .readOnce ();
8080 } else {
8181 std::lock_guard<std::mutex> lock (this ->interpolator_mutex );
8282 current_robot_state = this ->curr_state ;
8383 }
84- auto * state = new FrankaState ();
84+ auto * state = new FrankaState ();
8585 state->robot_state = current_robot_state;
8686 return state;
8787}
Original file line number Diff line number Diff line change @@ -99,12 +99,12 @@ PYBIND11_MODULE(_core, m) {
9999 .def_readonly (" O_ddP_EE_c" , &franka::RobotState::O_ddP_EE_c)
100100 .def_readonly (" theta" , &franka::RobotState::theta)
101101 .def_readonly (" dtheta" , &franka::RobotState::dtheta)
102- // .def_readonly("current_errors", &franka::RobotState::current_errors)
103- // .def_readonly("last_motion_errors",
104- // &franka::RobotState::last_motion_errors)
102+ // .def_readonly("current_errors", &franka::RobotState::current_errors)
103+ // .def_readonly("last_motion_errors",
104+ // &franka::RobotState::last_motion_errors)
105105 .def_readonly (" control_command_success_rate" ,
106106 &franka::RobotState::control_command_success_rate)
107- // .def_readonly("time", &franka::RobotState::time)
107+ // .def_readonly("time", &franka::RobotState::time)
108108 .def_readonly (" robot_mode" , &franka::RobotState::robot_mode);
109109
110110 py::object robot_state =
You can’t perform that action at this time.
0 commit comments