GithubHelp home page GithubHelp logo

Comments (7)

mmyself avatar mmyself commented on June 3, 2024

you have at first to switch with the service to the bottom camera.

Services
Toggle AR-Drone's Camera

Calling ardrone/togglecam service with no parameters will change the active video camera stream.

look in the readme

from ardrone_autonomy.

ubuntuslave avatar ubuntuslave commented on June 3, 2024

I have the same problem. Even when toggling the service (as suggested in the documentation) the bottom camera's topics never seem to be published. I haven't looked in the source code, but there might be some bug. Have verified the camera toggle works for you? Are we doing something wrong?

Carlos

On Aug 28, 2012, at 8:42 AM, Jan [email protected] wrote:

you have at first to switch with the service to the bottom camera.

Services
Toggle AR-Drone's Camera

Calling ardrone/togglecam service with no parameters will change the active video camera stream.

look in the readme


Reply to this email directly or view it on GitHub.

from ardrone_autonomy.

devmax avatar devmax commented on June 3, 2024

I toggled the camera stream using the service, but still no stream from the bottom camera...only front camera gives a steady video stream...
Is this a bug?

from ardrone_autonomy.

mani-monaj avatar mani-monaj commented on June 3, 2024

Are you using the latest version of the code? I can confirm that the bottom camera stream works after calling the service.

[ardrone driver running]
rosservice call /ardrone/togglecam 

Setting camera channel to : 1 (output from driver)

rosrun image_view image_view image:=/ardrone/bottom/image_raw
[or]
rosrun image_view image_view image:=/ardrone/image_raw

Do you receive the "Setting camera channel to : 1" from ardrone driver?

from ardrone_autonomy.

devmax avatar devmax commented on June 3, 2024

Thank you Mani, it works well now..not sure what I did wrong earlier with mmyself's comment...
Will it be possible at some point to receive a simultaneous stream (bottom image embedded in corner of front image) ?

from ardrone_autonomy.

mani-monaj avatar mani-monaj commented on June 3, 2024

You are welcome.

Will it be possible at some point to receive a simultaneous stream (bottom image embedded in corner of front image) ?

Drone 1 with firmware 1.X supports Picture in Picture mode, but in Drone 2.0 this mode is not supported anymore.

from ardrone_autonomy.

NRS-ks avatar NRS-ks commented on June 3, 2024

I am also having the same issue. I can toggle the cams easily with the iPhone app. However, the camera does not change using "rosservice call /ardrone/togglecam". I am using the latest version of the code and I do get the messages saying "Setting camera channel to : 1" or "Setting camera channel to : 0".
I also tried changing the parameter "video_channel" so as to change the default camera view to 1, however it does not have any effect either.
Any help in this regards will be greatly appreciated.

from ardrone_autonomy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.