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

Wiew's profile - activity

2022-09-18 05:51:24 -0500 received badge  Great Answer (source)
2022-01-17 00:16:14 -0500 received badge  Famous Question (source)
2022-01-17 00:16:14 -0500 received badge  Notable Question (source)
2022-01-17 00:16:14 -0500 received badge  Popular Question (source)
2021-03-13 02:17:03 -0500 received badge  Good Answer (source)
2021-03-11 19:27:29 -0500 received badge  Famous Question (source)
2020-10-14 20:55:26 -0500 received badge  Notable Question (source)
2020-10-14 20:55:26 -0500 received badge  Popular Question (source)
2020-09-16 10:52:18 -0500 received badge  Nice Answer (source)
2020-05-16 04:44:19 -0500 edited question undefined reference to `ros::Publisher::getTopic() const'

undefined reference to `ros::Publisher::getTopic() const' Hi there, i have a question. I wanna to connect urg_node to my

2020-05-16 04:43:31 -0500 asked a question undefined reference to `ros::Publisher::getTopic() const'

undefined reference to `ros::Publisher::getTopic() const' Hi there, i have a question. I wanna to connect urg_node to my

2019-07-04 10:30:49 -0500 received badge  Necromancer (source)
2019-07-04 10:30:49 -0500 received badge  Teacher (source)
2017-10-19 02:27:41 -0500 received badge  Famous Question (source)
2017-05-10 04:08:53 -0500 received badge  Famous Question (source)
2017-04-13 05:16:28 -0500 received badge  Enthusiast
2017-03-31 09:11:21 -0500 answered a question rostopic list works but rostopic echo does not

Check your settings in both terminal. We had same problem and problem was in :

We had in 1st terminal ROS_MASTER_URI=http://192.168.1.10:11311 - in this terminal runs roscore and in 2nd terminal ROS_MASTER_URI=http://localhost:11311 - in this terminal runs urg_node

In matlab we receive using rostopic list all nodes but if we use rostopic echo /scan, we are not able to receive data.

there is our solution: best way how eliminate similiar mistakes is add few lines to .bashrc file

export ROS_MASTER_URI=http://192.168.1.10:11311
export ROS_HOSTNAME=192.168.1.10
export ROS_IP=              (empty data)

and it works!

and if you want use matlab

192.168.1.11 - our PC with matlab 192.168.1.10 RPI with ROS and sensors

setenv('ROS_MASTER_URI','http://192.168.1.10:11311')
setenv('ROS_IP','192.168.1.11')
setenv('ROS_HOSTNAME','192.168.1.11')
2017-03-31 06:33:37 -0500 commented answer Using CH Robotics IMU UM7 with ROS

Also you should try to run rostopic list if you are able to see default ros nodes. 2nd problem should be if you are using ros on different IP addres. For example you can change your ROS_MASTER_URI to different IP. Try to check if your roscore running on correct IP and your port is not closed by ufw

2017-03-08 08:51:32 -0500 asked a question Pololu rotation magnetic sensor

Hi there!

I would like to ask you. Does someone have some source code for data processing using this sensor on raspberry PI? This sensor measure wheel rotation using two channels (A and B) image description

Regards Wiew

2017-02-21 05:27:35 -0500 commented question How to store data receieved from UM7

Yeah sure, it is not necessary for all users. In my case i installed ros under root and without sudo session i am not able to run ros.

2017-02-21 03:59:06 -0500 received badge  Editor (source)
2017-02-18 05:57:28 -0500 received badge  Notable Question (source)
2017-02-18 01:16:10 -0500 answered a question how to specify gcc options while building ROS programs

Hi there!,

