GithubHelp home page GithubHelp logo

ODE 0.13 Ubuntu 16.04 about grsim HOT 18 CLOSED

robocup-ssl avatar robocup-ssl commented on August 15, 2024 1
ODE 0.13 Ubuntu 16.04

from grsim.

Comments (18)

 avatar commented on August 15, 2024 3

It seems that the problem is like this:
https://stackoverflow.com/questions/13489940/stupid-bug-with-fscanf-comma-instead-of-point
I solved the problem setting the following environment variables before executing grsim:
$ export LANG=en_US.UTF-8
$ export LC_CTYPE=en_US.UTF-8
$ export LC_ALL=en_US.UTF-8

from grsim.

jellezult avatar jellezult commented on August 15, 2024 2

Many of our team had this problem. Eventually it turned out to be because their Ubuntu was configured for the dutch format, where the comma is used as a decimal. The grsim xml uses dots as decimal, so there it probably goes wrong when ODE reads these. So make sure your system uses dots as decimal.

from grsim.

bermeom avatar bermeom commented on August 15, 2024 1

Yes, the first time grSim was working, but later emerge this problem, and I thought that problem was GCC or Operative system (Ubuntu 16.04), then I tested with Ubuntu 14.04 but was same.

from grsim.

Anamaria11 avatar Anamaria11 commented on August 15, 2024 1

@mahi97 Hello,
Possibly I have a solution. I think there are issues with this vartypes file, because:
I deleted vartypes and I have reinstalled it and I had this error:
[ 41%] Building CXX object CMakeFiles/vartypes.dir/vartypes/gui/moc_VarItem.o In file included from /tmp/vartypes/./vartypes/VarTypesFactory.h:37:0, from /tmp/vartypes/./vartypes/VarTypesInstance.h:17, from /tmp/vartypes/./vartypes/VarTypes.h:42, from /tmp/vartypes/build/vartypes/gui/../../../vartypes/gui/VarItem.h:25, from /tmp/vartypes/build/vartypes/gui/moc_VarItem.cxx:9: /tmp/vartypes/./vartypes/primitives/VarAny.h:27:45: fatal error: boost/archive/binary_iarchive.hpp: No existe el archivo o el directorio compilation terminated. CMakeFiles/vartypes.dir/build.make:444: fallo en las instrucciones para el objetivo 'CMakeFiles/vartypes.dir/vartypes/gui/moc_VarItem.o' make[2]: *** [CMakeFiles/vartypes.dir/vartypes/gui/moc_VarItem.o] Error 1 CMakeFiles/Makefile2:67: fallo en las instrucciones para el objetivo 'CMakeFiles/vartypes.dir/all' make[1]: *** [CMakeFiles/vartypes.dir/all] Error 2 Makefile:127: fallo en las instrucciones para el objetivo 'all' make: *** [all] Error 2
I have had to install vartypes from google like this:

from grsim.

mahi97 avatar mahi97 commented on August 15, 2024

Are you sure that you'r using ODE with double precision ?

from grsim.

pabloreyesrobles avatar pabloreyesrobles commented on August 15, 2024

I'm having the same issue. I did "./configure --enable-double-precision --with-trimesh=opcode --enable-new-trimesh --enable-shared -enable-release" before installing, as I saw in other threads assuming that will solve the problem, but I'm still getting the error.
I have Ubuntu 16.04 and recently installed ODE 0.13.

from grsim.

mahi97 avatar mahi97 commented on August 15, 2024

As I personally tested grSim only on Ubuntu 14.04 and macOS i'm not sure about it, but is seems, as it's happened for the second time, that config files (~.xml) which made by vartypes from the first time cause this error. maybe because language setting or any other related settings.
I will test grSim on 16.04 ASAP.

from grsim.

mahi97 avatar mahi97 commented on August 15, 2024

I test it on 16.04 lately and i hadn't any problem, can you share your *.xml files here ?

from grsim.

Anamaria11 avatar Anamaria11 commented on August 15, 2024

Hola,
What .xml files you need? I dont see .xml files in my grSim folder

from grsim.

pabloreyesrobles avatar pabloreyesrobles commented on August 15, 2024

@mahi97 I erased the .grsim.xml file on home folder, and I was able to run the simulator again, but got this:

XML Parsing error inside file '/home/pablo/.grsim.xml'.
Error: File not found
At line 0, column 0.

I also got this the first time I ran the the simulator after installed it but I think wasn't important, what could it be? Is it our problem? Sharing my .xml by the way.

grsim.xml.zip

from grsim.

Anamaria11 avatar Anamaria11 commented on August 15, 2024

Error is the second time that you run grsim. My .xml file:

.grsim.xml.zip

from grsim.

pabloreyesrobles avatar pabloreyesrobles commented on August 15, 2024

@Anamaria11 It worked for me! Thank you a lot. I'm fighting with the simulator right now but I have no issues now running it.

from grsim.

mahi97 avatar mahi97 commented on August 15, 2024

Sorry for late response i was too busy about IranOpen.
I think any error related to xml files can only came from vartypes xml file, but grSim currently work with vartypes 0.8 and vartypes from google code is version 0.7 so I think change form version 0.7 to 0.8 may cause this issue. but I never get this error though so i still thinking that the problem is the way that vartypes save and load data form xml files.

from grsim.

bermeom avatar bermeom commented on August 15, 2024

I solved this problem using a Docker container (it is easy if you have any problem it just restart container) look my repository: https://github.com/bermeom/grSim-docker or https://hub.docker.com/r/bermeom/grsim/

from grsim.

renatoosousa avatar renatoosousa commented on August 15, 2024

thanks @Anamaria11, it work for me too

from grsim.

 avatar commented on August 15, 2024

(Ubuntu 18.04 LTS and 16.04 LTS) I compiled and installed ODE with the "--enable-double-precision" flag but I got the same error, then, I tried to apply the @Anamaria11 's solution (installing vartypes 0.7) but I couldn't because of problems with c++11, but I found that, if I close grSim, open ~/.grsim.xml and change all the dots by commas (except by "?xml version="1.0" encoding="utf-8"?" and "VarString name="Vision multicast address" 224.5.23.2 /VarString"), it works. But I have to do that every time I want to open grSim.

from grsim.

renatoosousa avatar renatoosousa commented on August 15, 2024

@edgarcamilocamacho This worked for me too.

from grsim.

mahi97 avatar mahi97 commented on August 15, 2024

Please test this PR #84.
I Hope this fixes the issue.

from grsim.

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.