ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

JointGroupPositionController initializes position at zeros

asked 2023-03-12 04:51:53 -0500

arianwu gravatar image

Hi, I have written a custom Hardware Interface for the Allegro Hand. Whenever I initialize it using a FollowJointTrajectory controller it keeps the original position. But whenever I initialize it using a JointGroupPositionController it moves all of the joints to zero, which is something I do not desire and think might be dangerous to move without the user wanting it to.

Is there a way to initialize the position at the original position and wait for a command to move it?

edit retag flag offensive close merge delete

Comments

Please provide a link to exactly which JointGroupPositionController package you are using (there are many variants out there.)

Mike Scheutzow gravatar image Mike Scheutzow  ( 2023-03-13 17:07:26 -0500 )edit

I am using the following controller from ros_control link

arianwu gravatar image arianwu  ( 2023-03-15 03:00:40 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-07-10 15:55:51 -0500

Ivandagiant gravatar image

See https://answers.ros.org/question/2114...

I had a similar issue with my custom Hardware interface using a velocity_controllers/JointTrajectoryController. Solution for me was to set my joint positions inside the init function of my hardware interface; otherwise it would default to 0.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2023-03-12 04:51:53 -0500

Seen: 88 times

Last updated: Mar 12 '23