ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2021-06-06 15:51:21 -0500 | received badge | ● Great Question (source) |
2018-08-08 01:44:06 -0500 | received badge | ● Notable Question (source) |
2018-08-08 01:44:06 -0500 | received badge | ● Famous Question (source) |
2017-08-25 09:51:29 -0500 | received badge | ● Good Question (source) |
2017-04-16 09:46:30 -0500 | received badge | ● Popular Question (source) |
2017-04-13 12:16:28 -0500 | answered a question | Problem debugging ROS nodes on Mac OS X The issue seems to be OS specific. Well explained here. Had to switch to lldb though. |
2017-04-07 04:48:33 -0500 | received badge | ● Organizer (source) |
2017-04-07 04:46:23 -0500 | asked a question | Problem debugging ROS nodes on Mac OS X Hello Community, I am on Mac OS X 10.11.4, ROS Jade and have some strange problems debugging ROS nodes with gdb or lldb. Namely, debugger is not able to locate ROS related shared libraries. Here is gdb output for example: While DYLD_LIBRARY_PATH points to the folder containing this lib. Furthermore, I did not manage to launch standard ROS nodes. Rosbag for instance: I have not experienced any problems debugging non-ROS related applications on my computer before. I, therefore, will very appreciate any hint or advice. Thanks, Peter |
2017-03-24 04:24:27 -0500 | received badge | ● Enthusiast |
2016-11-09 10:04:58 -0500 | received badge | ● Famous Question (source) |
2016-10-18 19:30:20 -0500 | received badge | ● Notable Question (source) |
2016-10-16 03:21:07 -0500 | received badge | ● Popular Question (source) |
2016-10-14 05:37:14 -0500 | asked a question | Depencies resolution for ROS packages Hello, I accidentally removed BLAS library from my computer, and after that the system suggests that a whole bunch of ROS packages are no more required: (more) |
2016-04-27 10:17:40 -0500 | received badge | ● Favorite Question (source) |
2015-12-16 09:36:58 -0500 | received badge | ● Nice Answer (source) |
2015-08-28 05:48:50 -0500 | marked best answer | controller fails to initialize Hallo! I've created a simple joint-controller as described in this tutorial: link text Here is the code robocv_controller_file.h robocv_controller_file.cpp include "robocv_controller/robocv_controller_file.h"#include <pluginlib class_list_macros.h=""> namespace my_controller_ns { /// Controller initialization in non-realtime bool MyControllerClass::init(pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n) { std::string left_wheel, right_wheel; //////////////////////////////////////////////////////////////////// if (!n.getParam("right_wheel", right_wheel)) { ROS_ERROR("No joint given in namespace: '%s')", n.getNamespace().c_str()); return false; } } /// Controller startup in realtime void MyControllerClass::starting() { init_pos1_ = left_wheel_state_->position_; init_pos2_ = right_wheel_state_->position_; } /// Controller update loop in realtime void MyControllerClass::update() { double desired_pos = init_pos1_ + 15 * sin(ros::Time::now().toSec()); double current_pos = left_wheel_state_->position_; left_wheel_state_->commanded_effort_ = -10 * (current_pos - desired_pos); right_wheel_state_->commanded_effort_ = -10 * (current_pos - desired_pos); } /// Controller stopping in realtime void MyControllerClass::stopping() {} } // namespace PLUGINLIB_DECLARE_CLASS(controller,MyControllerPlugin, my_controller_ns::MyControllerClass, pr2_controller_interface::Controller) It works fine. Then i wrote another one: And appropriate C++ file: #include <pluginlib class_list_macros.h=""> namespace my_controller_ns { /// Controller initialization in non-realtime bool MyControllerClass::init(pr2_mechanism_model::RobotState *robot, ros::NodeHandle &n) { std::string joint_name; if (!n.getParam("/joint_name", joint_name)) { ROS_ERROR("No joint given in namespace: '%s')", n.getNamespace().c_str()); return false; } } /// Controller startup in realtime void MyControllerClass::starting() { init_pos_ = joint_state_->position_; } /// Controller update loop in realtime void MyControllerClass::update() { double desired_pos = init_pos_ + 15 * sin(ros::Time::now().toSec()); double current_pos = joint_state_->position_; joint_state_->commanded_effort_ = -10 * (current_pos - desired_pos); } /// Controller stopping in realtime void MyControllerClass::stopping() {} } // namespace PLUGINLIB_DECLARE_CLASS(wheel_controller,MyControllerPlugin, my_controller_ns::MyControllerClass, pr2_controller_interface::Controller) When i'm trying to load the second controller rxconsole shows me this error: For some reason it refers to robocv_controller source file. rospack plugins shows that both plugins are registered: (more) |
2015-06-26 21:14:31 -0500 | received badge | ● Nice Answer (source) |
2014-09-24 15:15:19 -0500 | received badge | ● Nice Question (source) |
2014-08-15 07:53:46 -0500 | received badge | ● Famous Question (source) |
2014-07-15 06:21:49 -0500 | received badge | ● Nice Question (source) |
2014-04-20 06:51:47 -0500 | marked best answer | how to get robot state vector from gazebo? Hallo.
I've got teleoperating car-like robot model in Gazebo. Also I have hokuyo lidar on it. Is there any simple method to get robot state vector (pose and twist) in global (gazebo) coordinate system? |
2014-04-20 06:51:45 -0500 | marked best answer | insufficient GL support Hallo. When i'm trying to launch gazebo empty_world this error appears: Also there is similar problem with rviz: My configuration: I saw the similar problem with Fedora but i'm not sure it'll help me (i'm quite new with Linux). So i'll appreciate any help. thanks. |
2014-04-20 06:51:42 -0500 | marked best answer | car-like robot navigation in gazebo Hallo. I've got urdf car-like robot model, which i can teleoperate in gazebo. Also i've added hokuyo laser scan to it. The question is: what are next steps to realize navigation on my robot? What are the basic principles of implementing navigation? Is there any useful links or tutorials? Can i somehow modify move_base for my robot? Thanks. |
2014-04-20 06:51:39 -0500 | marked best answer | cannot subscribe plugin Hallo! I want my plugin (joint controller) to be subscribed to the publisher node, which publishes messages of that type: So the problem is i cannot subscribe to them. Here is my code for plugin^ .h - file: And the CPP - file: Thank you for help! |
2014-03-23 05:53:54 -0500 | received badge | ● Nice Answer (source) |
2014-01-28 17:30:01 -0500 | marked best answer | Predefined global path for robot navigation Hallo, ROS users. Thanks a lot for help! |
2014-01-28 17:28:06 -0500 | marked best answer | navigation stack vs my node Hallo! Is it possible to subscribe to user node from base_local_planner? I'm trying to experiment with obstacle avoidance perfomance of my robot by integrating my emergency stop node that set a flag if an obstacle appears in it's field of view (narrow segment). Then given that flag I want to throw a banch of trajectories (which lie in this segment), generated by createTrajectories() function in base_local_planner package. I wonder if it's possible somehow to subscribe to this node so base-local_planner could use this flag. |
2014-01-28 17:27:32 -0500 | marked best answer | How to add simple controller to my robot Hi! I'm newbie with ROS. I'm trying to simulate my robot in Gazebo. It's a 4-wheel car-based platform. First I created urdf-file, describing my model: <robot name="robocv" xmlns:controller="<a href=" http:="" playerstage.sourceforge.net="" gazebo="" xmlschema="" #controller"="">http://playerstage.sourceforge.net/gazebo/xmlschema/#controller" xmlns:interface="http://playerstage.sourceforge.net/gazebo/xmlschema/#interface"> (more) |