elfin_robot icon indicating copy to clipboard operation
elfin_robot copied to clipboard

Basic API of elfin3

Open Soil-L opened this issue 1 year ago • 4 comments

hello, I am doing some control research using elfin3. I want to periodically get the state of joint(not state of encoder) and end. And i also also want to freely change the pos of the arm with no need to turn zero-gravity mode by demonstrator. But i cannot find the api i want in api_description.md. Now i use some api of moveit to get states, but i think getting state from basic_api will be more convient. So, i wandering that is there any API provided to 1.get joint states and end states? 2.turn on zero-gravity mode

Soil-L avatar Dec 13 '23 02:12 Soil-L

  1. When you say joint status, do you mean the joint angle between the starting point and the end point of the trajectory?
  2. Zero force functionality is not currently provided in ROS

Neverforgetlove avatar Dec 18 '23 04:12 Neverforgetlove

  1. When you say joint status, do you mean the joint angle between the starting point and the end point of the trajectory?
  2. Zero force functionality is not currently provided in ROS

Thank you for your quick reply!

  1. Actually, i just want the joint angles periodically whether it is moving or not. is it possible to use basic_api to achieve?
  2. All right. is it in the develop plan?

Soil-L avatar Dec 18 '23 11:12 Soil-L

  1. In fact, you can see the joint radian position_tmp1 and position_tmp2 from the read_update function in elfin_ros_control/src/elfin_hardware_interface.cpp. You can customize a topic to publish it.
  2. We are developing another control mode to implement. This mode will be quite different from the current ROS package and will not be completed as soon.

Neverforgetlove avatar Dec 18 '23 14:12 Neverforgetlove

  1. In fact, you can see the joint radian position_tmp1 and position_tmp2 from the read_update function in elfin_ros_control/src/elfin_hardware_interface.cpp. You can customize a topic to publish it.
  2. We are developing another control mode to implement. This mode will be quite different from the current ROS package and will not be completed as soon.
  1. OK, i am trying it.

Soil-L avatar Dec 19 '23 02:12 Soil-L