Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions mpc_utility/mpc_state_space_utility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ template <typename F_Type, typename Phi_Type, std::size_t Np, std::size_t Nc,
std::size_t Number_Of_Input, std::size_t Number_Of_State,
std::size_t Number_Of_Output>
class MPC_PredictionMatrices {
private:
protected:
/* Type */
using _T = typename F_Type::Value_Type;

Expand Down Expand Up @@ -195,7 +195,7 @@ inline void calculate_dif(const Ref_Type &ref, const Fx_Type &Fx,

/* MPC Reference Trajectory */
template <typename Ref_Type, std::size_t Np> class MPC_ReferenceTrajectory {
private:
protected:
/* Type */
using _T = typename Ref_Type::Value_Type;

Expand Down
6 changes: 3 additions & 3 deletions python_mpc/python_linear_mpc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class LTI_MPC_NoConstraints {
using PredictionMatrices_Type = PredictionMatrices_Type_In;
using ReferenceTrajectory_Type = ReferenceTrajectory_Type_In;

private:
protected:
/* Type */
using _T = typename PredictionMatrices_Type::Value_Type;

Expand Down Expand Up @@ -247,7 +247,7 @@ class LTI_MPC_NoConstraints {
return this->_U_latest;
}

private:
protected:
/* Function */
inline void _compensate_X_Y_delay(const X_Type &X_in, const Y_Type &Y_in,
X_Type &X_out, Y_Type &Y_out) {
Expand All @@ -272,7 +272,7 @@ class LTI_MPC_NoConstraints {
return U;
}

private:
protected:
/* Variables */
LKF_Type _kalman_filter;
PredictionMatrices_Type _prediction_matrices;
Expand Down
2 changes: 1 addition & 1 deletion test_vs/MCAP_tester