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

CameraZoomPlugin not working with BoundingBox Camera #129

Open
mikehpark927 opened this issue Jan 10, 2025 · 0 comments
Open

CameraZoomPlugin not working with BoundingBox Camera #129

mikehpark927 opened this issue Jan 10, 2025 · 0 comments

Comments

@mikehpark927
Copy link

Bug report

Issue details

The camera zoom plugin doesn't seem to work with the boundingbox camera. In the model.sdf for the gimbal_small_3d, I changed the type from camera to boundingbox_camera. Whenever I send a zoom command to the corresponding topic, it doesn't change the HFOV. Here is the full change:

<sensor name="camera" type="boundingbox_camera">
        <pose>0 0 0 -1.57 -1.57 0</pose>
        <camera>
          <box_type>full_2d</box_type>
          <horizontal_fov>2.0</horizontal_fov>
          <image>
            <width>640</width>
            <height>480</height>
          </image>
          <clip>
            <near>0.05</near>
            <far>15000</far>
          </clip>
        </camera>
        <always_on>1</always_on>
        <update_rate>10</update_rate>
        <visualize>1</visualize>

        <plugin filename="CameraZoomPlugin"
            name="CameraZoomPlugin">
          <max_zoom>125.0</max_zoom>
          <slew_rate>0.42514285714</slew_rate>
        </plugin>
        
        <plugin name="GstCameraPlugin"
            filename="GstCameraPlugin">
          <udp_host>127.0.0.1</udp_host>
          <udp_port>5600</udp_port>
          <use_basic_pipeline>true</use_basic_pipeline>
          <use_cuda>false</use_cuda>
        </plugin>

      </sensor>

Version
ros2

Platform
[ x] All
[ ] AntennaTracker
[ ] Copter
[ ] Plane
[ ] Rover
[ ] Submarine

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

1 participant