Hi, I know this is an old link and things have moved to GitHub but im trying to reach as many as poss. Im trying to add variableParameters to my Dis packets using Python. Has anyone any experiance in doing this? Many thanks Spriggsy
Currently using python to decode incoming pdu's I've copied the example that shows how to get the location, then adapted this to return all other fields. eg. entityType, forceID however when trying to return the markings it only displays <bound method DataInputStream.read_byte of <DataInputStream.DataInputStream instance at 0x7534f080>> does anyone know how to decode this? many thanks Spriggsy
OK, think ive solved it. the angles are in radians. pdu.entityOrientation.psi = (pi * 90 / 180) sets the heading of my DIS aircraft to 90 degrees. im not sure the order of phi and theta. but guessing that they are pitch and roll?
Hi all. Im very thankfull for all the hard work that has been put into this. Ive created a python script that takes aircraft feed from ASDB and feeds it into DIS to give users a real air picture to work with. this is all working perfectly apart from the orientation. the options to set the orientation dont seem to make sense to me pdu.entityOrientation.psi = 0 pdu.entityOrientation.phi = 90.0 pdu.entityOrientation.theta = 0 What do these values need? are they radians/degrees? for Roll Pitch Yaw? hows...