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

okalachev's profile - activity

2020-04-14 16:39:22 -0500 received badge  Famous Question (source)
2020-03-02 10:17:32 -0500 received badge  Famous Question (source)
2019-09-19 09:20:03 -0500 received badge  Notable Question (source)
2019-08-14 06:42:46 -0500 received badge  Famous Question (source)
2019-07-16 09:19:47 -0500 marked best answer Rostest succeeds test if a node crashes

If a node in a test-case crashed, rostest doesn't care about it, and succeeds the testcase.

For example:

$ rostest somepkg basic.test
... logging to /home/parallels/.ros/log/rostest-parallels-vm-6224.log
[ROSUNIT] Outputting test results to /home/parallels/.ros/test_results/somepkg/rostest-test_basic.xml
Traceback (most recent call last):
  File "/home/parallels/catkin_ws/src/somepkg/src/fail.py", line 3, in <module>
    print 1/0
ZeroDivisionError: integer division or modulo by zero
[Testcase: testbasic_test] ... ok

[ROSTEST]-----------------------------------------------------------------------

[clever.rosunit-basic_test/test_state][passed]

SUMMARY
 * RESULT: SUCCESS
 * TESTS: 1
 * ERRORS: 0
 * FAILURES: 0

rostest log file is in /home/parallels/.ros/log/rostest-parallels-vm-6224.log

How to make rostest fail the test if a node crashes?

2019-07-04 14:47:27 -0500 answered a question Rostest succeeds test if a node crashes

Actually, to make the nodes "required" is kind of a solution.

2019-07-04 14:45:56 -0500 commented answer Rostest succeeds test if a node crashes

Actually, I found kind of solution, if a "required" node falls, then tests fall too. The only problem is that I don't wa

2019-07-04 14:44:55 -0500 commented answer Rostest succeeds test if a node crashes

Yeah, but it doesn't make sense. If one of my nodes just has fallen, why in the world we can consider that our tests are

2019-07-04 14:44:55 -0500 received badge  Commentator
2019-07-04 14:43:41 -0500 received badge  Popular Question (source)
2019-07-01 15:05:28 -0500 edited question Rostest succeeds test if a node crashes

Rostest succeeds test if a node crashes If a node in a test-case crashed, rostest doesn't care about it, and succeeds th

2019-07-01 15:04:59 -0500 asked a question Rostest succeeds test if a node crashes

Rostest succeeds test if a node crashes If a node in a test-case crashed, rostest doesn't care about it, and succeeds th

2019-05-20 02:28:17 -0500 marked best answer Monitor and control a ROS robot via a server

Hello.

What do you think is the best solution to transparently forward some of the ROS topics of a robot to the special server computer through the Internet? So several operators could (via web interface) view the state of robots and send commands to them (via topics or services).

It can be developed using HTTPS interface, or WebSockets, or raw TCP/UDP; different storages for messages can be used (SQL, MongoDB, Redis). Or maybe some ready solution for such tasks?

Please, make some advises.

2019-04-12 07:46:58 -0500 received badge  Notable Question (source)
2019-02-17 00:01:53 -0500 received badge  Popular Question (source)
2019-02-10 17:47:36 -0500 asked a question Synchronize by exact time with CameraSubscriber

