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

Tawfiq Chowdhury's profile - activity

2023-04-05 01:21:57 -0500 received badge  Famous Question (source)
2023-02-10 10:10:24 -0500 received badge  Notable Question (source)
2023-02-10 10:10:24 -0500 received badge  Famous Question (source)
2022-11-25 03:48:31 -0500 received badge  Nice Question (source)
2022-06-23 05:57:43 -0500 received badge  Notable Question (source)
2022-03-02 10:26:36 -0500 received badge  Self-Learner (source)
2022-03-02 10:26:36 -0500 received badge  Necromancer (source)
2022-03-02 10:26:36 -0500 received badge  Teacher (source)
2022-03-02 10:09:52 -0500 answered a question What is the target frame in moveit for PR2?

It is odom-combined.

2022-03-02 10:09:33 -0500 commented question What is the target frame in moveit for PR2?

@Benjamin C, yes, it is odom-combined, initially I thought it is base link but it is not base link.

2022-02-14 22:50:41 -0500 commented answer What is a good API for SMACH?

@Timple86, thanks for the idea.

2022-02-14 22:44:34 -0500 received badge  Notable Question (source)
2022-02-14 08:51:50 -0500 received badge  Popular Question (source)
2022-02-13 21:00:57 -0500 asked a question What is a good API for SMACH?

What is a good API for SMACH? If I want to run a state machine (SMACH) from another python program, what will be a good

2021-09-29 09:53:12 -0500 received badge  Famous Question (source)
2021-09-29 09:53:12 -0500 received badge  Notable Question (source)
2021-09-29 09:46:13 -0500 received badge  Famous Question (source)
2021-09-19 07:30:23 -0500 received badge  Famous Question (source)
2021-09-03 05:21:19 -0500 received badge  Good Question (source)
2021-08-16 11:24:59 -0500 received badge  Nice Question (source)
2021-05-15 01:46:17 -0500 received badge  Popular Question (source)
2021-04-19 18:02:36 -0500 received badge  Popular Question (source)
2021-04-14 17:52:37 -0500 asked a question How to use ROS with Docker inside a catkin_ws

How to use ROS with Docker inside a catkin_ws I have docker installed on my Ubuntu (Jetpack) machine and I have a catkin

2021-04-13 08:55:54 -0500 received badge  Popular Question (source)
2021-04-13 08:55:54 -0500 received badge  Notable Question (source)
2021-04-13 08:53:52 -0500 received badge  Famous Question (source)
2021-04-13 08:53:52 -0500 received badge  Popular Question (source)
2021-04-13 08:53:52 -0500 received badge  Notable Question (source)
2021-04-09 12:24:46 -0500 received badge  Popular Question (source)
2021-04-09 12:24:46 -0500 received badge  Notable Question (source)
2021-04-09 12:24:46 -0500 received badge  Famous Question (source)
2021-04-09 01:17:15 -0500 asked a question How to add a camera/gimbal frame for a drone in TF without URDF

How to add a camera/gimbal frame for a drone in TF without URDF I have previously worked with a PR2 robot which has a Ki

2021-04-07 12:12:40 -0500 received badge  Famous Question (source)
2021-03-02 02:19:49 -0500 received badge  Notable Question (source)
2021-03-02 02:19:49 -0500 received badge  Famous Question (source)
2021-03-02 02:19:49 -0500 received badge  Popular Question (source)
2021-03-02 01:23:41 -0500 received badge  Famous Question (source)
2021-02-21 03:33:18 -0500 received badge  Notable Question (source)
2021-02-19 20:54:26 -0500 received badge  Popular Question (source)
2021-02-10 15:48:26 -0500 asked a question Does tf support drone?

Does tf support drone? I have an IF750 drone and and I want to use a camera with a gimbal in it. Since drone uses GPS (l

2021-02-08 19:49:19 -0500 asked a question How to control drone's camera gimbal from software/code

How to control drone's camera gimbal from software/code I am working with an IF750 drone and I want to control the drone

2020-12-18 13:38:34 -0500 marked best answer How to call the openGripper functon from python

I need to open and close the gripper of PR2. I did not find any option to do that in python. From this tutorial, I found these functions:

void openGripper(trajectory_msgs::JointTrajectory& posture)
{
  // BEGIN_SUB_TUTORIAL open_gripper
  /* Add both finger joints of panda robot. */
  posture.joint_names.resize(2);
  posture.joint_names[0] = "panda_finger_joint1";
  posture.joint_names[1] = "panda_finger_joint2";

  /* Set them as open, wide enough for the object to fit. */
  posture.points.resize(1);
  posture.points[0].positions.resize(2);
  posture.points[0].positions[0] = 0.04;
  posture.points[0].positions[1] = 0.04;
  posture.points[0].time_from_start = ros::Duration(0.5);
  // END_SUB_TUTORIAL
}


void closedGripper(trajectory_msgs::JointTrajectory& posture)
{
  // BEGIN_SUB_TUTORIAL closed_gripper
  /* Add both finger joints of panda robot. */
  posture.joint_names.resize(2);
  posture.joint_names[0] = "panda_finger_joint1";
  posture.joint_names[1] = "panda_finger_joint2";

  /* Set them as closed. */
  posture.points.resize(1);
  posture.points[0].positions.resize(2);
  posture.points[0].positions[0] = 0.00;
  posture.points[0].positions[1] = 0.00;
  posture.points[0].time_from_start = ros::Duration(0.5);
  // END_SUB_TUTORIAL
}

Could anyone provide a simple example of how to call these functions from python? I do not how to wrap python with C++ and I did not find any straightforward tutorial for ROS. The panda_finger_joint1 should be replaced by PR2's joint though which I think is _gripper_joint.

2020-10-12 23:29:48 -0500 received badge  Famous Question (source)
2020-09-22 05:23:55 -0500 received badge  Famous Question (source)
2020-07-01 21:34:51 -0500 received badge  Notable Question (source)
2020-07-01 21:34:51 -0500 received badge  Famous Question (source)
2020-06-24 04:13:04 -0500 received badge  Popular Question (source)
2020-06-24 04:13:04 -0500 received badge  Notable Question (source)
2020-06-17 21:14:14 -0500 received badge  Popular Question (source)
2020-06-17 21:14:14 -0500 received badge  Notable Question (source)