ros / joint_state_publisher

http://wiki.ros.org/joint_state_publisher
50 stars 81 forks source link

Can i move my robot arm like rviz? #75

Closed EmadDeve20 closed 2 years ago

EmadDeve20 commented 2 years ago

My question sounds confusing I want my robot to move exactly like the robot inside rviz not like your code! Is this possible? I know I mean badly right now, so let me explain more precisely!

look at picture in down

Screenshot from 2021-12-08 12-34-38

now look at this picture

Screenshot from 2021-12-08 12-42-16

As you can see, I used your code in the second image, but it was different from the first image! The difference is that I want to shake that orange robot using a code like yours!

I saw your rviz message and your code was no different:

Screenshot from 2021-12-08 11-31-31 ^ this message from RVIZ

Screenshot from 2021-12-08 11-32-12 ^ this message from your UI

Is there a way I can shake like a rviz (orange robot) using a slider like your code? Your code is like doing a plan, but I want it before! Is there a way? I'm really confused.

clalancette commented 2 years ago

For questions like this, please ask them on https://answers.ros.org, which is our central question and answer site. You should be able to get some help there. I'm going to close this one out.

EmadDeve20 commented 2 years ago

@clalancette Thanks :D