Skip to content

Commit cfb1433

Browse files
committed
fix: restore typed Franka q_home default
1 parent 01cbd4e commit cfb1433

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎extensions/rcs_fr3/src/hw/Franka.h‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,10 @@ struct FrankaConfig : common::RobotConfig {
4343
bool async_control = false;
4444
bool tcp_offset_configured_in_desk = true;
4545
bool ignore_realtime = false;
46-
q_home = (VectorXd(7) << 0.0, -M_PI_4, 0.0, -3.0 * M_PI_4, 0.0, M_PI_2,
47-
M_PI_4)
48-
.finished();
46+
std::optional<common::VectorXd> q_home =
47+
(common::VectorXd(7) << 0.0, -M_PI_4, 0.0, -3.0 * M_PI_4, 0.0, M_PI_2,
48+
M_PI_4)
49+
.finished();
4950
size_t dof = 7;
5051
Eigen::Matrix<double, 2, Eigen::Dynamic, Eigen::ColMajor> joint_limits =
5152
(Eigen::Matrix<double, 2, Eigen::Dynamic, Eigen::ColMajor>(2, 7) <<

0 commit comments

Comments
 (0)