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

soheilred's profile - activity

2016-04-27 07:22:23 -0500 received badge  Famous Question (source)
2016-03-04 03:46:09 -0500 commented answer Data Acquisition DAQ Hardware?

A solution for the problem that I have addressed is to design an op-amp circuit to.... But, that circuit will not work as good as a prepared package like NI Instruments DAQ cards.

2016-03-04 03:39:04 -0500 commented answer Data Acquisition DAQ Hardware?

In noisy environments, Arduinos don't work well. But these boards are more robust against noise. In addition, for many applications, such as controlling an industrial ac motor, we need to provide a voltage range in [-10,+10], which is impossible to generate with Arduino.

2016-01-07 09:04:06 -0500 received badge  Commentator
2016-01-07 09:04:06 -0500 commented answer increasing rosserial's publishing rate for Arduino

Thank you for your answer.

2016-01-05 02:57:48 -0500 commented answer Eigen libriary does not work

the problem is for Eclipse. I shifted to Qt and everything works fine.

2016-01-05 00:09:05 -0500 received badge  Famous Question (source)
2016-01-04 08:34:06 -0500 received badge  Notable Question (source)
2016-01-04 07:14:02 -0500 commented answer increasing rosserial's publishing rate for Arduino

Thank you for your answer. It is written in the website that "RoNeX sends and receives data packets 1,000 times a second, consistently, all the time." Does it mean that no matter how many sensor we connect, it will publish the data in rate of 1 Khz?

2016-01-04 04:18:12 -0500 received badge  Popular Question (source)
2016-01-04 00:44:52 -0500 commented question increasing rosserial's publishing rate for Arduino

I edited the title, which seems is not shown in the changes.

2016-01-03 21:45:28 -0500 received badge  Editor (source)
2016-01-03 20:56:43 -0500 asked a question increasing rosserial's publishing rate for Arduino

Hello everyone,

I'm using ROS to control my cable-robot. I use Arduinos to create communication between ROS and sensors and actuators. But, frequency of rosserial_python node is low (120 hz) and because of that the system is not controlled well. Is there any other nodes or boards that I can use for my project?

Thank you in advance,

2015-08-18 20:58:29 -0500 commented answer Eigen libriary does not work

.... (nbRows<=MaxRowsAtCompileTime)) && (!(ColsAtCompileTime==Dynamic && MaxColsAtCompileTime!=Dynamic) || (nbCols<=MaxColsAtCompileTime)) && nbRows>=0 && nbCols>=0 && "Invalid sizes when resizing a matrix or array."' failed.

2015-08-18 20:56:57 -0500 commented answer Eigen libriary does not work

It seems that problem has not been solved completely. When I could include the library into my code, I built my node without any problem. But now, when I want to run my node, I get this error: CRControl1: /usr/include/eigen3/Eigen/src/Core/PlainObjectBase.h:238: void Eigen::PlainObjectBase

2015-08-13 01:31:34 -0500 received badge  Notable Question (source)
2015-08-13 00:24:54 -0500 received badge  Enthusiast
2015-08-12 20:19:31 -0500 commented answer Eigen libriary does not work

the problem solved. you were right Simon. The inclusion command was not true. But, actually I cannot understand what's wrong with my Eclipse. I used this feature without any problem. But it seams that it cannot handle this library correctly. do you have any idea about the problem?

2015-08-12 06:07:33 -0500 commented answer Eigen libriary does not work

this is what Eclipse auto-completion gives to me. Otherwise, it shows the line with a red line beneath it as an error:

Unresolved inclusion error
2015-08-12 05:58:35 -0500 received badge  Popular Question (source)
2015-08-12 03:49:34 -0500 commented answer Eigen libriary does not work

thank you for your quick answer. but it still does not work. These things are happening even before I define any matrix or vectors. I get the error when I write the include line.

2015-08-12 03:45:41 -0500 received badge  Scholar (source)
2015-08-12 02:21:32 -0500 asked a question Eigen libriary does not work

hi guys,

I am working on Indigo installed on Ubuntu 14.04. I want to use Eigen library in my code. I used this tutorial to add the library to my codes. I also checked this one. After following these two tutorials, my package.xml contains:

<build_depend>cmake_modules</build_depend>
<run_depend>cmake_modules</run_depend>

and my CMakeLists.txt has these lines:

