Loading...
Searching...
No Matches

uwb-core uwb module configurations taken from decawave-uwb-core/hw/drivers/uwb/syscfg.yml More...

Detailed Description

uwb-core uwb module configurations taken from decawave-uwb-core/hw/drivers/uwb/syscfg.yml

Author
Francisco Molina franc.nosp@m.ois-.nosp@m.xavie.nosp@m.r.mo.nosp@m.lina@.nosp@m.inri.nosp@m.a.fr

Definition in file syscfg_uwb.h.

Go to the source code of this file.

Macros

#define MYNEWT_VAL_UWB_DEV_TASK_PRIO   (THREAD_PRIORITY_MAIN - 5)
 Interrupt task priority for instance 0.
 
#define MYNEWT_VAL_UWB_DEV_TASK_STACK_SZ   (1024)
 Size of interrupt task stack.
 
#define MYNEWT_VAL_UWB_RX_BUFFER_SIZE   (1024)
 Size of the rx buffer in the uwb_dev.
 
#define MYNEWT_VAL_UWB_PKG_INIT_LOG   (0)
 Enable init messages showing each package has been initialised.
 
#define MYNEWT_VAL_UWB_DEV_RXDIAG_MAXLEN   (20)
 Maximum size of rxdiag structure.
 
#define MYNEWT_VAL_UWB_DEVICE_0   (1)
 UWB_0 Device Enable.
 
#define MYNEWT_VAL_UWB_DEVICE_MAX   (3)
 Max number of UWB_DEVICES allowed in system.
 
#define MYNEWT_VAL_UWB_STS_TS_MATCH_THRESHOLD   (30)
 If ipatov and sts timestamps differ by more than this value they are considered invalid.
 
#define MYNEWT_VAL_LOCAL_COORDINATE_X   (((float)0.0f))
 Default Anchor X Coordinate.
 
#define MYNEWT_VAL_LOCAL_COORDINATE_Y   (((float)0.0f))
 Default Anchor Y Coordinate.
 
#define MYNEWT_VAL_LOCAL_COORDINATE_Z   (((float)0.0f))
 Default Anchor Z Coordinate.
 
#define MYNEWT_VAL_RANGE_VARIANCE   (((float)5.4444e-04))
 Range Measurement Variance.
 
#define MYNEWT_VAL_AZIMUTH_VARIANCE   (((float)2.91e-2))
 Azimuth Measurement Variance.
 
#define MYNEWT_VAL_OS_LATENCY   (((uint32_t)800))
 OS Latency Guardband (usec)
 
#define MYNEWT_VAL_PANID   (((const uint16_t)0xdeca))
 Default Pan ID.
 

Macro Definition Documentation

◆ MYNEWT_VAL_AZIMUTH_VARIANCE

#define MYNEWT_VAL_AZIMUTH_VARIANCE   (((float)2.91e-2))

Azimuth Measurement Variance.

Definition at line 123 of file syscfg_uwb.h.

◆ MYNEWT_VAL_LOCAL_COORDINATE_X

#define MYNEWT_VAL_LOCAL_COORDINATE_X   (((float)0.0f))

Default Anchor X Coordinate.

Definition at line 95 of file syscfg_uwb.h.

◆ MYNEWT_VAL_LOCAL_COORDINATE_Y

#define MYNEWT_VAL_LOCAL_COORDINATE_Y   (((float)0.0f))

Default Anchor Y Coordinate.

Definition at line 102 of file syscfg_uwb.h.

◆ MYNEWT_VAL_LOCAL_COORDINATE_Z

#define MYNEWT_VAL_LOCAL_COORDINATE_Z   (((float)0.0f))

Default Anchor Z Coordinate.

Definition at line 109 of file syscfg_uwb.h.

◆ MYNEWT_VAL_OS_LATENCY

#define MYNEWT_VAL_OS_LATENCY   (((uint32_t)800))

OS Latency Guardband (usec)

Definition at line 130 of file syscfg_uwb.h.

◆ MYNEWT_VAL_PANID

#define MYNEWT_VAL_PANID   (((const uint16_t)0xdeca))

Default Pan ID.

Definition at line 137 of file syscfg_uwb.h.

◆ MYNEWT_VAL_RANGE_VARIANCE

#define MYNEWT_VAL_RANGE_VARIANCE   (((float)5.4444e-04))

Range Measurement Variance.

Definition at line 116 of file syscfg_uwb.h.

◆ MYNEWT_VAL_UWB_DEV_RXDIAG_MAXLEN

#define MYNEWT_VAL_UWB_DEV_RXDIAG_MAXLEN   (20)

Maximum size of rxdiag structure.

Definition at line 60 of file syscfg_uwb.h.

◆ MYNEWT_VAL_UWB_DEV_TASK_PRIO

#define MYNEWT_VAL_UWB_DEV_TASK_PRIO   (THREAD_PRIORITY_MAIN - 5)

Interrupt task priority for instance 0.

Definition at line 32 of file syscfg_uwb.h.

◆ MYNEWT_VAL_UWB_DEV_TASK_STACK_SZ

#define MYNEWT_VAL_UWB_DEV_TASK_STACK_SZ   (1024)

Size of interrupt task stack.

Definition at line 39 of file syscfg_uwb.h.

◆ MYNEWT_VAL_UWB_DEVICE_0

#define MYNEWT_VAL_UWB_DEVICE_0   (1)

UWB_0 Device Enable.

BSP uses this to enable the specific uwb device

Note
in uwb-core you need to tell exactly how many uwb-device there are, ideally thus would be done different

Definition at line 70 of file syscfg_uwb.h.

◆ MYNEWT_VAL_UWB_DEVICE_MAX

#define MYNEWT_VAL_UWB_DEVICE_MAX   (3)

Max number of UWB_DEVICES allowed in system.

Note
uwb-core uses arrays to keep track of devices, currently se use linked list, this is temporary...

Definition at line 80 of file syscfg_uwb.h.

◆ MYNEWT_VAL_UWB_PKG_INIT_LOG

#define MYNEWT_VAL_UWB_PKG_INIT_LOG   (0)

Enable init messages showing each package has been initialised.

Definition at line 53 of file syscfg_uwb.h.

◆ MYNEWT_VAL_UWB_RX_BUFFER_SIZE

#define MYNEWT_VAL_UWB_RX_BUFFER_SIZE   (1024)

Size of the rx buffer in the uwb_dev.

Definition at line 46 of file syscfg_uwb.h.

◆ MYNEWT_VAL_UWB_STS_TS_MATCH_THRESHOLD

#define MYNEWT_VAL_UWB_STS_TS_MATCH_THRESHOLD   (30)

If ipatov and sts timestamps differ by more than this value they are considered invalid.

Definition at line 88 of file syscfg_uwb.h.