Hi Branka,
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.
Best regards,
Michael
Am 22.06.20 um 12:09 schrieb Branka Mirchevska:
> Hello,
>
> 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?
>
> Thanks!
>
> Best,
> Branka
>
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
