Menu

error in running trilearn base sources 3.3

Help
duan pk
2008-09-30
2012-10-16
  • duan pk

    duan pk - 2008-09-30

    my system:

    ubuntu 8.04
    rcssbase-12.1.2
    rcssserver-12.1.4
    rcssmonitor-12.1.0

    trilearn_base_sources-3.3

    i start the server and the monitor successfully,but when i start the team:
    root@dpk-laptop:/home/trilearn_base_sources-3.3# sh start.sh


    • UvA_Trilearn 2003 - University of Amsterdam, The Netherlands *
    • Base code version *
    • Created by: Jelle Kok *
    • Research Coordinator: Nikos Vlassis *
    • Team Coordinator: Frans Groen *
    • Copyright 2000-2001. Jelle Kok and Remco de Boer *
    • Copyright 2001-2002. Jelle Kok *
    • Copyright 2002-2003. Jelle Kok *
    • All rights reserved. *

    start.sh: 55: Syntax error: "(" unexpected (expecting "fi")
    root@dpk-laptop:/home/trilearn_base_sources-3.3#

    why??

     
    • Amin forghanian

      Amin forghanian - 2008-11-06

      I have this problem too .
      help please .

       
      • Zhang zhenfang

        Zhang zhenfang - 2008-11-08

        read this.
        http://sourceforge.net/forum/forum.php?thread_id=2055268&forum_id=76439

        Almost all past binaries and source code are not compatible with the version 12 simulator. This problem is caused by overflow of an array that keeps heterogeneous player types. If you want to run old binaries that cannot deal with the number of player types correctly, you need to change the following parameters in ~/.rcssserver/player.conf.

        player::player_types = 7 (default : 18)
        player::pt_max = 3 (default : 1)
        player::allow_mult_default_type = true default : false)

        and this.
        https://sourceforge.net/forum/forum.php?thread_id=1962875&forum_id=76439

        If you use the UvA base code, you need to change the following value in SoccerTypes.h and compile the code again.

        old: #define MAX_HETERO_PLAYERS 7 /!< Maximum number of hetero players/

        new: #define MAX_HETERO_PLAYERS 18 /!< Maximum number of hetero players/

         
    • Diego Felix

      Diego Felix - 2008-11-08

      i have with segmentation fault
      help me please

       
  • Galih Hermawan

    Galih Hermawan - 2010-11-03

    I've got the errors too, please help.

     

Log in to post a comment.