# Where is move\_basic file?

**URL:** <https://forum.ubiquityrobotics.com/t/where-is-move-basic-file/902>\
**Category:** Uncategorized\
**Created:** [October 21, 2021, 5:07pm UTC](https://forum.ubiquityrobotics.com/t/where-is-move-basic-file/902 "2021-10-21T17:07:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tiho\_bg](https://forum.ubiquityrobotics.com/letter_avatar_proxy/v4/letter/t/ea666f/32.png) [@tiho\_bg](https://forum.ubiquityrobotics.com/u/tiho_bg)\
**Post date:** [October 21, 2021, 5:07pm UTC](https://forum.ubiquityrobotics.com/t/where-is-move-basic-file/902/1 "2021-10-21T17:07:32Z")

</div>

Hi!

I would like to ask where I can find move\_basic file? I would like to edit some valuse as the distance to the obstacles. I would like to set the speed of the magni. How I can do that? Thank you for your help.

---

<div class="post-metadata">

**Author:** ![MoffKalast](https://forum.ubiquityrobotics.com/user_avatar/forum.ubiquityrobotics.com/moffkalast/32/214_2.png) [@MoffKalast](https://forum.ubiquityrobotics.com/u/MoffKalast)\
**Post date:** [October 21, 2021, 11:12pm UTC](https://forum.ubiquityrobotics.com/t/where-is-move-basic-file/902/2 "2021-10-21T23:12:00Z")

</div>

Assuming you’re using the default setup, the launched move\_basic is probably the one in `magni_robot/magni_nav/launch/move_basic.launch`

If that file doesn’t have all the params listed you can check the following example and just paste them in:

```auto

<?xml version="1.0"?>

<launch>
  
  <!-- ================================ CHANGABLE PARAMS =============================================================== -->
  
  <!-- maximum velocity when robot driving in a straight line in m/s. Max tested was 0.7m/s. Recommended is around 0.3 m/s
        ! WARNING: If set to high the robot could start behaving erratically! -->
  <arg name="max_linear_velocity" default="0.5"/>

  <!-- maximum velocity when robot turning on spot rad/s. Max tested was 0.7 rad/s. Recommended is 0.5 rad/s 
        ! WARNING: If set to high the robot could start behaving erratically! -->
  <arg name="max_turning_velocity" default="0.5"/>
  
  <!-- ================================================================================================================== -->

  <node name="move_basic" pkg="move_basic" type="move_basic" output="screen">    
    <param name="base_frame" value="base_link"/>
    <param name="min_turning_velocity" value="0.18"/>
    <param name="max_turning_velocity" value="$(arg max_turning_velocity)"/>
    <param name="max_lateral_velocity" value="0.5"/>
    <param name="max_linear_velocity" value="$(arg max_linear_velocity)"/>
    <param name="min_linear_velocity" value="0.1"/>
    <param name="linear_acceleration" value="0.2"/>
    <param name="turning_acceleration" value="0.2"/>
    
    <param name="angular_tolerance" value="0.02"/>
    <param name="linear_tolerance" value="0.02"/> 
    
    <param name="lateral_kp" value="0.1"/>
    <param name="lateral_kd" value="8.0"/>
    <param name="lateral_ki" value="0.0"/>
    
    <param name="localization_latency" value="0.5"/>
    
    <param name="runaway_timeout" value="0.5"/>    

    <param name="obstacle_wait_threshold" value="60.0"/>

    <param name="forward_obstacle_threshold" value="0.2"/>
    <param name="robot_back_length" value="0.33"/>
    <param name="min_side_dist" value="0.2"/>
    <param name="robot_width" value="0.2"/>
    <param name="robot_front_length" value="0.2"/>

    <param name="rotational_gain" value="3.5"/> <!-- relic from the past, should be removed with new move_basic-->  
    <param name="abort_timeout" value="0.5"/> <!-- relic from the past, should be removed with new move_basic-->  
    <param name="linear_gain" value="0.5"/> <!-- relic from the past, should be removed with new move_basic-->
    <param name="reverse_without_turning_threshold" value="0.1"/> <!-- relic from the past, should be removed with new move_basic-->
    <param name="velocity_threshold" value="0.2"/> <!-- relic from the past, should be removed with new move_basic-->

    <remap from="/move_base/goal" to="move_base/goal"/>
    <remap from="/move_base_simple/goal" to="move_base_simple/goal"/>
    <remap from="/plan" to="plan"/>
    <remap from="/obstacle_viz" to="obstacle_viz"/>
    <remap from="/cmd_vel" to="cmd_vel"/>
    <remap from="/lateral_error" to="lateral_error"/>
    <remap from="/obstacle_distance" to="obstacle_distance"/>
    <remap from="/plan" to="plan"/>
    <remap from="/scan" to="scan_filtered"/>
    
  </node>
</launch>

```
