ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2019-03-05 14:56:50 -0500 | marked best answer | Publishing problem with gazebo using trajectory_msgs Hi everyone, I'm working on arm robotic, first, i wrote a physical model of the arm with a URDF files. This model work with Rviz and Gazebo. Moreover, i created a controllers.yaml file (for controls all robot's joints) and when I use the command : But now, I want to create a .cpp file for the arm to move independently by using trajectory_msgs::JointTrajectory. Here's my cpp file : When i launch my file.launch and I rosrun my cpp file, both are connected on rqt_graph. But immediately, i have an error (on launch terminal) :
Effectively, when i use the command The time_from_start is always 0. So, I think i've a problem in my code but i don't know where. Does anyone have an idea what is wrong? Thank you. |
2018-10-17 04:33:00 -0500 | received badge | ● Famous Question (source) |
2018-03-12 20:35:06 -0500 | received badge | ● Famous Question (source) |
2018-01-18 08:32:01 -0500 | received badge | ● Student (source) |
2018-01-18 08:31:58 -0500 | received badge | ● Self-Learner (source) |
2018-01-18 08:31:58 -0500 | received badge | ● Teacher (source) |
2018-01-18 07:11:18 -0500 | received badge | ● Famous Question (source) |
2017-10-20 11:20:39 -0500 | received badge | ● Notable Question (source) |
2017-10-18 23:19:04 -0500 | received badge | ● Famous Question (source) |
2017-06-26 04:58:02 -0500 | asked a question | Question about urdf file and gazebo/msgs Question about urdf file and gazebo/msgs Hi, I'm working on a robot arm, i already created a urdf and controller.yaml |
2017-06-23 07:28:44 -0500 | received badge | ● Popular Question (source) |
2017-06-21 03:14:40 -0500 | answered a question | Publishing problem with gazebo using trajectory_msgs I resolved my problem. Here is my first example that working and i explain it after : #include <ros/ros.h> #incl |
2017-06-16 08:41:43 -0500 | commented question | Publishing problem with gazebo using trajectory_msgs I understood that each trajectory point's time_from_start must be greater than the last. But I tried to increase this ti |
2017-06-16 03:18:25 -0500 | edited question | Publishing problem with gazebo using trajectory_msgs Publishing problem with gazebo using trajectory_msgs::JointTrajectory Hi everyone, I'm working on arm robotic, first, |
2017-06-16 03:17:57 -0500 | edited question | Publishing problem with gazebo using trajectory_msgs Publishing problem with gazebo using trajectory_msgs::JointTrajectory Hi everyone, I'm working on arm robotic, first, |
2017-06-16 03:17:57 -0500 | received badge | ● Editor (source) |
2017-06-16 03:16:57 -0500 | edited question | Publishing problem with gazebo using trajectory_msgs Publishing problem with gazebo using trajectory_msgs::JointTrajectory Hi everyone, I'm working on arm robotic, first, |
2017-06-16 03:15:45 -0500 | asked a question | Publishing problem with gazebo using trajectory_msgs Publishing problem with gazebo using trajectory_msgs::JointTrajectory Hi everyone, I'm working on arm robotic, first, |
2017-05-20 15:32:57 -0500 | received badge | ● Notable Question (source) |
2017-05-20 15:32:57 -0500 | received badge | ● Popular Question (source) |
2017-05-06 22:07:49 -0500 | received badge | ● Notable Question (source) |
2017-04-24 10:28:56 -0500 | received badge | ● Popular Question (source) |
2017-04-24 10:23:44 -0500 | marked best answer | Why "#include <string>" doesn't work on rosserial? Hi, I work with ROS and Arduino and I want to include some libraries like I haven't find a solution. If someone can explain me how should i do. Thank for your help. William |
2017-04-24 10:23:44 -0500 | received badge | ● Scholar (source) |
2017-04-24 08:03:36 -0500 | asked a question | Why "#include <string>" doesn't work on rosserial? Why "#include <string>" doesn't work on rosserial? Hi, I work with ROS and Arduino and I want to include some li |
2017-03-31 08:23:54 -0500 | asked a question | Best way to publish 3 coordinates (array, mat, vector...)? Hi, Since several days, I try to publish 3 coordinates to rosserial. Currently the only way I found, it's to publish this coordinates (x,y,z) in 3 differents topics. I would like to publish 1 vector/array or matrix (x,y,z) in one topic. I tried differents methods like : But each time I had compilation problems. Or when there was no problem, my publisher and subscriber were not connected to each other ( Here's my program ; If someone can explain me and give me an example of how to proceed. Thank for your help. William |
2017-03-27 09:37:09 -0500 | received badge | ● Supporter (source) |
2017-03-22 05:43:12 -0500 | received badge | ● Notable Question (source) |
2017-03-17 03:30:23 -0500 | received badge | ● Enthusiast |
2017-03-08 21:41:33 -0500 | received badge | ● Popular Question (source) |
2017-03-08 07:38:16 -0500 | commented answer | Tutorial "Writing a Simple Service and Client", i modified the wrong file, what can i do? Thank a lot, problem solved ! |
2017-03-08 07:37:18 -0500 | answered a question | Tutorial "Writing a Simple Service and Client", i modified the wrong file, what can i do? Thank a lot, problem solved !! |
2017-03-08 07:22:56 -0500 | asked a question | Tutorial "Writing a Simple Service and Client", i modified the wrong file, what can i do? Hey, I wish to learn ros and I started by doing the tutorials available on ros.org . But in the "Writing a Simple Service and Client" tutorial, when it say to modify the file When I remove all files and folders and I restart at the beginning (the tutorials), and i created Thank for your help. William |
2017-03-08 07:22:55 -0500 | asked a question | Tuto "Writing a Simple Service and Client", I modified the wrong file CMakeFiles.txt what can i do? Hey, I wish to learn ros and I started by doing the tutorials available on ros.org . But in the "Writing a Simple Service and Client" tutorial, when it say to modify the file "~ / catkin_ws / src / beginner_tutorials / CMakeLists.txt". I modified the secure file that is in "~/catkin_ws/src" using "sudo gedit CMakeLists". Before that, it worked but now I have a mistake when I do "catkin_make".
-- Configuring incomplete, errors occurred! See also "/home/audensiel/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/audensiel/catkin_ws/build/CMakeFiles/CMakeError.log". Invoking "cmake" failed When I remove all files and folders and I restart at the beginning (the tutorials), and i created "mkdir -p ~/catkin_ws/src" ... The file I modified previously is always the same. I think this is my problem, so if someone can give me the contents of this file or tell me how to retrieve the original. Thank for your help. William |