Giter Site home page Giter Site logo

Vehicle in simulation about dronesimlab HOT 9 CLOSED

orig74 avatar orig74 commented on July 19, 2024
Vehicle in simulation

from dronesimlab.

Comments (9)

orig74 avatar orig74 commented on July 19, 2024

copy the existing demo px4gazebo.
You will need to add an internal tmux screen which will represent the new vehicle.
the basic structure of the demo is a tmux screen which contains internal running tmux screens for each vehicle and one for the unreal engine.
You should modify the file runtmux_full_docker.sh this file is running the main tmux.
in line 27 it runs the script run_tmux_ros_px4.sh which runs the internal tmux of one vehicle.
add after line 27 something like:

tmux new-window -n my_vehicle
tmux send-keys "source /DroneLab/scripts/run_tmux_my_vehicle.sh" ENTER

the run_tmux_my_vehicle.sh file is the script you need to build in order to make your vehicle work.

another importent thing is to use my version of PX4 which included in the dronesimlab. It is a modified version which sends unreal engine the position of the vehicle.

from dronesimlab.

PujieXin avatar PujieXin commented on July 19, 2024

downloading baked games...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 48 100 48 0 0 39 0 0:00:01 0:00:01 --:--:-- 39
building docker images...
zipping unreal engine might take awhile...
building image ros_image_indigo
Error: Error: failed bulding docker image ros_image_indigo please look at the log file /tmp/dbuild-*.log

Sorry,here is another question, I was wondering if you could tell me how to slove this problem.Thank you in advance.

from dronesimlab.

PujieXin avatar PujieXin commented on July 19, 2024

I have solved the previous problem. Now I have another problem.
curl: (6) Could not resolve host: studweb.cosc.canterbury.ac.nz
Traceback (most recent call last):
File "./build.py", line 49, in
md5=os.popen('curl '+games_path+game_name+'.md5').read().split()[0]
IndexError: list index out of range

It seems that the website is unavailable. How could I solve this problem? Could you please tell me the new website or the method to solve this problem.
Thank you!

from dronesimlab.

orig74 avatar orig74 commented on July 19, 2024

can you check that you can browse:
https://studweb.cosc.canterbury.ac.nz/ ?
it seems online when I tested it.

from dronesimlab.

PujieXin avatar PujieXin commented on July 19, 2024

When I open this page, it shows that:

StudWeb

Welcome to StudWeb, the CSSE student web server. For pages to appear here, place them in your public_html directory. If your usecode is abc987, then files placed in ~abc987/public_html directory will appear on the web here: http://studweb.cosc.canterbury.ac.nz/~abc987/

If you get "permission denied" errors, make sure the files are world-readable: the files themselves should have world-read permissions, while the public_html and home directories must have at least world-execute permissions.

Is this the right status?

from dronesimlab.

orig74 avatar orig74 commented on July 19, 2024

yes, it is where I put the packed games.
try the build script again maybe the site was temporary down

from dronesimlab.

PujieXin avatar PujieXin commented on July 19, 2024

Thank you! I will try it asap!

from dronesimlab.

PujieXin avatar PujieXin commented on July 19, 2024

Some issues when I run the program.Have you ever met these issues before?
selection_003
selection_002
selection_001

from dronesimlab.

orig74 avatar orig74 commented on July 19, 2024

Please pull the latest version and run the build.py again. As it turned out there were some updates in some third parties libraries regarding some parts of the simulation that needed to be updated. Let me know how it goes

from dronesimlab.

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.