#[derive(Debug, Clone)]
pub struct PusherConfig {
pub xml_file: String,
pub frame_skip: u32,
pub reward_near_weight: f64,
pub reward_dist_weight: f64,
pub reward_control_weight: f64,
pub observation_shape: (usize,), pub observation_dtype: String, pub max_episode_steps: usize,
}
impl Default for PusherConfig {
fn default() -> Self {
Self {
xml_file: include_str!("model.xml").to_string(),
frame_skip: 5,
reward_near_weight: 0.5,
reward_dist_weight: 1.0,
reward_control_weight: 0.1,
observation_shape: (23,), observation_dtype: "f64".to_string(), max_episode_steps: 100,
}
}
}