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

Fi's profile - activity

2019-11-06 14:27:20 -0500 received badge  Taxonomist
2016-07-08 14:29:41 -0500 received badge  Famous Question (source)
2016-06-30 06:12:02 -0500 received badge  Famous Question (source)
2015-11-09 03:18:38 -0500 received badge  Famous Question (source)
2015-08-31 09:14:31 -0500 received badge  Famous Question (source)
2015-08-31 05:17:09 -0500 received badge  Notable Question (source)
2015-08-30 16:33:46 -0500 received badge  Notable Question (source)
2015-08-29 09:00:56 -0500 received badge  Popular Question (source)
2015-08-28 17:12:22 -0500 asked a question calling nodes in nodes (using a cpp file in another cpp file)

Hi; Would you please answer this question: how to call a call a cpp file in another cpp file? Thanks Fi

2015-08-26 03:06:27 -0500 received badge  Popular Question (source)
2015-08-25 16:11:49 -0500 asked a question src and node difference!

Hi all; In some package the main codes are written in two sections: nodes and src! I did not understand what is the difference between them. In other words, I do not understand when we have written our codes in nodes and when we have written them in src? What is their difference in their application? Thanks

2015-08-21 00:46:19 -0500 received badge  Commentator
2015-08-21 00:46:19 -0500 commented answer writing and running a code

I appreciate it if you reply me

2015-08-20 18:21:30 -0500 answered a question writing and running a code

Tnx for your reply

This mean that only run rosrun is sufficient! Also another funny question I have some doubts that I understand cmakelist.txt and launch file completely and their differences! What is the difference between the (cmakelist.txt )and (package.xml) launch file?

Also I did not understand the purpose of .yalm file?

2015-08-20 18:20:55 -0500 answered a question writing and running a code

Tnx for your reply

This mean that only run rosrun is sufficient! Also another funny question I have some doubts that I understand cmakelist.txt and launch file completely and their differences! What is the difference between the cmakelist.txt and lauch file (package.xml)?

Also I did not understand the purpose of .yalm file?

2015-08-20 18:19:35 -0500 answered a question writing and running a code

Tnx for your reply

This mean that only run rosrun is sufficient! Also another funny question I have some doubts that I understand cmakelist.txt and launch file completely and their differences! What is the difference between the cmakelist.txt and lauch file (package.xml)?

Also I did not understand the purpose of .yalm file?

2015-08-20 17:55:46 -0500 received badge  Notable Question (source)
2015-08-20 13:45:30 -0500 received badge  Popular Question (source)
2015-08-20 09:39:02 -0500 asked a question writing and running a code

Hi Just a funny question for whom are clever in ROS! I have read the tutorial just for well understanding checking I ask the following question? (Please do not refer me to Tutorial) What are the main steps of a written and execution of C++ code in ROS 1-writing a C++ code 2-making cmake 3-run roscpp Is there any other files that there is obligation to make before running? (What about launch file or others? Is there any obligation?) Thanks Fi

2015-08-17 16:01:19 -0500 commented answer actions: c++ server, python client (smach)

would you please send me an example?

2015-08-17 03:27:35 -0500 received badge  Notable Question (source)
2015-08-17 00:00:14 -0500 commented answer actions: c++ server, python client (smach)

Hi; What about vice versa? As I have not completely understood it, would you please give me more details and example?

2015-08-16 11:01:40 -0500 answered a question actions: c++ server, python client (smach)

Hi; What about vice versa? As I have not completely understood it, would you please give me more details and example?

2015-08-14 14:30:16 -0500 commented question connect python to c++

I have two code in ROS One written by C++ and another one with python. I want to use in ROS c++ code the output of python code(variables, functions) as input of C++ program!

2015-08-14 14:22:53 -0500 received badge  Popular Question (source)
2015-08-13 17:03:45 -0500 asked a question connect python to c++

Hi I am not sure how to use the variables and function of a python code (.py) in a cpp file?

2015-06-27 16:39:18 -0500 received badge  Famous Question (source)
2015-06-20 17:18:14 -0500 received badge  Famous Question (source)
2015-06-19 15:03:54 -0500 answered a question do some mathematical calculation and algorithms on dynamic data