Synchronize by exact time with CameraSubscriber How is it possible to synchronize an image_transport::CameraSubscriber (

2019-02-10 17:47:03 -0500 asked a question Synchronize by exact with CameraSubscriber

Synchronize by exact with CameraSubscriber How is it possible to synchronize an image_transport::CameraSubscriber (image

2018-12-08 03:49:10 -0500 received badge  Famous Question (source)
2018-09-28 21:40:09 -0500 received badge  Notable Question (source)
2018-09-28 18:43:56 -0500 marked best answer Rotate quaternion by body yaw

How to change a quaternion's body-fixed yaw?

Using Matrix3x3's getRPY and then setRPY doesn't work, because this is about the axes, fixed to the initial orientation, so it's fixed yaw, not body yaw.

Using getEulerYPR and then setEulerYPR doesn't work as well, because yaw rotation it the first, and it gets affected the following pitch and roll rotation.

I think getEulerRPY/setEulerRPY might work, but there are no such functions in the tf and tf2 libraries.

2018-09-28 18:43:56 -0500 received badge  Scholar (source)
2018-09-28 18:43:48 -0500 answered a question Rotate quaternion by body yaw

This looks working (pq - input quaternion): tf::Quaternion q; q.setRPY(0, 0, angle_to_rotate); pq = pq * q;

2018-09-26 09:13:55 -0500 received badge  Popular Question (source)
2018-09-26 08:30:46 -0500 commented answer Rotate quaternion by body yaw

The problem is, that if I keep roll and pitch, changing the yaw, that would be rotation about extrinsic Z axis, while I

2018-09-25 21:59:21 -0500 received badge  Notable Question (source)
2018-09-25 21:13:28 -0500 edited question Rotate quaternion by body yaw

Rotate quaternion by body yaw How to change a quaternion's body-fixed yaw? Using Matrix3x3's getRPY and then setRPY doe

2018-09-25 21:12:52 -0500 asked a question Rotate quaternion by body yaw

Rotate quaternion by body yaw How to change a quaternion's body-fixed yaw? Using Matrix3x3's getRPY and then setRPY doe

2018-09-14 17:17:12 -0500 marked best answer Angle between two orientations

There are two orientations given, as intrinsic yaw-roll-pitch (rzyx).

How to calculate the angle between the "Z" axes of them?

Converting the orientations to quaternions or to anything else is allowed.

2018-09-14 17:15:36 -0500 received badge  Famous Question (source)
2018-09-06 04:09:09 -0500 received badge  Popular Question (source)
2018-09-05 20:45:54 -0500 edited question Transform angular velocity with tf2

Transform angular velocity with tf2 Is it possible to transform angular velocity (x, y, z) or a TwistStamped with TF2 (i

2018-09-05 20:44:26 -0500 asked a question Transform angular velocity with tf2

Transform angular velocity with tf2 Is it possible to transform angular velocity (x, y, z) or a TwistStamped with TF2 (i

2018-08-30 13:33:32 -0500 commented answer Angle between two orientations

Yes, I think this is a working variant! Isn't there an easier solution, without converting to transforms? I was given t

2018-08-30 13:32:58 -0500 commented answer Angle between two orientations

Yes, I think this is a working variant! Isn't there an easier solution, without converting to transforms? I've given th

2018-08-30 13:32:52 -0500 commented answer Angle between two orientations

Yes, I think this is a working variant! Isn't there an easier solution, without converting to transforms? I've given th

2018-08-29 17:45:58 -0500 received badge  Notable Question (source)
2018-08-29 15:09:11 -0500 received badge  Popular Question (source)
2018-08-29 12:34:59 -0500 commented question Angle between two orientations

Looks like it's the finding of the full rotation between orientations. What I need, it the single angle between the Z ax

2018-08-29 12:13:46 -0500 asked a question Angle between two orientations

Angle between two orientations There are two orientations given, as intrinsic yaw-roll-pitch (rzyx). How to calculate t

2018-08-08 01:58:33 -0500 marked best answer API for changing a camera resolution

What is the standard ROS way for implementing on-the-fly resolution changing for a camera node?

I haven't found any official articles on this, also I haven't found any popular camera nodes, supporting this. This feature is critical for my application, I want to implement it for e. g. cv_camera, but what should be the API?

Should it be dynamic_reconfigure parameters? Actually, I have never seen such parameters in a real-live package.

Or should it be some ROS service? set_camera_info, maybe?

Or maybe just standard parameters should be used, so the node should poll them periodically?

2018-04-10 17:04:53 -0500 received badge  Famous Question (source)
2018-03-28 17:42:25 -0500 received badge  Notable Question (source)
2018-03-28 05:15:28 -0500 commented answer API for changing a camera resolution

Yes, this is clear. The code, I need to work with images does it correctly, with the last camera info message. The open

2018-03-28 04:51:17 -0500 received badge  Supporter (source)
2018-03-28 04:46:17 -0500 commented answer API for changing a camera resolution

I believe, that all of the standard CV nodes use the latest cameraInfo message. You should do that because of two reason

2018-03-28 04:39:50 -0500 received badge  Notable Question (source)
2018-03-28 04:39:07 -0500 commented answer API for changing a camera resolution

When you use subscribeCamera, you get updated image and cameraInfo message in your callback at the same time. So this is

2018-03-27 18:40:57 -0500 received badge  Student (source)
2018-03-27 18:40:24 -0500 received badge  Popular Question (source)
2018-03-27 05:32:20 -0500 edited question API for changing a camera resolution

API for changing a camera resolution What is the standard ROS way for implementing on-the-fly resolution changing for a