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

Oded's profile - activity

2023-05-03 06:04:26 -0500 received badge  Necromancer (source)
2020-01-29 05:42:11 -0500 received badge  Famous Question (source)
2020-01-29 05:42:11 -0500 received badge  Notable Question (source)
2019-07-29 10:38:56 -0500 answered a question rviz ignoring transforms

Old question, but here is an answer. You should use built-in libraries such as numpy in Python and not normalize yourse

2018-12-19 11:18:39 -0500 received badge  Popular Question (source)
2018-12-19 07:37:38 -0500 edited question Deploy a workspace to a different computer

Cross-compile workspace to a different computer Hi, I have a robot with an Intel based computer, with Ubuntu server 16.

2018-12-19 07:37:38 -0500 received badge  Editor (source)
2018-12-19 07:37:20 -0500 edited question Deploy a workspace to a different computer

Cross-compile workspace to a different computer Hi, I have a robot with an Intel based computer, with Ubuntu server 16.

2018-12-19 05:07:08 -0500 asked a question Deploy a workspace to a different computer

Cross-compile workspace to a different computer Hi, I have a robot with an Intel based computer, with Ubuntu server 16.

2017-10-31 01:52:33 -0500 answered a question Unable to communicate with master with roscore running

It sounds that you didn't configure your ROS_IP variable. Let's assume that the IP of your master (where the roscore is

2017-10-30 08:53:00 -0500 asked a question RMP200 segway doesn't move

RMP200 segway doesn't move Hi, I am using the segway_rmp package of ROS. I am able to connect to the segway and I get t

2017-09-13 02:20:23 -0500 received badge  Famous Question (source)
2017-09-13 02:20:23 -0500 received badge  Notable Question (source)
2017-09-13 02:20:23 -0500 received badge  Popular Question (source)
2017-07-05 02:11:42 -0500 commented question unable to launch [] if it is a script, you may be missing a '#!' declaration

Can you post your code? If you are writing in c++ you may not have initialized your node appropriately

2017-07-05 02:03:54 -0500 received badge  Scholar (source)
2017-04-20 14:56:58 -0500 marked best answer Installing ackermann vehicle package with Indigo

I am trying to install the ackermann vehicle package from the main repository using

sudo apt-get install ros-indigo-ackermann-vehicle

However, I am getting a 404 error

Err http://packages.ros.org/ros/ubuntu/ trusty/main ros-indigo-ackermann-vehicle-description amd64 0.1.3-1trusty-20151201-0505-+0000 404 Not Found Err http://packages.ros.org/ros/ubuntu/ trusty/main ros-indigo-ackermann-vehicle-gazebo amd64 0.1.3-1trusty-20151201-1323-+0000 404 Not Found Err http://packages.ros.org/ros/ubuntu/ trusty/main ros-indigo-ackermann-vehicle amd64 0.1.3-1trusty-20151201-1326-+0000 404 Not Found E: Failed to fetch http://packages.ros.org/ros/ubuntu/po... 404 Not Found

E: Failed to fetch http://packages.ros.org/ros/ubuntu/po... 404 Not Found

E: Failed to fetch http://packages.ros.org/ros/ubuntu/po... 404 Not Found

Is this package still maintained in Indigo? or is it obsolete?

Thanks,

2017-04-20 13:52:09 -0500 marked best answer Getting Matlab compiled libraries to work in ROS

I have created a library (myImShow.h & myImShow.so files) from the Matlab library compiler.

Later I have created a C++ program that calls the functions inside the library. I was able to add these libraries into a ROS package CMakeLists, compile and run the program with no errors only if I don't add the ros::init(argc, argv, "image_listener");

If I do add the ros::init() to the code when it tries to initialize the mcl

 if (!mclInitializeApplication(NULL,0))
  {
      std::cerr << "Could not initialize the application properly."
        << std::endl;
      return -1;
  }

I get the following error from the MCR

An Error has occurred while trying to initialize the MCR. The error is: Fatal error loading library /home/lar5/ProgramFiles/MATLAB/bin/glnxa64/libmat.so Error: /home/lar5/ProgramFiles/MATLAB/bin/glnxa64/libicuio.so.52: undefined symbol: _ZN6icu_5213UnicodeString9doReplaceEiiPKDsii

It seems that there is a conflict with ROS when trying to run both of the libraries together.

Has anyone ever successfully add a library compiled by Matlab with ROS?

2017-04-20 13:50:03 -0500 received badge  Famous Question (source)
2017-03-03 08:51:20 -0500 received badge  Necromancer (source)
2017-02-10 08:33:59 -0500 received badge  Famous Question (source)
2017-01-16 08:34:32 -0500 received badge  Notable Question (source)
2017-01-12 09:20:47 -0500 received badge  Popular Question (source)
2017-01-12 04:51:10 -0500 commented question Transforming Euler angle to Quaternion

The idea behind quaternion is that you avoid these jumps by adding an extra dimension

2017-01-12 02:56:18 -0500 asked a question Transforming Euler angle to Quaternion

Hello, I have a new inertial sensor that provides the orientation of the robot in RPY. I want to load the information in an sensors_msgs/Imu ROS message using:

tf::Matrix3x3 obs_mat;
obs_mat.setEulerYPR(Yaw,Pitch,Roll);

tf::Quaternion q_tf;
obs_mat.getRotation(q_tf);
INS_msg.orientation.x = q_tf.getX();
INS_msg.orientation.y = q_tf.getY();
INS_msg.orientation.z = q_tf.getZ();
INS_msg.orientation.w = q_tf.getW();

The problem is when the yaw changes from +pi to -pi, the quaternion angle also has a "jump" in the angle from w=-0.99 to w=0.99 How can I transform the angle correctly?

Thanks,

2016-11-01 02:18:07 -0500 commented question Dynamixel multiple motor speed controller

Thanks a lot, it works. Is there a way to set the min angle limit to infinity? When publishing a positive value it turns non stop CCW (which is good), however, when publishing a negative value it stops after a serveral degrees ("At end MN True" appears in manager). Any ideas why?

2016-10-31 11:49:40 -0500 commented question Dynamixel multiple motor speed controller

What should I write if I only have one motor that I wish to run with with a speed controller? Thanks

2016-10-31 09:03:30 -0500 asked a question Dynamixel Speed control / wheel (continuous rotation) mode

Hi,

I have started working with Dynamixel motors (RX-64), and I know that it is possible to use the motor in a continuous rotation (a.k.a wheel) mode. I can't seem to figure out how this should be done?

Somewhere I found that if I set the motor's CW and CCW angles to 0, it should change to a speed controller, but I can't figure out how? I have tried calling a service of set_speed.

In addition, can someone explain what does the values in the motor field in the tilt.yaml file? There is init, min, max. I understand that it is something to do with the angles, but don't understand what.

Thanks,

2016-10-31 08:20:15 -0500 commented question Dynamixel multiple motor speed controller

Hi, How did you manage to use a velocity control? Or did you manage in increasing the number of revolution the motor can perform?

2016-10-06 04:07:53 -0500 received badge  Famous Question (source)
2016-10-06 04:07:53 -0500 received badge  Notable Question (source)
2016-08-01 08:57:52 -0500 answered a question Dynamic Reconfigure - Can I Set An Array Of Values?

Know it's been a long time but: You can't have an array of values, however, you can use a string with a comma deliminator between the values.

For example

gen.add("vals", str_t, 0, "A comma delimited list", "1,2,3,4")

later on you can break it into an array in your code. In python it's really ease, just use you_string.split(',')

2016-05-04 11:34:02 -0500 received badge  Supporter (source)
2016-03-24 05:58:24 -0500 received badge  Notable Question (source)
2016-03-14 17:02:56 -0500 received badge  Popular Question (source)
2016-03-14 11:30:58 -0500 commented answer The problem of the creation msg when I learn as the tutorials(Creating a ROS msg and srv) in the ROS.org

Hmm... Everything looks in order. Try running catkin make install a few times. Sometimes it helps

2016-03-14 04:27:47 -0500 commented answer The problem of the creation msg when I learn as the tutorials(Creating a ROS msg and srv) in the ROS.org

Update you question and add the files. This way it could help others in the future.

2016-03-14 01:17:53 -0500 commented answer The problem of the creation msg when I learn as the tutorials(Creating a ROS msg and srv) in the ROS.org

Can you post the CMakeLists.txt and package.xml files?

2016-03-14 01:17:17 -0500 commented answer The problem of the creation msg when I learn as the tutorials(Creating a ROS msg and srv) in the ROS.org

I need more information to understand the source of the problem. maybe post the whole output. Maybe this question can help you.

2016-03-14 01:17:17 -0500 received badge  Commentator
2016-03-13 15:05:28 -0500 answered a question Error while linking OpenCV

It seems that you don't include the header when you compile

g++ ... -I/PATH/TO/HEADER/FILES

Look at this answer

2016-03-13 09:32:14 -0500 received badge  Teacher (source)
2016-03-13 07:51:58 -0500 commented question steering angle

To find out which topics you have use

rostopic list
2016-03-13 07:51:36 -0500 commented question steering angle

Please add more information. But think about subscribing or echoing the topic with the data:

rostopic echo /TOPIC/OF/STEERING/ANGLE
2016-03-13 07:49:44 -0500 answered a question The problem of the creation msg when I learn as the tutorials(Creating a ROS msg and srv) in the ROS.org

You need to add the line message_runtime to catkin_package e.g.

catkin_package(
    CATKIN_DEPENDS
    message_runtime
)

BTW, you should also add to the package.xml file the following line

 <run_depend>message_runtime</run_depend>