Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Terminal Freezes after roslaunch event

I want to spawn a pioneer3at robot in gazebo through ros so I created a file called p3at.launch and made the corresponding urdf file. When I roslaunch it, it started normally but freezes. Terminal looks like this -

//Terminal

arpit@arpit-SVE15137CNB:/opt/ros/indigo/share/urdf$ roslaunch gazebo_ros p3at.launch

... logging to /home/arpit/.ros/log/ee1fb8ae-5bcf-11e5-97ce-b8763fea9d09/roslaunch-arpit-SVE15137CNB-16521.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://arpit-SVE15137CNB:54185/

SUMMARY

PARAMETERS

  • /robot_description:
  • /rosdistro: indigo
  • /rosversion: 1.11.13

NODES

/

robot_state_publisher (robot_state_publisher/robot_state_publisher)

spawn_urdf (gazebo_ros/spawn_model)

auto-starting new master

process[master]: started with pid [16536]

ROS_MASTER_URI=http://localhost:11311

setting /run_id to ee1fb8ae-5bcf-11e5-97ce-b8763fea9d09

process[rosout-1]: started with pid [16549]

started core service [/rosout]

process[spawn_urdf-2]: started with pid [16566]

process[robot_state_publisher-3]: started with pid [16567]

Terminal Freezes after roslaunch event

I want to spawn a pioneer3at robot in gazebo through ros so I created a file called p3at.launch and made the corresponding urdf file. When I roslaunch it, it started normally but freezes. Terminal looks like this -

//Terminal

arpit@arpit-SVE15137CNB:/opt/ros/indigo/share/urdf$ roslaunch gazebo_ros p3at.launch

p3at.launch

... logging to /home/arpit/.ros/log/ee1fb8ae-5bcf-11e5-97ce-b8763fea9d09/roslaunch-arpit-SVE15137CNB-16521.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

<1GB.

started roslaunch server http://arpit-SVE15137CNB:54185/

http://arpit-SVE15137CNB:54185/ SUMMARY ======== PARAMETERS * /robot_description: <?xml version="1.... * /rosdistro: indigo * /rosversion: 1.11.13 NODES / robot_state_publisher (robot_state_publisher/robot_state_publisher) spawn_urdf (gazebo_ros/spawn_model)

SUMMARY

PARAMETERS

  • /robot_description:
  • /rosdistro: indigo
  • /rosversion: 1.11.13

NODES

/

robot_state_publisher (robot_state_publisher/robot_state_publisher)

spawn_urdf (gazebo_ros/spawn_model)

auto-starting new master

master

process[master]: started with pid [16536]

ROS_MASTER_URI=http://localhost:11311

[16536] ROS_MASTER_URI=http://localhost:11311 setting /run_id to ee1fb8ae-5bcf-11e5-97ce-b8763fea9d09

ee1fb8ae-5bcf-11e5-97ce-b8763fea9d09 process[rosout-1]: started with pid [16549]

[16549] started core service [/rosout]

[/rosout] process[spawn_urdf-2]: started with pid [16566]

[16566] process[robot_state_publisher-3]: started with pid [16567]

[16567]

Terminal Freezes after roslaunch event

I want to spawn a pioneer3at robot in gazebo through ros so I created a file called p3at.launch and made the corresponding urdf file. When I roslaunch it, it started normally but freezes. Terminal looks like this -

//Terminal

arpit@arpit-SVE15137CNB:/opt/ros/indigo/share/urdf$ roslaunch gazebo_ros p3at.launch

... logging to /home/arpit/.ros/log/ee1fb8ae-5bcf-11e5-97ce-b8763fea9d09/roslaunch-arpit-SVE15137CNB-16521.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://arpit-SVE15137CNB:54185/

SUMMARY
========

PARAMETERS

 * /robot_description: <?xml version="1....
 * /rosdistro: indigo
 * /rosversion: 1.11.13

NODES

 /
    robot_state_publisher (robot_state_publisher/robot_state_publisher)
    spawn_urdf (gazebo_ros/spawn_model)


auto-starting new master

process[master]: started with pid [16536]
ROS_MASTER_URI=http://localhost:11311
setting /run_id to ee1fb8ae-5bcf-11e5-97ce-b8763fea9d09
process[rosout-1]: started with pid [16549]
started core service [/rosout]
process[spawn_urdf-2]: started with pid [16566]
process[robot_state_publisher-3]: started with pid [16567]

And here is the launch file

  <launch>
  <env name="GAZEBO_MODEL_PATH" value="$GAZEBO_MODEL_PATH:~/.gazebo/models" />
  <env name="GAZEBO_RESOURCE_PATH" value="$GAZEBO_RESOURCE_PATH:~/.gazebo/models" />

  <arg name="world" default="worlds/empty.world" />

  <arg name="urdf" default="$(find urdf)/pioneer3at.urdf" />
  <arg name="name" default="pioneer3at" />
  <param name="robot_description" command="$(find xacro)/xacro.py $(arg urdf)" />
  <node name="spawn_urdf" pkg="gazebo_ros" type="spawn_model" args="-param robot_description -urdf -model $(arg name)" /> 
  <node name="robot_state_publisher" pkg="robot_state_publisher" type="robot_state_publisher" />

  </launch>