Skip to content

Commit 2aabffd

Browse files
committed
style: fix cpp formatting
1 parent ecf2add commit 2aabffd

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

extensions/rcs_fr3/src/hw/Franka.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

extensions/rcs_fr3/src/pybind/rcs.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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 =

0 commit comments

Comments
 (0)