Code Monkey home page Code Monkey logo

Comments (3)

RobertWilbrandt avatar RobertWilbrandt commented on July 22, 2024

The scaled_joint_trajectory_controller should only slow you down if you actually lower the speed scaling on the controller - you can monitor that value using ros2 topic echo /speed_scaling_state_broadcaster/speed_scaling. You can use the "normal" joint_trajectory_controller directly using the launch file:

ros2 launch ur_robot_driver ur_control.launch.py ur_type:=ur10e robot_ip:=<robot ip> initial_joint_controller:=joint_trajectory_controller

but this should not change anything as long as the speed_scaling topic returns 100.

Both these controllers (and forward_position_controller) do not care about any joint limits, so i would suspect that slow movement would be the result of parametrization on the MoveIt side. Can you verify if this occurs if you directly send goals to the controller?

It would also help if you could quantify "slow". What are the maximum velocities you achieve (e.g. looking at the /joint_states topic)?

from universal_robots_ros2_driver.

ozgur-kurt avatar ozgur-kurt commented on July 22, 2024

Thanks a lot Robert. When I send goals to the controllers that this script:

ros2 topic pub --once /urscript_interface/script_command std_msgs/msg/String '{data:
"def my_prog():
  textmsg(\"motion begin\")
  movej([2.3, -1.48, -1.55, -1.22, 1.23, -0.92], a=2.0, v=0.90, r=0)
  movel(p[0.188, 0.450, 0.589, 2.477, 2.470, 0.677], a=1.2, v=0.25, r=0)
  textmsg(\"motion finished\")
end"}'

UR robot moves without scaled speed that it worked but this script executed only UR controller. I need to control and move real robot by using RVIZ and Moveit. I am not sure which controller should I use that among joint_trajectory_controller, scaled_joint_trajectory_controller, forward_position_controller. I am only sure that scaled JTC is not useful for me. What do you suggest in terms of using moveit features such as avoidance of singularity, collision, joint limit ?

from universal_robots_ros2_driver.

fmauch avatar fmauch commented on July 22, 2024

As Robert wrote: The motion speed is not a result from the controller, but from the controller's input. Please also see #966 (comment)

from universal_robots_ros2_driver.

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.