Project

General

Profile

Revision 999

Added by Nico Paris about 15 years ago

View differences:

branches/simulator/projects/simulator/simulator/core/gaus.h
1
/**
2
 * @file gauss.h
3
 * @author Colony Project
4
 *
5
 * @brief Generates noise.
6
 *
7
 * Uses a Gaussian curve to approximate noise
8
 * for robots in the simulator.
9
 **/
10

  
11
#ifndef __GAUSS_H__
12
#define __GAUSS_H__
13

  
14
float gauss_noise( )
15

  
16

  
17
#endif
branches/simulator/projects/simulator/simulator/core/gauss.c
11 11

  
12 12
#include <stdlib.h>
13 13
#include <math.h>
14
#include <gauss.h>
15

  
14 16
float chaos_scalar;
15 17
float gauss_noise( )
16 18
{

Also available in: Unified diff