Module: Crubyflie::CRTPConstants

Included in:
Crazyflie, Log, Param, TOC
Defined in:
lib/crubyflie/driver/crtp_packet.rb

Overview

Constants related to CRTP Packets

Constant Summary collapse

CRTP_PORTS =

The ports for the different facilities

{
    :console => 0x00,
    :param => 0x02,
    :commander => 0x03,
    :logging => 0x05,
    :debugdriver => 0x0E,
    :linkctrl => 0x0F,
    :all => 0xFF
}
WAIT_PACKET_TIMEOUT =

How many seconds until we give up waiting for a packet to appear in a queue

2
TOC_CHANNEL =

TOC channel

0
LOG_SETTINGS_CHANNEL =

Channel to retrieve Log settings

1
LOG_DATA_CHANNEL =

Channel to retrieve Log data

2
PARAM_READ_CHANNEL =

Channel to read parameters

1
PARAM_WRITE_CHANNEL =

Channel to write parameters

2
CMD_TOC_ELEMENT =

Command to request a TOC element

0
CMD_TOC_INFO =

Command to request TOC information

1
CMD_CREATE_BLOCK =

Create block command

0
CMD_APPEND_BLOCK =

Append block command

1
CMD_DELETE_BLOCK =

Delete block command

2
CMD_START_LOGGING =

Start logging command

3
CMD_STOP_LOGGING =

Stop logging command

4
CMD_RESET_LOGGING =

Reset logging command

5