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

zakizadeh's profile - activity

2023-05-08 03:25:03 -0500 marked best answer How to plot position(x y z) and velocity of fixed frames(end-effector) in rqt ??

hi . i need answer to complete my Master's thesis. i want plot position and velocity of end effector that have fixed joint using rqt. How to plot position(x y z) and velocity of fixed frames(end-effector) in rqt ?? can you write a very very very simple examlpe for that ?? like two link and one joint arm . and plot position(x y z) of second link in rqt ??

UR5 straight line motion

2023-05-08 03:24:14 -0500 marked best answer how get pose(x,y,z) of links and plot in rqt?

hi. I want plot position (x y z) for camera and second link for RRRBot robot.

NEngelhard told me: " you need to use a tf listener to get the pose and republish these values so that rqt_plot is able to plot them. "

but I do not know what to do. can any body write tf listener for RRRBot robot ??

2021-07-27 21:05:04 -0500 received badge  Famous Question (source)
2021-07-02 05:05:15 -0500 received badge  Famous Question (source)
2021-06-01 01:27:02 -0500 received badge  Notable Question (source)
2021-06-01 01:27:02 -0500 received badge  Famous Question (source)
2021-04-27 02:13:52 -0500 received badge  Notable Question (source)
2021-04-27 02:13:52 -0500 received badge  Popular Question (source)
2021-01-04 03:51:01 -0500 received badge  Famous Question (source)
2020-12-18 10:29:19 -0500 received badge  Notable Question (source)
2020-06-23 19:03:30 -0500 received badge  Famous Question (source)
2020-06-04 05:00:07 -0500 received badge  Famous Question (source)
2020-02-10 03:33:26 -0500 received badge  Notable Question (source)
2019-09-20 02:44:02 -0500 marked best answer how definition geometry_msgs/Pose for link ??

hi . i want to plot position x of /my_robot/pose topic, which is a type of geometry_msgs/Pose message. This can be plotted by /your_robot/pose/position/x. in this page say :

step one -- >> geometry_msgs/Pose contains a member position. Look into its definition by clicking the link at geometry_msgs/Point in the api page. step two -->> You see x as a member of geometry_msgs/Point.

how can i doing step one ?? where is a api page ?? how can i write geometry_msgs/Poin for links ?? i want ploot pose of link in rqt like this : /your_robot/pose/position/x

2019-09-20 02:14:48 -0500 marked best answer Create Transmission between two parallel link like gears in urdf?

hi . how creat Transmission between two parallel link like gears in urdf ?? i have two gears in my urdf . when rotate gear 1 , gear 2 is fixed and not rotate!

i want rotate two gears in same time . U31_1 and U32_1 are gears .

     <link
    name="link_U31_1">
    <inertial>
      <origin
        xyz="-8.87891218881443E-11 7.94085594724159E-07 -0.00670118881241989"
        rpy="0 0 0" />
      <mass
        value="0.0791354618215319" />
      <inertia
        ixx="0"
        ixy="0"
        ixz="0"
        iyy="0"
        iyz="0"
        izz="0" />
    </inertial>
    <visual>
      <origin
        xyz="0 0 0"
        rpy="0 0 0" />
      <geometry>
        <mesh
          filename="file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/link_U31_1.STL" />
      </geometry>
      <material
        name="">
        <color
          rgba="0.792156862745098 0.819607843137255 0.933333333333333 1" />
      </material>
    </visual>
    <collision>
      <origin
        xyz="0 0 0"
        rpy="0 0 0" />
      <geometry>
        <mesh
          filename="file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/link_U31_1.STL" />
      </geometry>
    </collision>
  </link>
  <joint
    name="joint_U31_1"
    type="revolute">
    <origin
      xyz="0.0375000001895901 0 0.0547500000000001"
      rpy="0 6.93889390390723E-16 0" />
    <parent
      link="link_U33_1" />
    <child
      link="link_U31_1" />
    <axis
      xyz="0 0 1" />
