I would like to add a function to TraCIDemo11p.cc that when my vehicle enters in a specific area
It sends information such as speed, location and vehicle's id to the LSU every 0.5 second.
Using veins example I could understand the basic concept of veins, but I get an error.
My function is an empty one, such as:
void TraCIDemo11p::new_function(){
}
and in TraCIDemo11p.h I specified like:
virtual void new_function();
What is wrong with this simple code?
Why can't I make a new function to the TraCIDemo11p?
Some of the error messages were expected statement, make:*** [all] Error 2, no matching function for call to 'strcmp' and so on