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

broken config of multiple rtsp streams in camera node #37

Open
mbrosnahan opened this issue Mar 15, 2024 · 2 comments
Open

broken config of multiple rtsp streams in camera node #37

mbrosnahan opened this issue Mar 15, 2024 · 2 comments

Comments

@mbrosnahan
Copy link
Contributor

Right now, we configure in config as:

camera:
fore_camera:
video_stream_url: "rtsp://user:pw@cam1ip/"
aft_camera:
video_stream_url: "rtsp://user/pw@cam2ip/"

The trouble is that we’re only able to view fore_camera, not aft_camera (and we definitely need both). It'd also be helpful if topic name would be formed using secondary parameters under camera, e.g. so that fore_camera might be replaced with 'north_campera' and data published at /camera/north_camera/compressed/image

Current behavior is that the system is only publishing /camera/fore_camera/image/compressed regardless of whether fore_camera or aft_camera are commented out in above.

@rgov
Copy link
Member

rgov commented Mar 15, 2024

<!-- <node name="aft_camera" pkg="rtsp_camera" type="rtsp_camera_node">
<remap from="~image" to="~image/do_not_use" />
<remap from="~image/do_not_use/compressed" to="~image/compressed" />
</node> -->

The aft_camera node is commented out.

@mbrosnahan
Copy link
Contributor Author

I took a shot at this, first by updating main.launch on our instrument and doing a rebuild using docker build -t whoi/phyto-arm . from PhytO-ARM root dir. No change in behavior.

Next, I tried committing changes to NF's multi-winch branch (what is checked out on system currently deployed). Ran build as above and again no change in behavior.

I also mucked around trying to change fore/aft to ifcb/chanos in camera names. This didn't have any effect. Only topic /camera/fore_camera/image/compressed is published. I must not be changing correct files. What else am I doing wrong?

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