Results 1 to 2 of 2

Thread: Interfacing ROS with pincher arm (AX-12A servos)

  1. Interfacing ROS with pincher arm (AX-12A servos)

    Hi guys,

    I have a little concerns about servo movement under ROS control. Pincher arm is configured with ROS and moveit.
    Click image for larger version. 

Name:	Screenshot from 2017-11-19 18-09-41.jpg 
Views:	285 
Size:	52.5 KB 
ID:	7099
    Above plot presents axis position and its velocity. As you can see velocity plot is jerky a bit.

    Arbotix plugin looks like follows:
    port: /dev/ttyUSB0
    rate: 100
    write_rate : 50
    read_rate : 50
    joints: {
        arm_shoulder_pan_joint : {id: 1, max_speed: 50.0},
        arm_shoulder_lift_joint : {id: 2, max_speed: 50.0},
        arm_elbow_flex_joint : {id: 3, max_speed: 50.0},
        arm_wrist_flex_joint : {id: 4, max_speed: 50.0},
        gripper_joint : {id: 6, max_speed: 50.0},
        gripper_link_joint : {id: 5, max_speed: 50.0}
    controllers: {
    arm_controller: {type: follow_controller, joints: [arm_shoulder_pan_joint, arm_shoulder_lift_joint, arm_elbow_flex_joint, arm_wrist_flex_joint, gripper_link_joint], action_name: arm_controller/follow_joint_trajectory }
    1) I am wondering if it is the best I can achieve. What are your experiences with setting movement?
    2) I would like to switch from position control to velocity control. Unfortunately there is no way to control velocity only. I can set velocity of moving to goal position but what about velocity control loop? No way so far. Maybe another servos have this feature?

    Kind regards,

  2. #2

    Re: Interfacing ROS with pincher arm (AX-12A servos)

    You can turn the AX-12A into "wheel mode" at which point it will be velocity controlled.
    The velocity returned by the AX-12A depends on a number of parameters, including the noise and resolution of the built-in encoder.
    It's only 10 bits, using a potentiometer wiper, and honestly, the 10 bits on the AVR microcontroller can in turn be somewhat noisy at times.
    So, if the servo moves 1 or 2 or 3 ticks in any one control loop time interval, calculating the velocity based on that quantization will be inherently noisy.
    The XM and MX servos use 12 bit magnetic encoders that are less noisy and have higher resolution.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Feeding Coordinates to Pincher Arm.
    By EpicZa in forum Interbotix Robotic Arms
    Replies: 22
    Last Post: 05-26-2015, 12:27 PM
  2. Question(s) Interfacing FLIR Lepton with Intel Edison
    By McRender in forum Sensors
    Replies: 11
    Last Post: 03-07-2015, 12:54 AM
  3. interfacing SSC 32 with max msp
    By arduinooo in forum Software and Programming
    Replies: 3
    Last Post: 01-30-2013, 05:03 PM
  4. I-sobot + Arduino interfacing made easy
    By Nelsontheunholy in forum Humanoids, Walkers & Crawlers
    Replies: 0
    Last Post: 01-21-2010, 03:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts