Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to enable Cartesian Pose Controller in fetch driver #35

Open
ljklonepiece opened this issue Mar 13, 2018 · 5 comments
Open

How to enable Cartesian Pose Controller in fetch driver #35

ljklonepiece opened this issue Mar 13, 2018 · 5 comments

Comments

@ljklonepiece
Copy link

Hi there,
in robot_controllers pkg, there is a class called CartesianPoseController.
It seems that this function has not been activated in fetch_drivers or fetch_bringup, may I know how I can use this class? since I think it may be useful to execute a short straight line path directly without external planner (such as by Moveit!)

Comments are welcome!

@glebshevchukk
Copy link

Also running into this issue. Adding arm_controller/cartesian_pose to fetch_bringup/config/default_controllers.yaml and restarting the robot service does not start it.

Running the following does not work:

or:
~~~~ rosrun robot_controllers_interface start_controller.py arm_controller/cartesian_wrench~~~~

Although the following does:
~~~~ rosrun robot_controllers_interface start_controller.py arm_controller/cartesian_twist~~~~

It seems that the arm_controller/cartesian_twist/command topic is being subscribed to by robot_driver (which is called in fetch_bringup/launch/fetch.launch), but we cannot edit this. Is there a way to do a hard reset of fetch_bringup?

Any advice on how to proceed?

@mikeferguson
Copy link
Contributor

I'm actually not sure if the cartesian pose controller has ever been tested - there may be issues in the underlying code...

@glebshevchukk
Copy link

Thanks @mikeferguson for the quick reply. I will try to get it active and test it over the weekend.

@ljklonepiece
Copy link
Author

Also running into this issue. Adding arm_controller/cartesian_pose to fetch_bringup/config/default_controllers.yaml and restarting the robot service does not start it.

Running the following does not work:

or:
~~~~ rosrun robot_controllers_interface start_controller.py arm_controller/cartesian_wrench~~~~

Although the following does:
~~~~ rosrun robot_controllers_interface start_controller.py arm_controller/cartesian_twist~~~~

It seems that the arm_controller/cartesian_twist/command topic is being subscribed to by robot_driver (which is called in fetch_bringup/launch/fetch.launch), but we cannot edit this. Is there a way to do a hard reset of fetch_bringup?

Any advice on how to proceed?

I wrote a cartesian PD controller myself, you may want to try it out
https://github.com/ljklonepiece/fetch_cartesian_control.git

you may want to adjust the parameters in cart_server.py for better speed.
let me know if this works for u

@ljklonepiece
Copy link
Author

ljklonepiece commented Oct 21, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants