Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 1441

Compute mass matrix with ROS

$
0
0
I want to control UR10 inside Gazebo simulation and ROS. I settled down the issue of planning motion with MoveIT and executing trajectories using position_controllers/JointTrajectoryController. Now I would like to model dynamics of the arm and control it using forces. My control signal is going to be set like this: ![image description](https://s0.wp.com/latex.php?latex=%5Ctextbf%7Bu%7D+%3D+%28%5Ctextbf%7BM%7D%28%5Ctextbf%7Bq%7D%29+%5C%3B+%28k_p+%5C%3B+%28%5Ctextbf%7Bq%7D_%7B%5Ctextrm%7Bdes%7D%7D+-+%5Ctextbf%7Bq%7D%29+%2B+k_v+%5C%3B+%28%5Cdot%7B%5Ctextbf%7Bq%7D%7D_%7B%5Ctextrm%7Bdes%7D%7D+-+%5Cdot%7B%5Ctextbf%7Bq%7D%7D%29%29+%2B+%5Ctextbf%7Bg%7D%28%5Ctextbf%7Bq%7D%29%29%2C&bg=ffffff&fg=555555&s=0&zoom=2) So here are two questions: 1. Is it possible to compute mass matrix M and gravity vector g using built it ROS packages or should I do it manually? For me it seems like the computation can be performed automatically because all the required information is specified in URDF file. Nevertheless I have not found any information about how to do it. 2. It seems like I need custom controller in between MoveIT's move_group_interface and Gazebo's torque controller which will take care of computing u and pass it to the Gazebo controller. How should I do that? Thanks!

Viewing all articles
Browse latest Browse all 1441

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>