utiasDSL / safe-control-gym

PyBullet CartPole and Quadrotor environments—with CasADi symbolic a priori dynamics—for learning-based control and RL
https://www.dynsyslab.org/safe-robot-learning/
MIT License
636 stars 132 forks source link

Request for Example Usage of GPMPC #144

Closed anonymity678 closed 1 year ago

anonymity678 commented 1 year ago

Hello,

Firstly, I'd like to express my gratitude for the excellent gym environment you've developed. However, I've encountered some challenges with the implementation of the GPMPC.

I'm currently seeking guidance on how to effectively run MPC algorithms within this environment. Additionally, I observed that GPMPC is initialized using LinearMPC, which in turn is based on the MPC class. However, I couldn't find the prior_info parameter in the init method of the MPC class, and it appears to be commented out.

Could you please provide an example or documentation on how to properly utilize GPMPC? Thank you for your support.