Hello Michael, My apologies, it looks like I subscribed to the sumo-dev mailing list using this email but sent the DSRC email through a different email resulting in the bouncer message. Thanks for taking the time and providing this information. I was able to cast a SUMOVehicle object into a MSVehicle object (using a dynamic_cast ) and able to retrieve signaling information that I can add to the DSRC device module that I am working on.
Do you know if it is possible to instantiate more than one copy of the same device within a vehicle. For example, I would like to install 5 of the same DSRC device modules in one vehicle so that it outputs 5 streams of data. I have tried adding 5 copies of the devices into a vehicle inside the .rou.xml file but SUMO does not register that I want 5 copies of it instead of one. Is this even possible to do in SUMO or will I need to modify the main MSDevice file? Best, Alexis Flores On Sun, Mar 10, 2019 at 7:48 AM Michael Behrisch <[email protected]> wrote: > Hi, > you are in the right place although you should subscribe before posting > to make sure you receive all answers. Concerning your question most > information can be retrieved from the vehicle itself which is available > using the getHolder function. You may need to cast it to MSVehicle > before you can call functions like getSignals which gives you the > information needed (see src/microsim/MSVehicle.h). > > Best regards, > Michael > > Am 10.03.19 um 02:40 schrieb aflore37 aflore37: > > Hello sumo-dev group! > > > > My name is Alexis Flores, I am a student working on a project which > > involves extending SUMO. Apologies in advance if this was not the > > appropriate way of contacting the mailing list and any feedback would be > > appreciated. > > > > I am working on developing a DSRC device to attach to the vehicle class > > so that I can generate required data such as Basic Safety Messages > > (BSM), Emergency Vehicle Alerts (EVA), and Intersection Collision > > Avoidance (ICA) messages for different DSRC applications. I have created > > a basic DSRC device skeleton based on the example device found within > > the device folder. I am attempting to include information such as the > > brake light status, turn signal status, and any vehicle output that can > > be used for DSRC messages. I have looked around the source code and > > mailing list archive but can not seem to find where such information is > > located. Is that available in any of the source folders? Any > > guidance/advice will be appreciated. Thanks! > > > > > > Alexis Flores > > [email protected] <mailto:[email protected]> > > > > _______________________________________________ > > sumo-dev mailing list > > [email protected] > > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > > https://www.eclipse.org/mailman/listinfo/sumo-dev > > > > > _______________________________________________ > sumo-dev mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-dev >
_______________________________________________ sumo-dev mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-dev