Thanks Javi I understand publisher and subscriber. What is my problem is related to send a 2D matrix as messages. I saw the multiarray definition as a msg but I do not understand the application of it. Can I define matrix[i][j] as a msg by multiarrays or not? If yes, how? Do some calculation on each element of 2D matrix in a nested loop (outer loop :rowlength, inner loop:coloumlength) on a 2D matrix is my question p.s. for (i=0;i<rowlength;i++) for="" (j="1;j&lt;coloumlength,j++)" mat[i][j]="do" some="" calculation="" on="" each="" element="" of="" it="" i="" never="" see="" the="" nested="" loop="" in="" ros.<="" p="">

2015-06-18 16:35:30 -0500 commented question do some mathematical calculation and algorithms on dynamic data

Thanks Javi; Whould you please let me know the calculation of how amount of data can be done by a single publisher and subscribers? and what I should do for more computation?

2015-06-18 14:42:00 -0500 commented answer mathematical calculation on 2D matrix(Implementation of 2 nested for loop )

Thanks Javri; Would you please give me an example of using Eigen to work with matrix?

2015-06-18 14:39:10 -0500 answered a question custom message for matrix or 2d array

Hi Ferr; I read your code but I do not completely understand how to work with Multiarray for showing a 2D matrix (m*n) Would you please read what is my problem and help me?

Hi all; As I understand, the 2D matrix in the ROS in not available until now and for this reasn, a definition of a msg that its variable is a msg of 1D should be done. But, I would like to know how I can implement the following code: 1-define a 2D matrix named mat[m][n]; (m*n)

I write the following messages: array 2d.msg and array 1d.msg. Is it a problem in my definition?

array2d.msg array 1d[] mat;

array 1d.msg int8[] a;

2- Implementation of 2 nested for loop The one of simple code for do some mathematical calculation on matrix is presented in the following:

for (i=starti; i<m, i++)="" <br=""> for (j=starti; j<n, j++)="" {mat[i][j]="mat[i+1][j]+2;}&lt;/p">

Clearly, what I want to do is to do some mathematical functions on elements of matrix named mat. I write the simplest code of mathematical calculation in the previous lines. It is your kindness if you translate these lines to ROS code to give an idea to how to implement mathematical calculation with elements of 2D matrix.

Thanks for your help;

Fi

2015-06-18 01:57:26 -0500 received badge  Notable Question (source)
2015-06-17 13:38:30 -0500 commented answer mathematical calculation on 2D matrix(Implementation of 2 nested for loop )

Thanks Jarvi Would you please write the code for simple aboving example code by MultiArray to have a better understand of it?

2015-06-17 13:25:21 -0500 answered a question mathematical calculation on 2D matrix(Implementation of 2 nested for loop )

Thanks Jarvi Would you please write the code for simple aboving example code by MultiArray to have a better understand of it?

2015-06-17 05:57:09 -0500 received badge  Popular Question (source)
2015-06-16 23:00:48 -0500 edited question mathematical calculation on 2D matrix(Implementation of 2 nested for loop )

Hi all; As I understand, the 2D matrix in the ROS in not available until now and for this reasn, a definition of a msg that its variable is a msg of 1D should be done. But, I would like to know how I can implement the following code: 1-define a 2D matrix named mat[m][n]; (m*n)

I write the following messages: array 2d.msg and array 1d.msg. Is it a problem in my definition?

array2d.msg
array 1d[] mat;

array 1d.msg 
int8[] a;

2- Implementation of 2 nested for loop The one of simple code for do some mathematical calculation on matrix is presented in the following:

for (i=starti; i<m, i++)  
  for (j=starti; j<n, j++)
    {mat[i][j]=mat[i+1][j]+2;}

Clearly, what I want to do is to do some mathematical functions on elements of matrix named mat. I write the simplest code of mathematical calculation in the previous lines. It is your kindness if you translate these lines to ROS code to give an idea to how to implement mathematical calculation with elements of 2D matrix.

Thanks for your help;

Fi