I have similiar question like this topic. I tried to compile my ROS project using eclipse on RPI. I am not able to install eclipse using manual ( http://wiki.ros.org/IDEs ) because there is no ecplise sources for my RPI whcih i am able to compile) -then i installed eclipse using apt-get (with c/c++ support).

I tried to write my sw using ros.h and sensor_msgs.h. It is possible to compile my SW but Linker says ros::init undefined reference - Linker have no libraries.

Do you have which library i must use? I am not able to find libraries like roslibrary.so etc..

Thank you for your response.

Wiew

2017-02-17 05:20:35 -0500 received badge  Popular Question (source)
2017-02-17 04:13:28 -0500 answered a question How to store data receieved from UM7

Thank you for your response. There is a manual how to show data for other users. I hope it should be useful.

  1. install ROS + other features

  2. sudo su

  3. roscore

  4. second terminal

  5. sudo su
  6. cd /root/catkin_ws (or place where you have a catkin workspace)
  7. source devel/setup.bash
  8. rosrun um7 um7_driver _port:=/dev/ttyAMA0

A) show data in RVIZ

  1. Third console
  2. rosrun rviz rviz (you need rviz_imu_plugin)
  3. add module IMU
  4. fixed frame : imu_link 13 in module IMU fill topic /imu/data
  5. rviz should show data from IMU

B) show RAW data in console

  1. third console
  2. sudo su
  3. rostopic echo /imu/data (or show another type using rostopic list)
2017-02-10 07:11:32 -0500 answered a question how to rotate a point(x,y) from current orientation to a given orientation

In my research i used a DCM Matrix /Matrix of direct cosine/. This matrix provides (2D or 3D rotation) of point. This method is very simply, but you need matrix calculations. On wikipedia you are able to find how to transform data. In our paper the example of matixies and calculations are shown.

Blockquote https://www.researchgate.net/publication/312140651_The_Depth_Map_Construction_from_a_3D_Point_Cloud Blockquote

2017-01-27 04:24:35 -0500 asked a question How to store data receieved from UM7

dear,

i run a UM7 drivers but i'm not able to see inertial data (i'm able to see only messages like received packet XY without data or sending command zero gyroscopes).

Do you have some solution how to show inertial data (from accelerometers and gyroscopes?)

Thank you for your responce


Edit: thank you for your response. There is a manual how to show data for other users. I hope it should be useful.

  1. install ROS + other features

  2. sudo su

  3. roscore

  4. second terminal

  5. sudo su
  6. cd /root/catkin_ws (or place where you have a catkin workspace)
  7. source devel/setup.bash
  8. rosrun um7 um7_driver _port:=/dev/ttyAMA0

A) show data in RVIZ

  1. Third console
  2. rosrun rviz rviz (you need rviz_imu_plugin)
  3. add module IMU
  4. fixed frame : imu_link 13 in module IMU fill topic /imu/data
  5. rviz should show data from IMU

B) show RAW data in console

  1. third console
  2. sudo su
  3. rostopic echo /imu/data (or show another type using rostopic list)
2017-01-25 09:03:23 -0500 received badge  Notable Question (source)
2017-01-25 08:44:06 -0500 answered a question Using CH Robotics IMU UM7 with ROS

What type of communication you are using? Do you have convertor RS232 to USB? i have UM7 sensor without USB (serial link directly connected to RPI pins and i must set rosrun um7 um7_driver _port:=/dev/ttyAMA0 and it runs without problem.

2017-01-25 08:39:44 -0500 answered a question How to correcly compile and run UM7 downloaded from git

Thank you for your response. Now it seem to be OK. Also, its is necessary run roscore in another console.

I have a one another question. i run a UM7 drivers but i'm not able to see inertial data (i'm able to see only messages like received packet XY without data or sending command zero gyroscopes).

Do you have some solution how to show inertial data (from accelerometers and gyroscopes?)

Thank you for your responce

regards Wiew

2017-01-25 08:37:38 -0500 received badge  Supporter (source)
2017-01-18 07:06:28 -0500 received badge  Scholar (source)
2017-01-15 04:50:40 -0500 received badge  Popular Question (source)
2017-01-14 11:30:59 -0500 asked a question How to correcly compile and run UM7 downloaded from git

Dear,

i tried to install UM7 drivers on my RPI with Ubuntu Mate (1.12.1). I installed ros-kinetics library (all). Unfortunatelly, the kinetic package have not um7 library for apt-get. Then i download sources from git ( https://github.com/ros-drivers/um7.git ), compile and install it.

Simly, steps:

git clone xxxx

mkdir build

cd build

cmake ../ (sucessfully)

make (sucessfully)

make install (sucessfully)

rosrun um7 um7_driver _port:=/dev/ttyAMA0 : [rospack] Error: package 'um7' not found

Any sugestions where is a problem and how to run UM7?