GithubHelp home page GithubHelp logo

filrocha / rosichallenge-sbai2019 Goto Github PK

View Code? Open in Web Editor NEW
17.0 17.0 10.0 396.09 MB

ROSI Challenge repository for the XIV SBAI

Home Page: https://www.sbai2019.com.br/

License: GNU General Public License v3.0

CMake 59.41% Python 40.59%

rosichallenge-sbai2019's People

Contributors

fillshad avatar filrocha avatar rosichallenge avatar wagnerbra avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rosichallenge-sbai2019's Issues

Lua runtime error when trying to simulate

Whenever I try to run the simulation related to the ROSI challenge, vrep never really establishes communication with ROS, so I'm not able to command the robot, instead I only get a runtime error (see bellow)

ROSIRuntimeError

And if I try to take a look at what's going on with Rqt_graph, no nodes seem connected:

Rqt_graphOut

I don't understand what's the issue here, since I've tried following the installation procedures countless times, and I'm positive that there's nothing wrong on that part of things, roscore is also running normally, I even checked to see if the issue was over there, so I came here as some kind of last resort, cause I just have no clue on how to make this work anymore.

Erro ao abrir o VREP

Ao abrir o VREP, ele inicializa e seus plugins começam a carregar. Porém, antes mesmo de abrir, ele fecha e uma mensagem de erro aparece no console:

linha 33: 12654 Instrução ilegal (imagem do núcleo gravada) "$dirname/$appname" "${PARAMETERS[@]}"

Gostaria de pedir ajuda para encontrar uma solução para tal problema. Obrigado pela atenção!

Kinect Depth Image Output

A imagem que o Kinect Depth tem como saída é em RGB, do que observado até este momento. Qual foi o método de conversão utilizado para passar de coordenadas X, Y, Z para um RGB?

Installation Script problem

Some issues have been found with the installation scriipt.
Some detected are:

  1. rosy_defy package compilation should be before the vrep_ros_interface - referencing its messages. Additionally, zsh should be sourced.

Find more issues...

... on the log file below:

=========================================
** ROSI CHALLENGE SIMULATOR INSTALLER **

First, tell me where is located your catkin_ws folder (example: /home/john/vrep):
/home/filipe/rosi/rosiDefy_catkin_ws

Do you use bash or zsh? (answer: bash, zsh)
zsh
Installing some support packages
We need your sudo password here:
[sudo] password for filipe:
Hit:1 http://br.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://br.archive.ubuntu.com/ubuntu bionic-updates InRelease [88,7 kB]
Ign:3 http://linux.dropbox.com/ubuntu bionic InRelease
Get:4 http://br.archive.ubuntu.com/ubuntu bionic-backports InRelease [74,6 kB]
Ign:5 http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu bionic InRelease
Get:6 http://security.ubuntu.com/ubuntu bionic-security InRelease [88,7 kB]
Get:7 http://linux.dropbox.com/ubuntu bionic Release [6.600 B]
Get:8 http://br.archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [665 kB]
Hit:10 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease
Get:11 http://br.archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [549 kB]
Get:12 http://br.archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [246 kB]
Get:13 http://br.archive.ubuntu.com/ubuntu bionic-updates/main amd64 DEP-11 Metadata [283 kB]
Get:14 http://br.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 48x48 Icons [66,7 kB]
Get:15 http://br.archive.ubuntu.com/ubuntu bionic-updates/main DEP-11 64x64 Icons [138 kB]
Get:16 http://br.archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [946 kB]
Get:17 http://ppa.launchpad.net/papirus/papirus/ubuntu bionic InRelease [15,9 kB]
Hit:18 http://packages.ros.org/ros/ubuntu bionic InRelease
Get:19 http://br.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [961 kB]
Get:20 http://security.ubuntu.com/ubuntu bionic-security/main i386 Packages [332 kB]
Err:21 http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Get:22 http://br.archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [285 kB]
Get:23 http://br.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 DEP-11 Metadata [249 kB]
Get:24 http://br.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 48x48 Icons [191 kB]
Get:25 http://br.archive.ubuntu.com/ubuntu bionic-updates/universe DEP-11 64x64 Icons [413 kB]
Get:26 http://ppa.launchpad.net/papirus/papirus/ubuntu bionic/main amd64 Packages [2.784 B]
Get:27 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [435 kB]
Get:28 http://br.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 DEP-11 Metadata [2.468 B]
Get:29 http://br.archive.ubuntu.com/ubuntu bionic-backports/universe i386 Packages [3.740 B]
Get:30 http://br.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [3.736 B]
Get:31 http://br.archive.ubuntu.com/ubuntu bionic-backports/universe amd64 DEP-11 Metadata [7.224 B]
Get:32 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [153 kB]
Get:33 http://security.ubuntu.com/ubuntu bionic-security/main amd64 DEP-11 Metadata [24,1 kB]
Get:34 http://ppa.launchpad.net/papirus/papirus/ubuntu bionic/main i386 Packages [2.784 B]
Get:35 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 48x48 Icons [10,4 kB]
Get:36 http://security.ubuntu.com/ubuntu bionic-security/main DEP-11 64x64 Icons [31,7 kB]
Get:37 http://security.ubuntu.com/ubuntu bionic-security/universe i386 Packages [563 kB]
Get:38 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [569 kB]
Get:39 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [185 kB]
Get:40 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 DEP-11 Metadata [41,2 kB]
Get:41 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 48x48 Icons [16,4 kB]
Get:42 http://security.ubuntu.com/ubuntu bionic-security/universe DEP-11 64x64 Icons [105 kB]
Get:43 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 DEP-11 Metadata [2.464 B]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Reading package lists... Done
Building dependency tree
Reading state information... Done
xsltproc is already the newest version (1.1.29-5ubuntu0.1).
python-catkin-tools is already the newest version (0.4.5-1).
ros-melodic-brics-actuator is already the newest version (0.7.0-0bionic.20190601.005252).
ros-melodic-tf2-sensor-msgs is already the newest version (0.6.5-0bionic.20190601.020521).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
mendeleydesktop : Depends: gconf2
ros-melodic-joy : Depends: joystick but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Downloading V-REP from Coppelia Robotics server.
--2019-06-26 20:00:50-- http://coppeliarobotics.com/files/V-REP_PRO_EDU_V3_6_2_Ubuntu18_04.tar.xz
Resolving coppeliarobotics.com (coppeliarobotics.com)... 79.170.91.168
Connecting to coppeliarobotics.com (coppeliarobotics.com)|79.170.91.168|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 153776696 (147M) [application/x-tar]
Saving to: ‘V-REP_PRO_EDU_V3_6_2_Ubuntu18_04.tar.xz’

