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

No underwater video and ROV can not move by joystick in GAZEBO #39

Open
Shepherd-Gregory opened this issue Sep 19, 2019 · 2 comments
Open

Comments

@Shepherd-Gregory
Copy link

Shepherd-Gregory commented Sep 19, 2019

Hi~
I'm using this package to run open-source SLAM algorithms but I haven't got any underwater video except mosaics on the /image_raw window, the ROV can not move by joystick in GAZEBO either, and after I click the "play" button on GAZEBO GUI, the ROV disappears soon ...

My system env:

~ Ubuntu 16.04 64bit + ROS-Kinetic
~ 16G RAM+i5 4210U+ integrated graphics chip + xbox360 joystick (test ok)

My cmd lines:

  1. run bluerov node:
    $ roslaunch bluerov_ros_playground bluerov2_node.launch bluerov_node_device:=udp:localhost:14550
  2. Visualize video stream:
    $ roslaunch bluerov_ros_playground video.launch
    3.Run SITL and start gazebo.launch:
    $ cd ardupilot/ArsuSub
    $ sim_vehicle.py
    $ gst-launch-1.0 videotestsrc ! video/x-raw,width=640,height=480 ! videoconvert ! x264enc ! rtph264pay ! udpsink host=127.0.0.1 port=5600
    $ roslaunch bluerov_ros_playground gazebo_teleop.launch

The README.md confuses me and I would be appreciated if you can help.

@Shepherd-Gregory Shepherd-Gregory changed the title No underwater scene and ROV can not move by joystick in GAZEBO No underwater video and ROV can not move by joystick in GAZEBO Sep 19, 2019
@patrickelectric
Copy link
Owner

Hi Shepherd, sorry for not updating this repository and helping others. This repository was an initial step to create a good BlueROV2 ROS package. But since ROS, Ardupilot and Gazebo changes and breaks so much, it's not possible for me to track all necessary changes in this repository.

Right now it's not possible for me to debug and help your problem, but I can give small hints.

The video will only work if you are connecting with the real ROV, it does not work with the simulation, and it should work without problems.

The Ardupilot simulation, should work if you use the correct version of each package, but right now this is a bit hard, you'll probably need to update something in the code and debug to check what is going on.

@Shepherd-Gregory
Copy link
Author

Hey, bro~ Thanks for your previous work and prompt reply. I'll try to conduct the simulation with Ardupilot, and finally run my pkg on a real ROV. Anyway, thanks again~

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