Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

can not launch firos from a launch file #6

Closed
marija185 opened this issue Feb 27, 2019 · 4 comments
Closed

can not launch firos from a launch file #6

marija185 opened this issue Feb 27, 2019 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@marija185
Copy link

Hi Dominik,
we are facing some problems with launching firos from a common launch file. It works when starting from another terminal as:

rosrun firos core.py

But when putting this to a launch file:

    <!-- Run FIROS -->
    <node name="firos" pkg="firos" type="core.py" />

it says error:

process[firos-5]: started with pid [29406]
usage: core.py [-h] [-P PORT] [--conf CONF_FOLD] [--ros-port ROS_PORT]
               [--ros-node-name ROS_NODE_NAME] [--loglevel LOGLEVEL]
core.py: error: unrecognized arguments: __name:=firos __log:=/home/marija/.ros/log/a4b8beac-3a8f-11e9-b1de-b0359ffc31f9/firos-5.log
[firos-5] process has died [pid 29406, exit code 2, cmd /home/marija/programi/FIWARE/gitlabOPIL/mod.sw.sp/src/firos/firos/core.py __name:=firos __log:=/home/marija/.ros/log/a4b8beac-3a8f-11e9-b1de-b0359ffc31f9/firos-5.log].
log file: /home/marija/.ros/log/a4b8beac-3a8f-11e9-b1de-b0359ffc31f9/firos-5*.log

Thanks,
Marija

@Luxxii Luxxii self-assigned this Feb 28, 2019
@Luxxii Luxxii added the bug Something isn't working label Feb 28, 2019
@Luxxii
Copy link

Luxxii commented Feb 28, 2019

The current FIROS does not allow additional arguments like __name:=* or __log:=*.

I was not aware that a roslaunch sets additional arguments like this. I'll try to fix this as soon as possible.

@Luxxii
Copy link

Luxxii commented Feb 28, 2019

The Error should be now removed via f9db903 . This Issue is related with: #3

You should be now able to start FIROS via roslaunch. It is also possible to add additional arguments, like the ros-port.

<launch>
    <node name="firos2" pkg="firos" type="core.py" args="--ros-port 4567" />
</launch>

Let me know if there are similar Issues!

Best Regards,
Dominik

@marija185
Copy link
Author

Thanks Dominik, it works now!!!!
Best regards,
Marija

@marija185
Copy link
Author

small remark - it also works without args:

    <node name="firos" pkg="firos" type="core.py" />

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants