Doesn't work iri_wam_aff_demo start_demo.launch Example 5.1

Hello everyone,

I’m encountering an issue with the roslaunch command. When I try to run the command

roslaunch iri_wam_aff_demo start_demo.launch

, I receive an error indicating that the package iri_wam_aff_demo is not installed:

RLException: [start_demo.launch] is neither a launch file in package [iri_wam_aff_demo] nor is [iri_wam_aff_demo] a launch filename. The traceback for the exception was written to the log file.

It seems that the iri_wam_aff_demo package is missing on my system, like this post https://get-help.robotigniteacademy.com/t/iri-wam-aff-demo-package-does-not-exist/7261/14

HI!

Are you executing this command in the “6 Understanding ROS Services”?? Or are you on “5 Understanding ROS Basics”??

If you executed while on the unit 5, it won’t work because you are working with the kubuki robot and you don’t have the files for the robot arm.
Once you access to the lesson 6 your layout changes and you work the the robot arm and have the files available.

you can check if you have the necessary files executing this command:

rosservice list

I hope this works.

Greetings.

1 Like

Hi! @robotnik.formacion1

Thank you for reaching out. I’m currently in the ‘6 Understanding ROS Services - Clients’, *(Unit 5 Services in ROS: Clients)
However, it seems that the package, is not appearing in the package list.

@WINGS
That’s strange because I just launched the simulation successfully here:

user:~$ roslaunch iri_wam_aff_demo start_demo.launch
... logging to /home/user/.ros/log/746b584c-0b67-11ee-8e5f-0242c0a81006/roslaunch-3_xterm-1115.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://3_xterm:36045/

SUMMARY
========

PARAMETERS
 * /rosdistro: noetic
 * /rosversion: 1.15.9

NODES
  /
    iri_wam_aff_demo (iri_wam_aff_demo/iri_wam_aff_demo_node)
    iri_wam_reproduce_trajectory (iri_wam_reproduce_trajectory/iri_wam_reproduce_trajectory_node)

ROS_MASTER_URI=http://3_simulation:11311

process[iri_wam_reproduce_trajectory-1]: started with pid [1131]
process[iri_wam_aff_demo-2]: started with pid [1132]
[ INFO] [1686824972.143324201]: Waiting for action server to start.
[ INFO] [1686824972.159261109]: Ready execute trajectories
[ INFO] [1686824972.178819184]: Executing trajectory 0
[ INFO] [1686824972.701571445, 19.919000000]: Action server started, sending goal.
[ INFO] [1686824987.438374356, 33.500000000]: Action finished: SUCCEEDED
[ INFO] [1686824987.554893003, 33.609000000]: Executing trajectory 1
[ INFO] [1686824987.869271713, 33.898000000]: Action server started, sending goal.
[ INFO] [1686824997.977903744, 43.209000000]: Action finished: SUCCEEDED

Try sourcing the public simulations workspace and try again;

source /home/simulations/public_sim_ws/devel/setup.bash
2 Likes

Thanx @bayodesegun
That works for me!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.