V-REP_PRO_EDU_V3_6_2_Ubun 100%[==================================>] 146,65M 69,8KB/s in 19m 42s

2019-06-26 20:20:34 (127 KB/s) - ‘V-REP_PRO_EDU_V3_6_2_Ubuntu18_04.tar.xz’ saved [153776696/153776696]

Extracting V-REP to /home/filipe/.vrepTeste.
Adding some lines to /home/filipe/editorc.
Sourcing /home/filipe/.zshrc.
/home/filipe/.oh-my-zsh/oh-my-zsh.sh: line 23: autoload: command not found
/home/filipe/.oh-my-zsh/oh-my-zsh.sh: line 41: syntax error near unexpected token (' /home/filipe/.oh-my-zsh/oh-my-zsh.sh: line 41: for plugin ($plugins); do'
/opt/ros/melodic/setup.zsh: line 7: cd: -q: invalid option
cd: usage: cd [-L|[-P [-e]] [-@]] [dir]
/opt/ros/melodic/setup.zsh: line 8: emulate: command not found
/home/filipe/ros/espeleoSim_catkin_ws/devel/setup.zsh: line 7: cd: -q: invalid option
cd: usage: cd [-L|[-P [-e]] [-@]] [dir]
/home/filipe/ros/espeleoSim_catkin_ws/devel/setup.zsh: line 8: emulate: command not found
/home/filipe/ros/rosiDefy_catkin_ws/devel/setup.zsh: line 7: cd: -q: invalid option
cd: usage: cd [-L|[-P [-e]] [-@]] [dir]
/home/filipe/ros/rosiDefy_catkin_ws/devel/setup.zsh: line 8: emulate: command not found
Cloning the V-REP ROS Interface into /home/filipe/rosi/rosiDefy_catkin_ws/src/vrep_ros_interface.
Cloning into '/home/filipe/rosi/rosiDefy_catkin_ws/src/vrep_ros_interface'...
remote: Enumerating objects: 12, done.
remote: Counting objects: 100% (12/12), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 751 (delta 3), reused 7 (delta 2), pack-reused 739
Receiving objects: 100% (751/751), 3.50 MiB | 140.00 KiB/s, done.
Resolving deltas: 100% (431/431), done.
Submodule 'cmake/CoppeliaRobotics-modules' (https://github.com/CoppeliaRobotics/cmake.git) registered for path 'cmake/CoppeliaRobotics-modules'
Submodule 'external/v_repPlusPlus' (https://github.com/CoppeliaRobotics/v_repPlusPlus) registered for path 'external/v_repPlusPlus'
Submodule 'external/v_repStubsGen' (https://github.com/CoppeliaRobotics/v_repStubsGen) registered for path 'external/v_repStubsGen'
Cloning into '/home/filipe/rosi/rosiDefy_catkin_ws/src/vrep_ros_interface/cmake/CoppeliaRobotics-modules'...
remote: Enumerating objects: 6, done.
remote: Total 6 (delta 0), reused 0 (delta 0), pack-reused 6
Cloning into '/home/filipe/rosi/rosiDefy_catkin_ws/src/vrep_ros_interface/external/v_repPlusPlus'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 73 (delta 0), reused 1 (delta 0), pack-reused 70
Cloning into '/home/filipe/rosi/rosiDefy_catkin_ws/src/vrep_ros_interface/external/v_repStubsGen'...
remote: Enumerating objects: 592, done.
remote: Total 592 (delta 0), reused 0 (delta 0), pack-reused 592
Receiving objects: 100% (592/592), 108.44 KiB | 341.00 KiB/s, done.
Resolving deltas: 100% (370/370), done.
Submodule path 'cmake/CoppeliaRobotics-modules': checked out 'b08cf17f571107035207eab8e426c844c0db0dfd'
Submodule path 'external/v_repPlusPlus': checked out '2ce776eb718549f9389027c305bc12124601df4d'
Submodule path 'external/v_repStubsGen': checked out '748f6225a7d829e53f66c1b1fe6dddc4939b46b3'
Submodule 'external/pycpp' (https://github.com/fferri/pycpp.git) registered for path 'external/v_repStubsGen/external/pycpp'
Cloning into '/home/filipe/rosi/rosiDefy_catkin_ws/src/vrep_ros_interface/external/v_repStubsGen/external/pycpp'...
remote: Enumerating objects: 185, done.
remote: Total 185 (delta 0), reused 0 (delta 0), pack-reused 185
Receiving objects: 100% (185/185), 25.47 KiB | 5.09 MiB/s, done.
Resolving deltas: 100% (101/101), done.
Submodule path 'external/v_repStubsGen/external/pycpp': checked out 'c5ec1cf71c303d1115342cc18f74b8902b0f0c8e'
Adding custom ROSI simulator messages to vrep_ros_interface files.
Cleaning and Re-compiling the ROS workspace
Select 'YES' when asked if you want to remove catkin_ws directories.
[clean] Error: The current or desired workspace could not be determined. Please run catkin clean from within a catkin workspace or specify the workspace explicitly with the --workspace option.

Profile: default
Extending: [env] /home/filipe/ros/rosiDefy_catkin_ws/devel:/opt/ros/melodic
Workspace: /home/filipe/rosi/rosiDefy_catkin_ws

Build Space: [exists] /home/filipe/rosi/rosiDefy_catkin_ws/build
Devel Space: [exists] /home/filipe/rosi/rosiDefy_catkin_ws/devel
Install Space: [unused] /home/filipe/rosi/rosiDefy_catkin_ws/install
Log Space: [missing] /home/filipe/rosi/rosiDefy_catkin_ws/logs
Source Space: [exists] /home/filipe/rosi/rosiDefy_catkin_ws/src
DESTDIR: [unused] None

Devel Space Layout: linked
Install Space Layout: None

Additional CMake Args: None
Additional Make Args: None
Additional catkin Make Args: None
Internal Make Job Server: True
Cache Job Environments: False

Whitelisted Packages: None
Blacklisted Packages: None

Workspace configuration appears valid.

NOTE: Forcing CMake to run for each package.

[build] Found '1' packages in 0.0 seconds.
[build] Updating package table.
Starting >>> catkin_tools_prebuild
Finished <<< catkin_tools_prebuild [ 1.8 seconds ]
Starting >>> vrep_ros_interface


Errors << vrep_ros_interface:make /home/filipe/rosi/rosiDefy_catkin_ws/logs/vrep_ros_interface/build.make.000.log
In file included from /home/filipe/rosi/rosiDefy_catkin_ws/build/vrep_ros_interface/generated/ros_srv_io.cpp:1:0:
/home/filipe/rosi/rosiDefy_catkin_ws/build/vrep_ros_interface/generated/ros_msg_io.h:48:10: fatal error: rosi_defy/ManipulatorJoints.h: No such file or directory
#include <rosi_defy/ManipulatorJoints.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from /home/filipe/rosi/rosiDefy_catkin_ws/build/vrep_ros_interface/generated/ros_msg_io.cpp:1:0:
/home/filipe/rosi/rosiDefy_catkin_ws/build/vrep_ros_interface/generated/ros_msg_io.h:48:10: fatal error: rosi_defy/ManipulatorJoints.h: No such file or directory
#include <rosi_defy/ManipulatorJoints.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/v_repExtRosInterface.dir/generated/ros_srv_io.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/v_repExtRosInterface.dir/generated/ros_msg_io.cpp.o] Error 1
In file included from /home/filipe/rosi/rosiDefy_catkin_ws/src/vrep_ros_interface/include/vrep_ros_interface.h:76:0,
from /home/filipe/rosi/rosiDefy_catkin_ws/src/vrep_ros_interface/src/vrep_ros_interface.cpp:1:
/home/filipe/rosi/rosiDefy_catkin_ws/build/vrep_ros_interface/generated/ros_msg_io.h:48:10: fatal error: rosi_defy/ManipulatorJoints.h: No such file or directory
#include <rosi_defy/ManipulatorJoints.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/v_repExtRosInterface.dir/src/vrep_ros_interface.cpp.o] Error 1
make[1]: *** [CMakeFiles/v_repExtRosInterface.dir/all] Error 2
make: *** [all] Error 2
cd /home/filipe/rosi/rosiDefy_catkin_ws/build/vrep_ros_interface; catkin build --get-env vrep_ros_interface | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd -
....................................................................................................
Failed << vrep_ros_interface:make [ Exited with code 2 ]
Failed <<< vrep_ros_interface [ 8.2 seconds ]
[build] Summary: 1 of 2 packages succeeded.
[build] Ignored: None.
[build] Warnings: None.
[build] Abandoned: None.
[build] Failed: 1 packages failed.
[build] Runtime: 10.1 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them.
/home/filipe/.oh-my-zsh/oh-my-zsh.sh: line 23: autoload: command not found
/home/filipe/.oh-my-zsh/oh-my-zsh.sh: line 41: syntax error near unexpected token (' /home/filipe/.oh-my-zsh/oh-my-zsh.sh: line 41: for plugin ($plugins); do'
/opt/ros/melodic/setup.zsh: line 7: cd: -q: invalid option
cd: usage: cd [-L|[-P [-e]] [-@]] [dir]
/opt/ros/melodic/setup.zsh: line 8: emulate: command not found
/home/filipe/ros/espeleoSim_catkin_ws/devel/setup.zsh: line 7: cd: -q: invalid option
cd: usage: cd [-L|[-P [-e]] [-@]] [dir]
/home/filipe/ros/espeleoSim_catkin_ws/devel/setup.zsh: line 8: emulate: command not found
/home/filipe/ros/rosiDefy_catkin_ws/devel/setup.zsh: line 7: cd: -q: invalid option
cd: usage: cd [-L|[-P [-e]] [-@]] [dir]
/home/filipe/ros/rosiDefy_catkin_ws/devel/setup.zsh: line 8: emulate: command not found
Copying vrep_ros_interface library to VREP_ROOT.
cp: cannot stat '/home/filipe/rosi/rosiDefy_catkin_ws/devel/lib/libv_repExtRosInterface.so': No such file or directory
Copying ROSI model to V-REP robot models
cp: cannot stat '/home/filipe/rosi/rosiDefy_catkin_ws/src/rosi_defy/vrep_content/rosi_model.ttm': No such file or directory
Sourcing /home/filipe/.zshrc.
/home/filipe/.oh-my-zsh/oh-my-zsh.sh: line 23: autoload: command not found
/home/filipe/.oh-my-zsh/oh-my-zsh.sh: line 41: syntax error near unexpected token (' /home/filipe/.oh-my-zsh/oh-my-zsh.sh: line 41: for plugin ($plugins); do'
/opt/ros/melodic/setup.zsh: line 7: cd: -q: invalid option
cd: usage: cd [-L|[-P [-e]] [-@]] [dir]
/opt/ros/melodic/setup.zsh: line 8: emulate: command not found
/home/filipe/ros/espeleoSim_catkin_ws/devel/setup.zsh: line 7: cd: -q: invalid option
cd: usage: cd [-L|[-P [-e]] [-@]] [dir]
/home/filipe/ros/espeleoSim_catkin_ws/devel/setup.zsh: line 8: emulate: command not found
/home/filipe/ros/rosiDefy_catkin_ws/devel/setup.zsh: line 7: cd: -q: invalid option
cd: usage: cd [-L|[-P [-e]] [-@]] [dir]
/home/filipe/ros/rosiDefy_catkin_ws/devel/setup.zsh: line 8: emulate: command not found

Finished installing and configuring V-REP and ROS interface.
Now you can run V-REP in terminal using the command vrep.
Check if everything is OK since this code does not check its actions.

filipe@filipePC  ~/ros/rosiDefy_catkin_ws/src/rosi_defy/resources   master 

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.