Giter Site home page Giter Site logo

Comments (4)

RyodoTanaka avatar RyodoTanaka commented on May 25, 2024

@MuratCA77

The reason of the Error

Error1

It is failed to load sia5_controller

That error message, says we could not use sia5_controller, when we want to use sia5_joint_position_control.yaml configuration file.
So, we need to change the controller names on launch file.

Error 2

Now, we use position_controllers/JointPositionController type for gazebo robot model that you can check on here.
But, on kinect-devel branch, sia5_joint_position_control.yaml file sets effect_controllers/JointPositionController mistakenly.
So, we need to fix from effect_controllers/JointPositionController to position_controllers/JointPositionController.

How to fix them ?

Fixing Error1

Rewrite your <motoman_project>/motoman_control/launch/sia5_sim_control.launch file as following.

<launch>

  <!-- Load joint controller configurations from YAML file to parameter server -->
  <rosparam file="$(find motoman_control)/config/sia5/sia5_joint_position_control.yaml" command="load"/>

  <!-- load the controllers -->
  <node name="sia5_controller_spawner" pkg="controller_manager"
		type="spawner" output="screen" 
		args="joint_state_controller
	              joint_s_position_controller
                      joint_l_position_controller
                      joint_e_position_controller
                      joint_u_position_controller
                      joint_r_position_controller
                      joint_b_position_controller
                      joint_t_position_controller"/>

  <!-- convert joint states to TF transforms for rviz, etc -->
  <node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher"
		respawn="false" output="screen">
  </node>

</launch>

Fixing Error 2

Now, I patched the error on 3a7a065.
So, pull it and launch it again.

At the End

Now, we have a problem on testing our packages....
That means, there should be more errors.
So, if you find any other errors or bugs, please be free to open the Issue !

from motoman_project.

MuratCA77 avatar MuratCA77 commented on May 25, 2024

from motoman_project.

RyodoTanaka avatar RyodoTanaka commented on May 25, 2024

@MuratCA77

How can I control the speed of the robot?

Now, we set the controller to be a Position Controller.
That means, we control position, not velocity (speed).
So, If you want to control velocity, you need to change controller that is written in <motoman_description>/urdf/sia5/body.transmission.xacro.

when I change the PID gains in the yaml file, it does not even show its effects.

That sounds strange, in usual, if you set the pid gain, it shows the effects.
How does it reacts, when you set every gain to be 0 ?

from motoman_project.

MuratCA77 avatar MuratCA77 commented on May 25, 2024

from motoman_project.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.