Pf visual.cpp

From HotDec

Jump to: navigation, search

Pseudo-Code Description

Global Variables

sighandler() {

  Handle the SIGINT signal
  Close and Unlink Posix.4 Priority Message Queues

}

initNET() {

  Set up a UDP socket on port 7675
  Bind to the socket at port 7675 so no other traffic is allowed at that port

}

main() {

  Set up Posix.4 Priority Message Queues
  Assign recipient ip address of udp packets: Firelord or Baillio2 laptop (should be modified to fit individual computers)
  Block on PARTICLE_QUEUE for particle data from particle filter
  Set-up/Configure network protocols to send udp packets
  Send particle information as udp packets to ip address

}

Personal tools