Re: [sumo-user] setSignals doesn't seem to work for remotely controlled vehicle
the command uses a bit mask to allow setting multiple values
simulataneously, so setSignals("ego", 1) should activate the right
blinker (because bit 0 is set), setSignals("ego", 2) activates left and
setSignals("ego", 3) activates both.
Am 22.06.20 um 12:09 schrieb Branka Mirchevska:
> I am trying to set the blinkers for a remotely controlled vehicle, whenever
> I tell it to execute commands that are part of a trajectory that eventually
> changes lane. I am using it like this:
> left blinker: self.env.conn.vehicle.setSignals('EGO', 0)
> right blinker: self.env.conn.vehicle.setSignals('EGO', 1)
> but nothing seems to change in the gui.
> Am doing anything wrong?
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/ > _______________________________________________
> sumo-user mailing list
> [hidden email] > To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user >