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

sasadasd's profile - activity

2021-08-20 12:47:54 -0500 received badge  Notable Question (source)
2021-08-20 12:47:54 -0500 received badge  Popular Question (source)
2021-08-20 12:47:54 -0500 received badge  Famous Question (source)
2020-03-09 10:47:25 -0500 received badge  Famous Question (source)
2019-11-05 08:33:49 -0500 marked best answer the necessary of the "rosparam set use_sim_time true " in gmapping

hello,

I would like to know the necessary of "rosparam set use_sim_time true " when I build exact map by using gmapping and rviz.

When I used "rosparam set use_sim_time true " before "rosrun gmapping slam_gmapping scan:=base_scan", my map becomes error " No map received" in rviz. If I don't use "rosparam set use_sim_time true " ,The error don't appear.

If I don't use ""rosparam set use_sim_time true " , Can I build exact map?

2019-08-27 18:38:01 -0500 received badge  Famous Question (source)
2019-08-14 03:34:24 -0500 received badge  Famous Question (source)
2019-05-20 01:39:02 -0500 marked best answer the necessity of yaw angle limitation

Hello , currently,I worked on cording the odometry_tf node.

I have something to ask about limitation of yaw angle. According to the following URL, the yaw angle of robot(th) is not limited .

http://wiki.ros.org/navigation/Tutori...

  38     th += delta_th;

  41     geometry_msgs::Quaternion odom_quat = tf::createQuaternionMsgFromYaw(th);

In this case,I think that the "th" is gradually increasing and the value of odom_quat will be nan. Is this allright?

2019-03-05 14:50:03 -0500 marked best answer I can't execute roslanch of remote PC from host PC

Hello, I'd like to execute simple roslaunch file(test1.launch) of remote PC from host PC.Then I encountered the following error.please let me know how to resolve the problem.

started roslaunch server http://mori:44595/

SUMMARY
========

PARAMETERS
 * /rosdistro: indigo
 * /rosversion: 1.11.21

NODES
  /
    test1 (test1/test1_node)

