Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Error TraaS and getCompleteRedYellowGreenDefinition

I tried building traas with the latest changes but I get the following errors,

ant
Buildfile: /home/jmonreal/Projects/sumoMaster/tools/contributed/traas/build.xml

compile:
    [javac] Compiling 27 source files to /home/jmonreal/Projects/sumoMaster/tools/contributed/traas/build
    [javac] /home/jmonreal/Projects/sumoMaster/tools/contributed/traas/src/de/tudresden/sumo/util/SumoCommand.java:508: error: incompatible types: possible lossy conversion from double to int
    [javac] cmd.content().writeInt(stp.duration);
    [javac]                           ^
    [javac] /home/jmonreal/Projects/sumoMaster/tools/contributed/traas/src/de/tudresden/sumo/util/SumoCommand.java:510: error: cannot find symbol
    [javac] cmd.content().writeInt(stp.duration1);
    [javac]                           ^
    [javac]   symbol:   variable duration1
    [javac]   location: variable stp of type SumoTLSPhase
    [javac] /home/jmonreal/Projects/sumoMaster/tools/contributed/traas/src/de/tudresden/sumo/util/SumoCommand.java:512: error: cannot find symbol
    [javac] cmd.content().writeInt(stp.duration2);
    [javac]                           ^
    [javac]   symbol:   variable duration2
    [javac]   location: variable stp of type SumoTLSPhase
    [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
    [javac] 3 errors

BUILD FAILED
/home/jmonreal/Projects/sumoMaster/tools/contributed/traas/build.xml:14: Compile failed; see the compiler error output for details.

Am I missing something? Or what revision should I checkout? I am currently on master 1ec772d886a4435b259f3427ee5c1a12e8bd64b7


Best regards,
José

On Tue, 12 Mar 2019 at 17:51, Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
Yes. Thanks for pointing this out. It's now fixed in the repository. You can rebuild TraaS or wait until tomorrow.

regards,
Jakob

Am Di., 12. März 2019 um 16:19 Uhr schrieb Jose Monreal Bailey <jmonreal@xxxxxxxxx>:
Does this have to do with it?

TraCI
  • Function trafficlight.setCompleteRedYellowGreeenDefinition now accepts name as an optional 6th component when defining phases. Function ''trafficlight.getCompleteRedYellowGreeenDefinition now returns name as the 6th component when defining phases. Custom clients must be patched to handle this.
Is this updated in TraaS? it's not working on the version I am using: d4618041118a355586673e41e9e442ecf4025a28

On Tue, 12 Mar 2019 at 15:02, Jose Monreal Bailey <jmonreal@xxxxxxxxx> wrote:
Hey everyone,

When I execute the command getCompleteRedYellowGreenDefinition for a traffic light, I get the following error:

Error reading byte, invalid list position specified for reading: 1068

Where can I check the correct inputs for this command (Hex codes) ?


Best regards,
Jose



_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top