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

Encountering an error while launching corobot_software.launch #1

Closed
raghulshanmuganathan opened this issue Dec 10, 2014 · 6 comments
Closed

Comments

@raghulshanmuganathan
Copy link

Hi,
I have Corobot CL2 bot. I am encountering an error while trying to launch the GUI.

while giving the following command
roslaunch corobot_launch corobot_software.launch

I am getting the following errors:

ERROR: cannot launch node of type

ROS path [0]=/opt/ros/groovy/share/ros
ROS path [1]=/home/corobot/corobot_packages/src
ROS path [2]=/opt/ros/groovy/share
ROS path [3]=/opt/ros/groovy/stacks
ERROR: cannot launch node of type

ROS path [0]=/opt/ros/groovy/share/ros
ROS path [1]=/home/corobot/corobot_packages/src
ROS path [2]=/opt/ros/groovy/share
ROS path [3]=/opt/ros/groovy/stacks
ERROR: cannot launch node of type

ROS path [0]=/opt/ros/groovy/share/ros
ROS path [1]=/home/corobot/corobot_packages/src
ROS path [2]=/opt/ros/groovy/share
ROS path [3]=/opt/ros/groovy/stacks
[ERROR] [WallTime: 1418214857.180077] Unable to initialize the motors
and encoders board: 13: Given timeout has been exceeded.

Thank You.

@sterlingm
Copy link
Collaborator

Hi @raghulshanmuganathan are you sure your ROS environment is setup correctly and you have sourced setup.bash in the catkin workspace that contains the corobot package? Did the corobot packages compile successfully?

@CandidCypher
Copy link

I would agree with @sterlingm; sounds like you don't have the stack properly sourced if it is not finding them in the /opt/ros/.... directories. When you Catkin init a workspace, it should add/link it to the source file.

@raghulshanmuganathan
Copy link
Author

@sterlingm Yes, I compiled the packages and got no errors while building. I have already sourced setup.bash.
I wonder how the individual nodes can be executed, but launching a launch file throws an error.

for example,

I could run PhidgetMotor node using rosrun command. But while I try to launch the launch file in the same package, I got similar error.

Thanks for your response.

@sterlingm
Copy link
Collaborator

@raghulshanmuganathan The corobot_software.launch file just launches a few other launch files you can find in the launch_include directory. Can you launch those individually? Try

roslaunch corobot_launch motors.launch
roslaunch corobot_launch general.launch
roslaunch corobot_launch phidget_sensors.launch

and see what happens. Also, can you tell us:

  • What OS you're running
  • Which version of ROS
  • The output of "env | grep ROS"
  • Whether or not you can launch any ROS launch files, both from shared ROS packages and 3rd-party packages

@raghulshanmuganathan
Copy link
Author

@sterlingm I am not in lab right now. But I could remember that I got the same error while launching motors.launch. other launch files works fine in that directory.

OS: ubuntu 12.04
ROS Version: Groovy

I will respond to your other queries by tomorrow morning.

Thank you.

@raghulshanmuganathan
Copy link
Author

@sterlingm & @bleucanary Everything works fine now...
Thanks for your response.

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

3 participants