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

Start state does not change according to current state

asked 2023-04-03 07:19:15 -0500

PRA008 gravatar image

Hi, I'm having trouble controlling a real robot with this package.

The robot can connect and move normally, but the problem is that the robot's start state does not change according to the current state.

Of course I didn't forget to check and change the start state to current already.

image description

From the picture, when I press plan, the real current status disappears immediately and will start showing movement to the position from the start state (Home pose) instead.

As a result, every time the real robot moves (execute), the state on rviz is incorrect. When changing the trajectory, the real robot will go back to the Home pose first then change to the new position.

This is a problem that I can't switch to other control with. I can't use JointPositionController instead of JointTrajectoryController , because it (joint state) still understands that I am still in Home position.

I want to know what could be the cause. How should I check and where to fix it?

Please help me.

P.S. Thank you all.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-07-04 06:48:15 -0500

TheAbraham gravatar image

I have found a solution and posted it on projects GitHub. Link to post: https://github.com/Dobot-Arm/CR_ROS/i...

edit flag offensive delete link more

Comments

1

Thank for your answer! This is a problem that I've given up and left for a very long time. Now you saved me, thank you very much.

PRA008 gravatar image PRA008  ( 2023-07-05 05:25:44 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2023-04-03 07:19:15 -0500

Seen: 609 times

Last updated: Apr 03 '23