#[derive(Debug, Clone)]
pub struct InvertedDoublePendulumConfig {
pub xml_file: String,
pub frame_skip: u32,
pub healthy_reward: f64,
pub reset_noise_scale: f64,
pub observation_shape: (usize,), pub observation_dtype: String, pub max_steps: usize,
}
impl Default for InvertedDoublePendulumConfig {
fn default() -> Self {
Self {
xml_file: include_str!("model.xml").to_string(),
frame_skip: 5,
healthy_reward: 10.0,
reset_noise_scale: 0.1,
observation_shape: (9,), observation_dtype: "f64".to_string(), max_steps: 1000,
}
}
}