ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2020-04-03 04:41:22 -0500 | received badge | ● Famous Question (source) |
2020-04-02 11:57:45 -0500 | edited question | Publishing std_msgs int32 ROS Melodic , I need help Publishing std_msgs int32 ROS Melodic , I need help Hello, Firstly im just begginer on ROS.My Professor asked me to do |
2020-04-02 11:57:45 -0500 | received badge | ● Editor (source) |
2020-04-02 11:21:21 -0500 | marked best answer | Publishing std_msgs int32 ROS Melodic , I need help Hello, Firstly im just begginer on ROS.My Professor asked me to do these task; 1-Create two nodes, a chatter which publishes std_msgs and a listener to listen to chatter. 2-The message you are required to send will be assigned for each one separately. 3-The listener should get the message and print it using ROS_INFO function. I created 2 nodes with following instructions.But i can not go further. Chatter codes (python) ; and listener codes (python) ; Problem here how can i complete task 3 and also i need to replace string std_msgs with int32 data type. On here http://docs.ros.org/api/std_msgs/html... I get the logic that how the system gonna work.It will be like listener will write massage , this massage will go to chatter and chatter will publish it with int32 data type. But i don't know how to write these codes.Can you help me with writing and replacing these codes. ############################EditI changed the data type from string to int32 on C++ file; And saved it but when i run catkin_make command i get this error ; (more) |
2020-04-02 05:20:13 -0500 | received badge | ● Notable Question (source) |
2020-04-02 05:20:13 -0500 | received badge | ● Popular Question (source) |
2020-04-01 11:24:34 -0500 | asked a question | Publishing std_msgs int32 ROS Melodic , I need help Publishing std_msgs int32 ROS Melodic , I need help Hello, Firstly im just begginer on ROS.My Professor asked me to do |
2020-04-01 11:01:45 -0500 | marked best answer | Adding lines into CMakeList.txt makes an error. I need help Hello, Firstly i need to say im totally beginner on ROS.I managed to install it and my Professor wanted to me complete these tasks; -Create a ROS package with your name. -Create two nodes, a chatter which publishes std_msgs and a listener to listen to chatter. -The message you are required to send will be assigned for each one separately. -The listener should get the message and print it using ROS_INFO function. So i managed to create work space , but i stucked at somewhere that wants me to add these lines into my_package/CMakeLists.txt. lines are ; But when i add them into CMakeList.txt like this ; link text After i save this txt file i try to run catkin_make command on terminal.It gaves me this error ; link text I don't know what to do , please can you help me to fix this problem. |
2020-04-01 11:01:45 -0500 | received badge | ● Scholar (source) |
2020-03-31 05:57:43 -0500 | received badge | ● Famous Question (source) |
2020-03-28 14:17:36 -0500 | received badge | ● Supporter (source) |
2020-03-28 14:11:35 -0500 | commented answer | Adding lines into CMakeList.txt makes an error. I need help Hello , First of all thank your for your explanatory answer.But eventho i tried with your instructions , terminal gave |
2020-03-25 13:30:14 -0500 | commented question | Adding lines into CMakeList.txt makes an error. I need help I can not access to the ubuntu right now that is why i can not copy the errors from terminal.I editted the lines.Problem |
2020-03-25 13:26:13 -0500 | edited question | Adding lines into CMakeList.txt makes an error. I need help Adding lines into CMakeList.txt makes an error. I need help Hello, Firstly i need to say im totally beginner on ROS.I m |
2020-03-25 02:14:16 -0500 | received badge | ● Notable Question (source) |
2020-03-24 19:53:39 -0500 | commented question | Adding lines into CMakeList.txt makes an error. I need help I guess i made huge mistake , without defining the chatter , i put listener code on CMakeList.txt that is why terminal g |
2020-03-24 19:53:02 -0500 | answered a question | Adding lines into CMakeList.txt makes an error. I need help I guess i made huge mistake , without defining the chatter , i put listener code on CMakeList.txt that is why terminal g |
2020-03-24 19:53:02 -0500 | received badge | ● Rapid Responder (source) |
2020-03-24 18:06:24 -0500 | received badge | ● Popular Question (source) |
2020-03-23 15:18:55 -0500 | asked a question | Adding lines into CMakeList.txt makes an error. I need help Adding lines into CMakeList.txt makes an error. I need help Hello, Firstly i need to say im totally beginner on ROS.I m |