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

roslaunch phantom_ns.launch is giving error

asked 2013-10-29 23:17:27 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Dear All, I am new to ROS and ubuntu, I am using ROS package which I cloned from github When I run roslaunch phantom_ns.launch

I get the following error,

[phantom_ns.launch] requires the 'DefaultPHANToM' arg to be set.

Please guide me how can I resolve this error.

Thank you.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2013-10-30 01:50:37 -0500

maska gravatar image

Could you publish here the content of the phantom_ns.launch file?

edit flag offensive delete link more

Comments

Thank you for your reply.. I resolved the issue. In launch file there are two arg defined and I was not setting their values in roslaunch command..I used below command which worked for me.. roslaunch phantom_ns.launch PHANToM:=true publish_rate:=5

Nabeel9172 gravatar image Nabeel9172  ( 2013-10-30 02:34:29 -0500 )edit

You could add a default value into you launch file. It should look something like <arg name="PHANToM" default="true"/> <arg name="publish_rate" default="5"/> instead adding them each time in console

maska gravatar image maska  ( 2013-10-30 03:11:34 -0500 )edit
0

answered 2013-10-30 02:36:37 -0500

Nabeel9172 gravatar image

I need to do teleoperation between two phantom. Is there any ROS which I can used? I have google but did not get my answer.. Thank you.

edit flag offensive delete link more

Comments

Ask a new question with this, do not post here. Try to be more verbose while describing your needs.

maska gravatar image maska  ( 2013-10-30 03:13:48 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2013-10-29 23:17:27 -0500

Seen: 198 times

Last updated: Oct 30 '13