ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2022-10-12 04:40:16 -0500 | marked best answer | Subscriber and publisher in a file I am using ubuntu 16.04 kinetic
I am trying to get pose information from Phantom omni device and send the pose information to my robotic arm in gazebo.
For now, my subscribe node works well but I would like to add publisher part in the same file.
Do I need to use different nodeHandle with the subscriber for the publisher?
Can I put the following line things into the main function and use the callback function for the publisher?
Here is my subscribe node to get pose information from Phantom omni |
2022-10-12 04:36:31 -0500 | marked best answer | Float32MultiArrary publish The following code subscribes pose information and then it calculates inverse kinematics so that theta1, theta2, and theta3 are acquired. I would like to publish this theta1, theta2, and theta3 with Float32MultiArray. I tried to put the values in a vector and then publish it but I keep getting error. How can I modify the code? |
2021-01-12 09:40:07 -0500 | received badge | ● Famous Question (source) |
2020-07-27 11:53:59 -0500 | received badge | ● Famous Question (source) |
2020-06-08 13:06:47 -0500 | received badge | ● Notable Question (source) |
2020-05-10 11:26:31 -0500 | received badge | ● Famous Question (source) |
2020-01-06 14:26:11 -0500 | received badge | ● Notable Question (source) |
2019-11-22 02:45:50 -0500 | received badge | ● Popular Question (source) |
2019-09-05 18:10:45 -0500 | received badge | ● Popular Question (source) |
2019-08-22 10:10:05 -0500 | edited question | Help me on replacing setToRandomPositions to setVariableValues Help me on replacing setToRandomPositions to setVariableValues Hi, I am following moveit_tutorials but I would like to c |
2019-08-21 15:58:04 -0500 | asked a question | Help me on replacing setToRandomPositions to setVariableValues Help me on replacing setToRandomPositions to setVariableValues Hi, I am following moveit_tutorials but I would like to c |
2019-08-21 15:45:07 -0500 | asked a question | Moveit error "Fail: ABORTED: No motion plan found. No execution attempted." Moveit error "Fail: ABORTED: No motion plan found. No execution attempted." I am running a node for inverse kinematics f |
2019-06-03 12:40:53 -0500 | received badge | ● Famous Question (source) |
2019-05-22 12:36:16 -0500 | received badge | ● Notable Question (source) |
2019-04-22 07:42:32 -0500 | received badge | ● Popular Question (source) |
2019-04-21 00:35:25 -0500 | asked a question | serial communication (UART) serial communication (UART) I am trying to receive information from ROS on MSP432(micro-controller) via UART. The infor |
2019-04-12 13:13:55 -0500 | received badge | ● Famous Question (source) |
2019-04-06 11:55:50 -0500 | commented answer | Store in a vector and publish it The code run very well. Thank you. |
2019-04-06 10:07:09 -0500 | commented answer | Store in a vector and publish it Thank you for your help. I will try to run it. |
2019-04-06 10:00:29 -0500 | received badge | ● Notable Question (source) |
2019-04-05 22:48:49 -0500 | received badge | ● Famous Question (source) |
2019-04-05 17:59:45 -0500 | received badge | ● Popular Question (source) |
2019-04-05 16:44:34 -0500 | commented question | Store in a vector and publish it I edited it. |
2019-04-05 16:44:20 -0500 | edited question | Store in a vector and publish it Store in a vector and publish it I want to publish the subscribed value. The type of subscribed value is geometry_msgs/ |
2019-04-05 16:36:47 -0500 | edited question | Float32MultiArrary publish Float32MultiArrary publish The following code subscribes pose information and then it calculates inverse kinematics so t |
2019-04-05 16:36:47 -0500 | received badge | ● Editor (source) |
2019-04-05 15:43:20 -0500 | edited question | Store in a vector and publish it Store in a vector and publish it I want to publish the subscribed value. The type of subscribed value is geometry_msgs/ |
2019-04-05 14:26:53 -0500 | commented answer | Float32MultiArrary publish Thank you for your answer. You are right. I should not have po_callback in my publishers advertise statement. If I tri |
2019-04-05 14:02:03 -0500 | received badge | ● Notable Question (source) |
2019-04-05 14:00:36 -0500 | asked a question | Store in a vector and publish it Store in a vector and publish it I want to publish the subscribed value. The type of subscribed value is geometry_msgs/ |
2019-04-05 13:45:00 -0500 | commented question | Float32MultiArrary publish Thank you. |
2019-04-04 14:10:08 -0500 | received badge | ● Popular Question (source) |
2019-04-04 12:05:03 -0500 | commented question | Float32MultiArrary publish I commented the first publisher because I don't need it. Right after the commented publisher, I put a new publisher. I |
2019-04-04 11:34:09 -0500 | asked a question | Float32MultiArrary publish Float32MultiArrary publish The following code subscribes pose information and then it calculates inverse kinematics so t |
2019-03-26 19:35:02 -0500 | received badge | ● Notable Question (source) |
2019-03-26 12:14:17 -0500 | commented answer | Subscriber and publisher in a file It really helps a lot. I know what I need to do now. |
2019-03-26 12:14:03 -0500 | commented answer | Subscriber and publisher in a file I really helps a lot. I know what I need to do now. |
2019-03-26 06:44:36 -0500 | received badge | ● Popular Question (source) |
2019-03-26 03:44:33 -0500 | asked a question | Subscriber and publisher in a file Subscriber and publisher in a file I am using ubuntu 16.04 kinetic I am trying to get pose information from Phantom omn |