<limit effort="1.0" lower="-1.75" upper="1.75" velocity="3.14"/>
  </joint>
 <link
    name="link_U32_1">
    <inertial>
      <origin
        xyz="-1.49046497366356E-10 -0.000127794819901189 1.88843510273706E-10"
        rpy="0 0 0" />
      <mass
        value="0.019633991990533" />
      <inertia
        ixx="0"
        ixy="0"
        ixz="0"
        iyy="0"
        iyz="0"
        izz="0" />
    </inertial>
    <visual>
      <origin <link
    name="link_U32_1">
    <inertial>
      <origin
        xyz="-1.49046497366356E-10 -0.000127794819901189 1.88843510273706E-10"
        rpy="0 0 0" />
      <mass
        value="0.019633991990533" />
      <inertia
        ixx="0"
        ixy="0"
        ixz="0"
        iyy="0"
        iyz="0"
        izz="0" />
    </inertial>
    <visual>
      <origin
        xyz="0 0 0"
        rpy="0 0 0" />
      <geometry>
        <mesh
          filename="file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/link_U32_1.STL" />
      </geometry>
      <material
        name="">
        <color
          rgba="0.792156862745098 0.819607843137255 0.933333333333333 1" />
      </material>
    </visual>
    <collision>
      <origin
        xyz="0 0 0"
        rpy="0 0 0" />
      <geometry>
        <mesh
          filename="file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/link_U32_1.STL" />
      </geometry>
    </collision>
  </link>
  <joint
    name="joint_U32_1"
    type="revolute">
    <origin
      xyz="-0.0075000004012061 0 0.0422500000000005"
      rpy="1.5707963267949 0 1.5707963267949" />
    <parent
      link="link_U33_1" />
    <child
      link="link_U32_1" />
    <axis
      xyz="0 1 0" />
<limit effort="1.0" lower="-1.75" upper="1.75" velocity="3.14"/>
  </joint>
        xyz="0 0 0"
        rpy="0 0 0" />
      <geometry>
        <mesh
          filename="file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/link_U32_1.STL" />
      </geometry>
      <material
        name="">
        <color
          rgba="0.792156862745098 0.819607843137255 0.933333333333333 1" />
      </material>
    </visual>
    <collision>
      <origin
        xyz="0 0 0"
        rpy="0 0 0" />
      <geometry>
        <mesh
          filename="file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/link_U32_1.STL" />
      </geometry>
    </collision>
  </link>
  <joint
    name="joint_U32_1"
    type="revolute">
    <origin
      xyz="-0.0075000004012061 0 0.0422500000000005"
      rpy="1.5707963267949 0 1.5707963267949" />
    <parent
      link ...
(more)
2019-07-22 06:22:11 -0500 received badge  Notable Question (source)
2019-07-22 06:22:11 -0500 received badge  Famous Question (source)
2019-05-25 07:36:57 -0500 received badge  Famous Question (source)
2019-04-08 01:19:29 -0500 marked best answer using arduino inestead arbotix for controll motors

i want using arduino for control dc motor . What steps are needed ?? what change i need to use codes in ROS by Example Vol2 book . i want using arduino inestead arbotix controller to send command to DC motors. in book used arbotix package . like this example(please look at line 14) . i have to change this package??

2019-02-22 09:53:52 -0500 received badge  Famous Question (source)
2019-01-30 03:32:41 -0500 received badge  Famous Question (source)
2018-11-21 03:06:29 -0500 received badge  Famous Question (source)
2018-10-11 19:40:54 -0500 received badge  Famous Question (source)
2018-09-24 12:21:13 -0500 marked best answer how can i get jacobian matrix in IKfast ?

hi ! i need example for jacobian matrix in ikfast and ROS jade. i need example like this page for in ikfast ? : link text

2018-09-12 13:16:30 -0500 received badge  Popular Question (source)
2018-09-05 05:19:28 -0500 received badge  Notable Question (source)
2018-09-05 05:19:28 -0500 received badge  Famous Question (source)
2018-08-08 01:45:09 -0500 marked best answer how publish pose topic for RRRBOT?

how publish pose topic for rrrbot ? i cant undrstand this page turtle1

2018-08-08 01:44:03 -0500 received badge  Famous Question (source)
2018-07-25 07:46:16 -0500 received badge  Notable Question (source)
2018-07-25 07:46:16 -0500 received badge  Popular Question (source)
2018-07-23 08:42:16 -0500 marked best answer OGRE EXCEPTION (FileNotFoundException) when loading URDF in RViz

hi . i cant load my robot urdf in RViz. i run launch file : roslaunch wrist display.launch

my display.launch is :

 <launch>
 <param name="robot_description" textfile="$(find wrist)/urdf/wrist.urdf" /> 
</launch>

then i run :

rosrun rviz rviz

when i add robotstate in RViz i have this error : how can i fix that ??? please help me .

  [ERROR] [1480582359.533241630]: Could not load model 'file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/m2_1.stl' for link 'm2_1': OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/m2_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp (line 756)
[ WARN] [1480582359.533368375]: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/m2_1.stl in resource group Autodetect or any other group. in ResourceGroupManager::openResource at /build/buildd/ogre-1.8-1.8.1+dfsg/OgreMain/src/OgreResourceGroupManager.cpp

it is my urdf file :

    <?xml version="1.0"?>