ERROR: unable to contact ROS master at [http://NotePC:11311]
The traceback for the exception was written to the log file

I configured something as the following procedure.

[1] setting of IP Address and name

on Host(NotePC)
I executed "sudo gedit /etc/hosts" and save the following parameter
    192.168.122.22 NotePC
    192.168.122.33 mori

on remote PC(mori)
I executed same command.
    192.168.122.22 NotePC
    192.168.122.33 mori

[2] start roscore I executed the following command to start roscore in host(NotePC)

export ROS_MASTER_URI=http://NotePC:11311 
roscore

[3] connect to remotePC

ssh mori@mori -p 22
export ROS_HOSTNAME=mori
export ROS_MASTER_URI=http://NotePC:11311 
export ROSLAUNCH_SSH_UNKNOWN=1
roslaunch test1 test1.launch

Then I encountered above error. test1.launch file is following.

<launch>
 <machine name="mori" address="mori" env-loader="/home/mori/catkin_ws/devel/env.sh" user="mori" password="my_pass"/>   
 <node  machine="mori" pkg="test1" type="test1_node" name="test1" output="screen"/>
</launch>

My "/home/mori/catkin_ws/devel/env.sh" is the following.

#!/usr/bin/env sh
# generated from catkin/cmake/templates/env.sh.in

if [ $# -eq 0 ] ; then
/bin/echo "Usage: env.sh COMMANDS"
/bin/echo "Calling env.sh without arguments is not supported anymore. Instead spawn a subshell and source a   setup file manually."
exit 1
fi

# ensure to not use different shell type which was set before
CATKIN_SHELL=sh

# source setup.sh from same directory as this file
_CATKIN_SETUP_DIR=$(cd "`dirname "$0"`" > /dev/null && pwd)
. "$_CATKIN_SETUP_DIR/setup.sh"
exec "$@"

I checked the following contents.

(1) Ping test:I executed "ping NotePC" in remote PC . Then I succeed.
(2) I executed "echo $ROS_HOSTNAME" after the step [3].
        >mori
(3) I executed "echo $ROS_MASTER_URI  after the step [3].
       >http://NotePC:11311
(4) I  succeed execution of the command "rosrun test1 test1_node" after step[3].
2019-03-05 14:48:35 -0500 marked best answer I can't use rviz in host PC

My purpose is executing navigation to my handmade robot. I have 2 PCs. I'd like to see the rviz and set the goal position from host PC remotely. And I 'd like to control remote PC on the robot to execute amcl.launch.

I have already executed amcl.launch remotely on the remote PC, but I couldn't see the map of rviz from host PC. I thought that it looks like rviz didn't get the information of remote PC. Therefore,I executed "rqt_graph"on my host PC, then I could see some nodes. From this result , I found that my host PC and remote PC are capable of communicating each other.

Please let me know how to see the rviz from my host PC?


Edit: I configured commands as the following procedure.

[1] setting of IP Address and name

on Host(NotePC)
I executed "sudo gedit /etc/hosts" and save the following parameter
    192.168.122.22 NotePC
    192.168.122.33 mori

on remote PC(mori)
I executed same command.
    192.168.122.22 NotePC
    192.168.122.33 mori

[2] start roscore I executed the following command to start roscore in host(NotePC)

export ROS_HOSTNAME=Notepc 
export ROS_MASTER_URI=http://192.168.122.22:11311 
export ROS_IP=192.168.122.22 
roscore

[3] connect to remotePC

ssh mori@mori -p 22
export ROS_HOSTNAME=mori
export ROS_MASTER_URI=http://192.168.122.22:11311 
export ROS_IP=192.168.122.33 
sudo chmod 666 /dev/ttyUSB0
roslaunch  myrobo_navigation amcl.launch

[4] rqt_graph

export ROS_HOSTNAME=Notepc 
export ROS_MASTER_URI=http://192.168.122.22:11311 
export ROS_IP=192.168.122.22 
rqt_graph

Then, The diagram is appeared the following. And I can't see the tf(I also checked it by executing "rosrun tf view_frames").

image description

If I execute roscore and the step [3] only on the remote PC . I can get the following diagram. And I can see tf tree and rviz.

image description

My launch file "amcl.launch" is the following:

<launch>
  <machine name="mori" address="mori" env-loader="/home/mori/catkin_ws/devel/env.sh" user="mori" password="ubuntu"/>
  <arg name="launch_rviz" default="true"/>
  <arg name="with_camera" default="true"/>

  <!-- RPLider.launch -->
  <node machine="mori" name="rplidarNode" pkg="rplidar_ros"  type="rplidarNode" output="screen">
      <param name="serial_port"         type="string" value="/dev/ttyUSB0"/>  
      <param name="serial_baudrate"     type="int"    value="115200"/>
      <param name="frame_id"            type="string" value="laser"/>
      <param name="inverted"            type="bool"   value="false"/>
      <param name="angle_compensate"    type="bool"   value="true"/>
  </node>

  <!-- odometry_tf -->
  <node machine="mori" pkg="odometry_tf" type="odometry_tf_node" name="odometry_tf_node"/>

  <!-- Map server -->
  <arg name="map_file" default="$(find myrobo_navigation)/map/map.yaml"/>
  <node machine="mori" name="map_server" pkg="map_server" type="map_server" args="$(arg map_file)" />

  <!-- AMCL -->
  <include file="$(find myrobo_navigation)/launch/include/laser_amcl.launch.xml"/>

  <!-- Move base -->
  <include file="$(find myrobo_navigation)/launch/include/move_base.launch.xml"/>

  <node machine="mori" if="$(arg with_camera)" name="image_transport" pkg="image_transport" type="republish" args="compressed in:=/raspicam_node/image raw out:=/camera/image_raw"/>

   <!-- usb_cam -->
  <node machine="mori" name="usb_cam" pkg="usb_cam" type="usb_cam_node" >
    <param name="video_device" value="/dev/video1" />
    <param name="pixel_format ...
(more)
2019-03-01 12:43:18 -0500 marked best answer CatkinMake Error in DS325 "depth camera"

Hello , I try to use DS325 depth camera. To get the following URL' s node, I executed the command "git clone https://github.com/Myzhar/ros_depthse... .

https://github.com/Myzhar/ros_depthse...

Finally , I executed "CatkinMake",but I encountered the following error.

Error message :

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
DEPTHSENSE_LIBRARY
    linked by target "depthsense_camera_node" in directory /home/username/catkin_ws/src/ros_depthsense_camera

-- Configuring incomplete, errors occurred!
See also "/home/username/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/username/catkin_ws/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] error 1
Invoking "make cmake_check_build_system" failed

My development environment is Ubuntu14.04 and Indigo.

How should I resolve the error? Please help me.

2019-02-18 12:44:21 -0500 received badge  Famous Question (source)
2018-09-18 19:55:35 -0500 marked best answer misaligned map by using gmapping

image descriptionHi , everyone

I'm trying to making map by using gmapping.

But my map is misaligned.

Could you let me know the solution if you have ever experienced like me ?

I use my original robot and using only odometry.

so , It is a little different from the angle value that is calculated and real value.

Thank you

2018-09-18 19:54:29 -0500 marked best answer How to build map using rviz

Hello,

I could not build map using rviz. The map error message is " No map received".

My tf is odom →base_link →laser_link →camera_link

I uses raspberrypi 2 and build my robot by using it.

the node is the following

  • terminal1:rosrun ros_move ros_move (moving robot by using joystick:raspberrypi)
  • terminal2:rosrun ros_encoder ros_encoder (I uses encoder:raspberrypi)
  • terminal3:rosrun joy joy_node (joystick :laptop)
  • terminal4:rosrun base_controller base_controller_node (broadcast tf :laptop)

Probably the above stated node don't have problem because I could build a map before without using rviz.

  • terminal5:roslaunch freenect_launch freenect.launch
  • terminal6:rosrun image_view image_view image:=/camera/depth/image_raw
  • terminal7:rosrun depthimage_to_laserscan depthimage_to_laserscan image:=/camera/depth/image_raw
  • terminal8:rviz
  • terminal9:roslaunch robo_slam robo_slam.launch
  • terminal10:rosrun tf static_transform_publisher 0.0 0.0 0.0 0.0 0.0 0.0 /laser_link /camera_link 100
  • ・・・(The rviz don't build map)

Please let me know how to solve the problem. Thank you. image description

2018-07-19 13:00:18 -0500 received badge  Student (source)
2018-07-19 13:00:14 -0500 received badge  Self-Learner (source)
2018-07-19 13:00:14 -0500 received badge  Teacher (source)
2018-06-12 21:24:15 -0500 edited question Uncontrallable urdf of 2 link arm in Gazebo

Uncontrallable urdf of 2 link arm in Gazebo Hello, I'd like to make a 2 link arm model by using urdf to simulate it in G

2018-06-12 21:16:24 -0500 asked a question Uncontrallable urdf of 2 link arm in Gazebo

Uncontrallable urdf of 2 link arm in Gazebo Hello, I'd like to make a 2 link arm model by using urdf to simulate it in G

2018-05-17 06:22:05 -0500 commented question 'sm_13' is not defined for option 'gpu-architecture'

Thank you for your advice, I posted my issue to the URL that you posted for me.

2018-05-17 06:20:33 -0500 received badge  Notable Question (source)
2018-05-16 01:17:35 -0500 received badge  Popular Question (source)
2018-05-15 20:38:08 -0500 marked best answer Error in executing usbcam_node by using raspberrypi2 (indigo)

Hello,

I 'd like to use usbcam_node in raspberrypi2.I have already installed indigo . And I installed somethings and execute some commands as following procedures.

(1)$ ls /dev/video* ->/dev/video0 is displayed.

(2)$ sudo apt-get update (3)$ sudo apt-get install ros-indigo-usb-cam (4)$ roscore (5)$ rosparam set usb_cam/pixel_format yuyv (6)$ rosrun usb_cam usb_cam_node (7)$ rostopic list ->/rosout /rosout_agg /usb_cam/camera_info / usb_cam/image_raw

(8)$ rosrun image_view image_view image:=/usb_cam/image_raw

Then the window is appeared but the screen is gray and the error is appeared.

[INFO][148578891.02916418]:Using transport "raw" /opt/ros/indigo/lib/image_view/image_view:symbol lookup error :/opt/ros/indigo/lib/image_view/image_view: undefined symbol :_ZN9cv_bridge18cvtColorForDisplayERKN5boost10shared_ptrIKNS_7CvImageEEERKSsNS_25CvtColorForDisplayOptionE

Could you let me know how to resolve the problem?

2018-05-15 20:36:55 -0500 received badge  Notable Question (source)
2018-05-15 17:24:47 -0500 commented question 'sm_13' is not defined for option 'gpu-architecture'

I used Lenovo ideapaad Y700 NVIDIA Geforce 960M and installed version of cuda is the following. nvcc -V nvcc: NVIDIA (R

2018-05-15 17:20:37 -0500 asked a question 'sm_13' is not defined for option 'gpu-architecture'

'sm_13' is not defined for option 'gpu-architecture' Hello, I installed darknet_ros and executed catkin_make. Then I enc

2018-04-14 00:13:39 -0500 received badge  Famous Question (source)
2018-03-23 19:23:16 -0500 received badge  Notable Question (source)
2018-03-10 08:05:47 -0500 received badge  Famous Question (source)
2018-02-27 14:05:48 -0500 received badge  Famous Question (source)
2018-02-23 17:12:34 -0500 commented answer the necessity of yaw angle limitation

I took your opinion as reference and I comment out the limitation of yaw angle, then my robot is capable of making map w

2018-02-23 17:11:38 -0500 commented answer the necessity of yaw angle limitation

Thank your for your helpful advice! Actually, I encountered the issue that my navigation robot is not capable of makin

2018-02-23 17:11:16 -0500 commented answer the necessity of yaw angle limitation

I took your opinion as reference and I comment out the limitation, then my robot is capable of making map well.

2018-02-23 17:09:58 -0500 commented answer the necessity of yaw angle limitation

Thank your for your reply! Actually, I encountered the issue that my navigation robot is not capable of making map due

2018-02-22 07:31:15 -0500 received badge  Popular Question (source)
2018-02-21 07:36:08 -0500 edited question the necessity of yaw angle limitation

the necessity of yaw angle limitation Hello , currently,I worked on cording the odometry_tf node. I have something to a

2018-02-21 07:34:37 -0500 edited question the necessity of yaw angle limitation

the necessity of yaw angle limitation Hello , currently,I worked on cording the odometry_tf node. I have something to a

2018-02-21 07:33:15 -0500 asked a question the necessity of yaw angle limitation

the necessity of yaw angle limitation Hello , currently,I worked on cording the odometry_tf node. I have something to a

2018-02-16 18:31:23 -0500 commented question I can't use rviz in host PC

I have not resolved it yet. Thank you for your advice, I will try it.

2018-02-16 18:31:10 -0500 commented question I can't use rviz in host PC

I have not resolved it yet. Thank you for your advice, I will tray it.

2018-01-31 22:50:41 -0500 received badge  Famous Question (source)
2018-01-31 16:03:33 -0500 commented answer I can't use rviz in host PC

Thank you for your reply. But I think that it is not problem of the network. when I executed amcl.launch on remote PC,

2018-01-31 15:57:34 -0500 received badge  Famous Question (source)
2018-01-31 07:56:40 -0500 commented question I can't use rviz in host PC

Yes,I have already set "ROS_IP" on each PC.

2018-01-31 07:30:03 -0500 answered a question I can't use rviz in host PC

I configured commands as the following procedure. [1] setting of IP Address and name on Host(NotePC) I executed "s

2018-01-31 06:10:04 -0500 received badge  Famous Question (source)
2018-01-31 01:13:37 -0500 received badge  Notable Question (source)