Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

roslaunch rpi_examples_indigo pi_in_rviz.launch [error] #1

Open
AlysonQ opened this issue Jan 11, 2016 · 1 comment
Open

roslaunch rpi_examples_indigo pi_in_rviz.launch [error] #1

AlysonQ opened this issue Jan 11, 2016 · 1 comment

Comments

@AlysonQ
Copy link

AlysonQ commented Jan 11, 2016

Hi , I get something wrong when roslaunch.
Would you help me to slove it ?
Here is the log shows. (screenshot >> https://goo.gl/oVZK0r)
I use raspberry pi 2 B+ and ROS indigo.
Sometimes it shows rviz segmentation fault.

SUMMARY

PARAMETERS

  • /pi_position/_print_debug: False
  • /pi_position/_x_offset: -0.641
  • /pi_position/_y_offset: 0.14
  • /pi_position/_z_offset: 9.74
  • /robot_description: <?xml version="1....
  • /rosdistro: indigo
  • /rosversion: 1.11.13
  • /use_gui: False

NODES
/
joint_state_publisher (joint_state_publisher/joint_state_publisher)
pi_position (rpi_examples_indigo/pi_position.py)
robot_state_publisher (robot_state_publisher/state_publisher)
rviz (rviz/rviz)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[pi_position-1]: started with pid [7202]
process[joint_state_publisher-2]: started with pid [7203]
process[robot_state_publisher-3]: started with pid [7206]
process[rviz-4]: started with pid [7231]
================================================================================REQUIRED process [rviz-4] has died!
process has died [pid 7231, exit code -11, cmd /opt/ros/indigo/lib/rviz/rviz -d /opt/ros/indigo/share/urdf_tutorial/urdf.rviz __name:=rviz __log:=/home/ubuntu/.ros/log/b938b822-b811-11e5-befb-b827eb978b9e/rviz-4.log].
log file: /home/ubuntu/.ros/log/b938b822-b811-11e5-befb-b827eb978b9e/rviz-4*.log

Initiating shutdown!

[rviz-4] killing on exit
[robot_state_publisher-3] killing on exit
[joint_state_publisher-2] killing on exit
[pi_position-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Thanks!
Alyson
qoo810823@gmail.com

@mattmongeon
Copy link
Owner

Hi Alyson,

Something appears to be wrong with rviz, but based on this log I'm not
entirely sure what. Given that it is starting up at all it appears that it
is likely installed properly. Here are a couple of things to check off the
top of my head:

  • Check the log file mentioned in the command line above and see if it
    gives you any clues: __log:=/home/ubuntu/.ros/log/
    b938b822-b811-11e5-befb-b827eb978b9e/rviz-4.log
  • Check permissions. Look at the rviz app (/opt/ros/indigo/lib/rviz/rviz),
    the rviz file (/opt/ros/indigo/share/urdf_tutorial/urdf.rviz), and your
    own launch script and make sure all permissions line up properly. Goofy
    things can happen when things are not in sync. You could always try
    preceding roslaunch with sudo as a quick check.
  • You could try temporarily removing or commenting out the rviz portion
    of the launch file and make sure the rest of it will run just as a sanity
    check to ensure nothing else is wrong with the installation.
  • Try launching rviz by itself or using a demo of some sort to see if
    rviz will even startup on your machine. This will also help to see if
    there is something wrong with rviz itself. If it fails, check the log
    files in /home/ubuntu/.ros.
  • I'm also just noticing that the user for this printout appears to be
    "ubuntu" (given that the home directory is in /home/ubuntu/). Just to make
    sure, this is running on a Raspberry Pi running Raspbian instead of some
    build of Ubuntu, correct? If I remember correctly, I believe the default
    user on a Raspberry Pi is "raspberry" (I haven't worked with one for
    several months now).

I hope this helps you find what is wrong.

Matt

On Mon, Jan 11, 2016 at 4:19 AM, Alyson Chen notifications@github.com
wrote:

Hi , I get something wrong when roslaunch.
Would you help me to slove it ?
Here is the log shows.
SUMMARY

PARAMETERS

  • /pi_position/_print_debug: False
  • /pi_position/_x_offset: -0.641
  • /pi_position/_y_offset: 0.14
  • /pi_position/_z_offset: 9.74
  • /robot_description: <?xml version="1....
  • /rosdistro: indigo
  • /rosversion: 1.11.13
  • /use_gui: False

NODES
/
joint_state_publisher (joint_state_publisher/joint_state_publisher)
pi_position (rpi_examples_indigo/pi_position.py)
robot_state_publisher (robot_state_publisher/state_publisher)
rviz (rviz/rviz)

ROS_MASTER_URI=http://localhost:11311

core service [/rosout] found
process[pi_position-1]: started with pid [7202]
process[joint_state_publisher-2]: started with pid [7203]
process[robot_state_publisher-3]: started with pid [7206]
process[rviz-4]: started with pid [7231]
================================================================================REQUIRED
process [rviz-4] has died!
process has died [pid 7231, exit code -11, cmd
/opt/ros/indigo/lib/rviz/rviz -d
/opt/ros/indigo/share/urdf_tutorial/urdf.rviz __name:=rviz
__log:=/home/ubuntu/.ros/log/b938b822-b811-11e5-befb-b827eb978b9e/rviz-4.log].
log file:
/home/ubuntu/.ros/log/b938b822-b811-11e5-befb-b827eb978b9e/rviz-4*.log
Initiating shutdown!

[rviz-4] killing on exit
[robot_state_publisher-3] killing on exit
[joint_state_publisher-2] killing on exit
[pi_position-1] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

Thanks!
Alyson
qoo810823@gmail.com


Reply to this email directly or view it on GitHub
#1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants