You must be logged in to reply to this topic.
LoRaWAN The LoRa Alliance first defined the LoRaWAN standard with the objective of creating a medium access scheme and a set of network management policies that leverage the properties of […]
Low-power wide-area network (LPWAN). These networks use low-power radio signals, such as those in the sub-1 GHz range, to send small amounts of data over a large area. LPWANs are […]
SUMO has different tools for creating and customizing road networks and traffic flows and traffic signals. In this article, we will use some of those tools available in SUMO to […]
Spring Mobility Spring mobility is nothing but making a node to move in a path similar to that of an expanded circular coil spring. From the top or bottom point […]
Mobility Models of ns-3. The default ns-3 installation will contain the following mobility models. MobilityModel Subclasses ConstantPosition ConstantVelocity ConstantAcceleration GaussMarkov Hierarchical RandomDirection2D RandomWalk2D RandomWaypoint SteadyStateRandomWaypoint Waypoint PositionAllocator Position allocators […]
Aquatic Animal Tracking: Tracking marine animals can be extremely tricky due to GPS signals not functioning well underwater[1]. Underwater acoustic communication is a technique of sending and receiving messages below […]
hi users,
please help me with this problem. i am trying to implement a new agent. i have a method that is periodically invoked to write some statistics in a file. whenever i try to print something in the text file using fprintf i get a segmentation fault. anything without the file pointer seems to work. i have the following lines in my c++ code….
void myAgent:: print_info()
{
FILE * fp;
fp = fopen(“/Documents/ns-allinone-2.31/text.txt”, “a”);
fprintf(fp, “something”) ; //////////causes segmentation fault
}
thanks
meeta
You must be logged in to reply to this topic.