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

Edit YOLOX pth/exp values without changing launch file #27

Closed
JonathanNash21 opened this issue Oct 25, 2022 · 4 comments
Closed

Edit YOLOX pth/exp values without changing launch file #27

JonathanNash21 opened this issue Oct 25, 2022 · 4 comments

Comments

@JonathanNash21
Copy link

Hello,

Is it possible to specify parameters in the launch file (like those in the title) via command line arguments? Or do I have to go into the launch.py and manually edit the launch_ros.actions.Node parameters? Thank you.

@JonathanNash21
Copy link
Author

And along the same idea, is there a simple way to add a namespace (like https://iroboteducation.github.io/create3_docs/setup/multi-robot/ uses) to the bounding_boxes publisher for subscribing to? Or will I have to manually edit that as well?

@Ar-Ray-code
Copy link
Owner

You can launch yolox-ros-cpp with arguments, but yolox-ros-py can't now.
yolox_openvino.launch.py

ros2 launch yolox_ros_cpp yolox_openvino.launch.py video_device:=/dev/video0

@Ar-Ray-code
Copy link
Owner

Ar-Ray-code commented Oct 25, 2022

If you want to set namespace on launch file, add namespace parameter in launch_ros.actions.Node.

Example (motpy-ros)

    webcam = launch_ros.actions.Node(
        package='v4l2_camera', executable='v4l2_camera_node',
        namespace='camera/color',
        parameters=[
            {"image_size": [640,480]},
        ],
    )

@JonathanNash21
Copy link
Author

I appreciate the quick response! Thank you!

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

2 participants