<robot name="wrist">
  <link name="base_link">
    <inertial>
      <origin xyz="-0.0155222222222222 0.0506514619883041 -0.0711837607475986" rpy="0 0 0" />
      <mass value="0.161357633901786" />
      <inertia ixx="0" ixy="0" ixz="0" iyy="0"  iyz="0" izz="0" />
    </inertial>
    <visual>
      <origin xyz="0 0 0" rpy="0 0 0" />
      <geometry>
        <mesh filename="file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/base_link.stl" />
      </geometry>
      <material  name="">
        <color  rgba="0.941176470588235 0.674509803921569 0.117647058823529 1" />
      </material>
    </visual>
    <collision>
      <origin xyz="0 0 0" rpy="0 0 0" />
      <geometry>

        <mesh filename="file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/base_link.stl" />
      </geometry>
    </collision>
  </link>
  <link name="m2_1">
    <inertial>
      <origin xyz="1.73472347597681E-18 3.46944695195361E-18 -0.0748894348894349" rpy="0 0 0" />
      <mass value="0.0767176926006627" />
      <inertia  ixx="0" ixy="0" ixz="0" iyy="0" iyz="0" izz="0" />
    </inertial>
    <visual>
      <origin xyz="0 0 0" rpy="0 0 0" />
      <geometry>
        <mesh  filename="file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/m2_1.stl" />
      </geometry>
      <material  name="">
        <color rgba="0.941176470588235 0.674509803921569 0.117647058823529 1" />
      </material>
    </visual>
    <collision>
      <origin  xyz="0 0 0" rpy="0 0 0" />
      <geometry>
        <mesh filename="file:///home/zakizadeh/catkin_ws3/src/wrist/meshes/m2_1.stl" />
      </geometry>
    </collision>
  </link>
  <joint name="m2_1"  type="continuous">
    <origin xyz="-0.0155222222222222 0.0225000000000004 0.0416514619883041" rpy="3.14159265358979 0 0" />
    <parent link="base_link" />
    <child link="m2_1" />
    <axis xyz="0 0 -1" />
  </joint>
</robot>
2018-07-13 02:25:35 -0500 received badge  Famous Question (source)
2018-07-03 14:45:03 -0500 received badge  Famous Question (source)
2018-06-26 02:41:45 -0500 marked best answer control robot via Jacobian inverse ?

hi . how can i control robot via Jacobian inverse ?

2018-05-17 16:49:21 -0500 received badge  Famous Question (source)
2018-04-27 14:08:37 -0500 marked best answer cannot launch node of type [arbotix_python/arbotix_driver]: arbotix_python

when i run :
roslaunch rbx2_bringup pi_robot_with_gripper.launch sim:=true

i have this error : ERROR: cannot launch node of type [arbotix_python/arbotix_driver]: arbotix_python ROS path [0]=/opt/ros/jade/share/ros ROS path [1]=/home/zakizadeh/catkin_ws/src ROS path [2]=/opt/ros/jade/share ROS path [3]=/opt/ros/jade/stacks ERROR: cannot launch node of type [arbotix_controllers/gripper_controller]: arbotix_controllers

please help me . how can i fix that ?

2018-04-02 06:01:26 -0500 received badge  Famous Question (source)
2018-03-05 12:02:14 -0500 received badge  Famous Question (source)
2018-02-08 09:45:59 -0500 marked best answer How can I run .launch files from launch file ?

hi ! i have to run two launch file before run rviz in launch code. i wrote this code :

<param name="rbx2_bringup" command="$(find xacro)/xacro.py '$(find rbx2_bringup)/launch/pi_robot_with_gripper.launch'" />  
<param name="pi_robot_moveit_config" command="$(find xacro)/xacro.py '$(find pi_robot_moveit_config)/launch/move_group.launch'" />  
 <!-- Show in Rviz   -->
  <node name="rviz" pkg="rviz" type="rviz" args="-d $(find rbx2_arm_nav)/config/arm_paths.rviz"/>

please edit code for me and write correct code. thank you !

2018-02-08 09:44:50 -0500 received badge  Famous Question (source)
2018-02-08 07:04:46 -0500 received badge  Notable Question (source)
2018-02-06 00:45:02 -0500 received badge  Famous Question (source)
2018-02-05 15:06:09 -0500 received badge  Popular Question (source)
2018-02-05 14:22:35 -0500 marked best answer what is a y-axis in /joint_states/velocity[5] in rqt_plot ?

hi . in rqt_plot => /joint_states/position[5]

The x-axis is time in seconds and the y-axis reflects joint position in radians . but what is a y-axis in /joint_states/velocity[5] in rqt_plot ?