How to manipulate an arm with real-time user input?
I've been trying to create a program in Python to get real time user input which can be used to manipulate an arm in rviz to perform motion based according to the user's desire, but using standard messages is not working. I've been using rosrun to run the python file after launching the robot package. I'm a beginner to ROS and am currently using ROS Melodic so this might be a very trivial task but I did not find anything on the net, so if anyone has done it, pls help me out. I'm running a simulation of tmr_700 robot arm, the arm has 3 joints which I wish to manipulate a single joint for movement.
Please edit your question and provide more information: is this for simulation, or a real robot? how many joints does the robot arm have? what kind of device(s) are going to provide input? are you trying to control just a single joint, or are you trying to specify the pose of the end-effector in a 3D space?
Thank you for pointing my mistake out, I'm new to ROS and am still learning how to handle the forum, I'll edit the question and add the details that you pointed out
Does your robot package have a demo? Do you have the demo working in gazebo?