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

Felix_N's profile - activity

2019-10-17 08:03:49 -0500 received badge  Good Answer (source)
2019-10-17 08:03:49 -0500 received badge  Enlightened (source)
2019-07-24 02:25:22 -0500 received badge  Nice Question (source)
2019-06-11 13:47:09 -0500 received badge  Nice Answer (source)
2018-09-25 08:32:35 -0500 marked best answer ros::moveit adding rotation to xyz-coordinates

Hello people,

I am currently programming a 6 DOF robotic arm using ros and moveit for the navigation. My goals are to send x,y,z coordinates as well as a fixed orientation of my gripper in order to succesfully grab certain objects.

Following the tutorial i can send x,y,z coordinates like this just fine:

geometry_msgs::Pose target_pose1;
target_pose1.orientation.w = 1;
target_pose1.position.x = 0;
target_pose1.position.y = 0;
target_pose1.position.z = 0.55;
move_group.setPoseTarget(target_pose1);

Using this method, my end effector stays in its start orientation.

I can also send a effector orientation like this:

move_group.setRPYTarget(1,1,0);

However, now i the orientation changes to the given values but the x,y,z-coordinates seem rather random.

Using both commands in a row, the sedond one overwrites the first one, leading to an insufficient result.

Right now I am stuck messing around with quaternion transformation using the tf package not knowing whether this is is the right way at all. Seems like this package is unable to combine both position and orientation as well.

Does somebody know a way to send x,y,z-coordinates AND rpy-orientations (c++)?

Thank you in advance,

Felix

2018-09-25 08:32:35 -0500 received badge  Self-Learner (source)
2018-09-25 08:32:35 -0500 received badge  Teacher (source)
2018-05-22 07:52:01 -0500 received badge  Taxonomist
2018-01-30 20:02:36 -0500 received badge  Famous Question (source)
2017-11-28 14:16:46 -0500 received badge  Famous Question (source)
2017-11-17 13:00:33 -0500 received badge  Famous Question (source)
2017-11-17 13:00:33 -0500 received badge  Notable Question (source)
2017-11-14 04:03:40 -0500 received badge  Famous Question (source)
2017-11-14 04:01:59 -0500 commented question roscanopen + cyclic position mode + nanotec controller

Sorry I can't help you but I'm currently tasked with a similar project. I shall control several DB42M03 Motors using the

2017-10-28 02:34:53 -0500 received badge  Famous Question (source)
2017-10-13 07:35:59 -0500 received badge  Famous Question (source)
2017-10-09 13:41:44 -0500 received badge  Famous Question (source)
2017-10-01 06:22:47 -0500 received badge  Notable Question (source)
2017-08-09 12:48:59 -0500 received badge  Notable Question (source)
2017-07-27 15:18:04 -0500 received badge  Student (source)
2017-07-27 15:18:02 -0500 received badge  Notable Question (source)
2017-07-19 01:06:30 -0500 received badge  Notable Question (source)
2017-07-12 01:39:12 -0500 received badge  Notable Question (source)
2017-07-11 17:09:54 -0500 received badge  Popular Question (source)
2017-07-09 13:08:43 -0500 received badge  Popular Question (source)
2017-07-09 08:44:28 -0500 marked best answer Rosserial arduino connection error

Hello everyone,

I am currently trying to connect my arduino due to my pc in order to run my ROS package I wrote, which shall communicate with the arduino.

I can compile and upload my program via the GUI. To start the serial connection, I run:

rosrun rosserial_python serial_node.py /dev/ttyACM0

Which produces the output:

[INFO] [1499369503.299387]: ROS Serial Python Node
[INFO] [1499369503.305172]: Connecting to /dev/ttyACM0 at 57600 baud
[ERROR] [1499369520.430946]: Unable to sync with device; possible link problem or link software version mismatch such as hydro rosserial_python with groovy Arduino

I don't really understand the message. I wrote all my nodes in ROS kinetic and also installed rosserial via:

sudo apt-get install ros-kinetic-rosserial-arduino
sudo apt-get install ros-kinetic-rosserial

just like it was done in the tutorial.

Why is the arduino assigned to a particular ROS version anyway? How can I set this to kinetic?

I am working on a virtual box with Ubuntu 16.04

Does somebody know how to solve that problem?

Thanks in advance,

Felix

2017-07-09 08:44:25 -0500 answered a question Rosserial arduino connection error

It now works on an Arduino Mega 2650. Same settings, same code, works. It even got the same amount of pins available.

2017-07-06 17:17:58 -0500 commented question Rosserial arduino connection error

I know. But still i have no idea how to solve this.

2017-07-06 14:48:06 -0500 edited question Rosserial arduino connection error

Rosserial arduino connection error Hello everyone, I am currently trying to connect my arduino due to my pc in order to

2017-07-06 14:47:49 -0500 received badge  Organizer (source)
2017-07-06 14:46:32 -0500 asked a question Rosserial arduino connection error

Rosserial arduino connection error Hello everyone, I am currently trying to connect my arduino to my pc in order to run

2017-07-05 15:35:52 -0500 commented answer Moveit gets stuck after planning

You got it. I have a spinner everywhere else but forgot it at that point. Thanks.

2017-07-05 15:35:52 -0500 received badge  Commentator
2017-07-05 15:34:16 -0500 marked best answer Moveit gets stuck after planning

Hi everyone,

I currently want to send a joint-space goal to my 6DOF arm. move_point is a pointer to my move_group. The command comes from a GUI I wrote and the callback looks like this:

void goal_joint_callback(mybot::joint_command msg){
     ROS_INFO("debug1");
     std::vector<double> joint_group_positions(6);
     joint_group_positions[0] = msg.joint1;  // radians
     joint_group_positions[1] = msg.joint2;
     joint_group_positions[2] = msg.joint3; 
     joint_group_positions[3] = msg.joint4; 
     joint_group_positions[4] = msg.joint5;
     joint_group_positions[5] = msg.joint6;
     ROS_INFO("debug2");
     move_point->setJointValueTarget(joint_group_positions);
     ROS_INFO("debug3");
     bool success = move_point->plan(*current_plan);
     ROS_INFO("debug4");
     ROS_INFO_NAMED("tutorial", "Visualizing plan 2 (joint space goal) %s", success ? "" : "FAILED");
 }

The goal gets visualized quite nice in rviz and until then everything looks ok.

In my output terminal I can see "debug 1,2,3" but not "debug 4": I am also unable to send additional goals after the first one. I cant really tell why, because the same lines of code (bool success = move_point->plan(*current_plan);) do work at another place with the cartesian path.

Thank you in advance,

Felix

2017-07-05 14:05:14 -0500 received badge  Popular Question (source)
2017-07-03 03:21:11 -0500 received badge  Popular Question (source)
2017-07-02 10:06:19 -0500 asked a question Moveit gets stuck after planning

Moveit gets stuck after planning Hi everyone, I currently want to send a joint-space goal to my 6DOF arm. move_point is