Skip to content

How can i revise geometric_controller parameters? #248

@Tfly6

Description

@Tfly6

This is my launch file in the below.

  <node pkg="geometric_controller" type="geometric_controller_node" name="geometric_controller" output="screen">
  		<!-- <param name="mav_name" type="string" value="$(arg mav_name)" /> -->
          <remap from="command/bodyrate_command" to="/mavros/setpoint_raw/attitude"/>
          <param name="ctrl_mode" value="$(arg command_input)" />
          <param name="enable_sim" value="true" />
          <param name="enable_gazebo_state" value="true"/>
          <!-- <param name="max_acc" value="10.0" /> -->
          <param name="max_acc" value="8.0" />
          <param name="takeoff_height" value="$(arg takeoff_height)" />
          <!--Params specific for Iris copter-->
          <param name="attctrl_constant" value="0.3"/>
          <param name="normalizedthrust_constant" value="0.125"/>
          <param name="normalizedthrust_offset" value="0.1"/>
          <param name="Kp_x" value="10.0" />
          <param name="Kp_y" value="10.0" />
          <param name="Kp_z" value="10.0" />
          <param name="Kv_x" value="5.0"/>
          <param name="Kv_y" value="5.0"/>
          <param name="Kv_z" value="5.0"/>
  </node>

I have two questions:

  1. Based on the comments in the reference file, I modified the normalizedthrust_constant parameter to 1/max acceleration. While it runs, the drone exhibits significant oscillations. I'd like to know how to properly tune these parameters (attctrl_constant, normalizedthrust_constant, normalizedthrust_offset)
  2. Should these parameter adjustments differ between simulation and real-world flight tests?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions