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

Ampul3x's profile - activity

2018-02-17 01:45:53 -0500 received badge  Famous Question (source)
2017-07-28 04:42:36 -0500 received badge  Notable Question (source)
2017-07-28 04:42:36 -0500 received badge  Popular Question (source)
2017-05-01 03:24:18 -0500 received badge  Popular Question (source)
2017-05-01 03:24:18 -0500 received badge  Notable Question (source)
2017-01-25 03:38:18 -0500 received badge  Enthusiast
2017-01-17 11:57:01 -0500 answered a question win_ros LNK2019 error

The reason why this error occured was that the compiler of VS2015 was to new. It is possible to set the compiler to VS2013 in project settings and the error was gone. However, i cant run the program... now i get the access violation on 0x000000 error... :/

2017-01-17 11:55:33 -0500 commented question win_ros LNK2019 error

yeah it is painful!

2017-01-17 04:38:22 -0500 asked a question win_ros LNK2019 error

Hey, I need to use ROS on a windows pc, so I started the tutorial for win_ros. The ros functions are working properly i can run roscore and the precompiled talkerand listener examples. However, following this tutorial, it should be possbile to write code directly in VisualStudio. When I build the talker example there i get a LNK2019 error

*unresolved external symbol* ""__declspec(dllimport) public: __thiscall ros::SerializedMessage::SerializedMessage(class ros::SerializedMessage &&)" (__imp_??0SerializedMessage@ros@@QAE@$$QAV01@@Z)" in Funktion ""public: class ros::SerializedMessage __thiscall boost::_bi::list1<class boost::reference_wrapper...

The problem only when i use the publish() method. Other ROS-related parts like the advertise or spinOnce() are causing no problems. Can anyone help me?

2016-12-02 02:54:16 -0500 answered a question Rosserial PoseArray crashes when more than 8 poses are used?

If anyone is interested,i am closer to the solution. I changed the buffersizes in node_handle.h to 4096. This allows me to store 17 entries (posArray->poses_length = 17;). Values above 17 are not causing a crash anymore but the topic is empty then. I guess i have to split my 25 entries into two publishers one with 17 and one with 8

Cheers

EDIT: Now i see that the Problem lies in the receive buffer. The rosserial terminal shows the following error messages with poseArrays above 17 entries:

Requested to read 1032 bytes, but buffer capacity is only 1023.

Overrun on receive buffer. Attempting to regain rx sync.

Can i somehow increase the receive buffer?

2016-12-02 02:14:49 -0500 answered a question What do you suggest as a robust person tracking ROS-based solution using the Kinect

What about the OpenCV feature feature detection algorithms like KAZE?

2016-12-01 10:26:25 -0500 asked a question Rosserial PoseArray crashes when more than 8 poses are used?

Hey there, i am using rosserial on windows to send poseArray data through a ubuntu pc. Works fine until i want to send more than 8 poses in one array. For example when i do this

geometry_msgs::PoseArray* posArray = new geometry_msgs::PoseArray();
posArray->poses_length = 25;
geometry_msgs::Pose* helpPosArray = new geometry_msgs::Pose[25];
posArray->poses = helpPosArray;

Other values in the code are overwritten with nonsense values and the program crashes with access violation errors. It seems like the memory is filled with something big that the other values are overwritten, or the access to the memory is faulty. The overwriting only happens when i try to publish the posArray.

pub.publish(posArray);

When i dont publish or when i change the length to:

posArray->poses_length = 8;

Everything works fine. Is the rosserial server limitated so that only 8 pose values are possible for one publisher? It would help me a lot if you have answers :)

Greetings