find_package(catkin REQUIRED COMPONENTS cmake_modules )
find_package(Eigen REQUIRED)
catkin_package(
  INCLUDE_DIRS include
  LIBRARIES talker1
  CATKIN_DEPENDS roscpp rospy std_msgs geometry_msgs nav_msgs tf cmake_modules
  DEPENDS Eigen
)
add_executable(CRControl1 src/CRControl1.cpp)
add_dependencies(CRControl1 beginner_tutorials_generate_messages_cpp)
target_link_libraries(CRControl1 ${catkin_LIBRARIES} ${EIGEN_LIBRARIES})

But unfortunately, non of them worked. when I am trying to compile, I get this error:

/usr/include/eigen3/Eigen/src/Cholesky/LDLT.h:52:40: error: ‘RowMajorBit’ was not declared in this scope
       Options = MatrixType::Options & ~RowMajorBit, // these are the options for the TmpMatrixType, we need a ColMajor matrix here!
In file included from /home/soheil/catkin_ws/src/talker1/src/CRControl1.h:31:0,
                 from /home/soheil/catkin_ws/src/talker1/src/CRControl1.cpp:1:
/usr/include/eigen3/Eigen/src/Cholesky/LDLT.h:58:22: error: expected nested-name-specifier before ‘NumTraits’
     typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar;
                      ^
/usr/include/eigen3/Eigen/src/Cholesky/LDLT.h:58:22: error: expected ‘;’ at end of member declaration
/usr/include/eigen3/Eigen/src/Cholesky/LDLT.h:58:31: error: expected unqualified-id before ‘<’ token
     typedef typename NumTraits<typename MatrixType::Scalar>::Real RealScalar;
                               ^
/usr/include/eigen3/Eigen/src/Cholesky/LDLT.h:60:13: error: ‘Matrix’ does not name a type
     typedef Matrix<Scalar, RowsAtCompileTime, 1, Options, MaxRowsAtCompileTime, 1> TmpMatrixType;
             ^
/usr/include/eigen3/Eigen/src/Cholesky/LDLT.h:62:13: error: ‘Transpositions’ does not name a type
     typedef Transpositions<RowsAtCompileTime, MaxRowsAtCompileTime> TranspositionType;
             ^
/usr/include/eigen3/Eigen/src/Cholesky/LDLT.h:63:13: error: ‘PermutationMatrix’ does not name a type
     typedef PermutationMatrix<RowsAtCompileTime, MaxRowsAtCompileTime> PermutationType;
             ^
/usr/include/eigen3/Eigen/src/Cholesky/LDLT.h:125:18: error: ‘TranspositionType’ does not name a type
     inline const TranspositionType& transpositionsP() const
                  ^
/usr/include/eigen3/Eigen/src/Cholesky/LDLT.h:132:12: error: ‘Diagonal’ does not name a type
     inline Diagonal<const MatrixType> vectorD() const
            ^
/usr/include/eigen3/Eigen/src/Cholesky/LDLT.h:175:18: error: ‘solve_retval’ in namespace ‘Eigen::internal’ does not name a type
     inline const internal::solve_retval<LDLT, Rhs>
                  ^
/usr/include/eigen3/Eigen/src/Cholesky/LDLT.h:194:23: error: ‘MatrixBase’ has not been declared
     bool solveInPlace(MatrixBase<Derived> &bAndX) const;
                       ^
/usr/include/eigen3/Eigen/src/Cholesky/LDLT.h:194:33: error: expected ‘,’ or ‘...’ before ‘<’ token
     bool solveInPlace(MatrixBase<Derived> &bAndX) const;
                                 ^
/usr/include/eigen3/Eigen/src/Cholesky/LDLT.h:199:28: error: ‘MatrixBase’ does not name a type
     LDLT& rankUpdate(const MatrixBase<Derived>& w, const RealScalar& alpha=1);
                            ^
/usr/include/eigen3/Eigen/src/Cholesky/LDLT.h:199:38: error: expected ‘,’ or ‘...’ before ‘<’ token
     LDLT& rankUpdate(const MatrixBase<Derived>& w, const RealScalar& alpha=1);
                                      ^
/usr/include/eigen3/Eigen/src/Cholesky/LDLT.h:221:5: error: ‘ComputationInfo’ does not name a type
     ComputationInfo info() const
     ^
/usr/include/eigen3/Eigen/src/Cholesky/LDLT.h:236:5: error ...
(more)
2015-08-11 22:54:43 -0500 commented answer eigenConfig.cmake not found (ROS Indigo)

I have the same problem. I did all the steps that you have mentioned. but when I compile my code I get this: /usr/include/eigen3/Eigen/src/Cholesky/LDLT.h:52:40: error: ‘RowMajorBit’ was not declared in this scope Options = MatrixType::Options & ~RowMajorBit,

this is not the whole error

2013-09-29 00:15:47 -0500 received badge  Supporter (source)