Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Dialects](https://github.com/bluenviron/gomavlib/actions/workflows/dialects.yml/badge.svg?branch=main)](https://github.com/bluenviron/gomavlib/actions/workflows/dialects.yml?query=branch%3Amain)
[![Go Report Card](https://goreportcard.com/badge/github.com/bluenviron/gomavlib)](https://goreportcard.com/report/github.com/bluenviron/gomavlib)
[![CodeCov](https://codecov.io/gh/bluenviron/gomavlib/branch/main/graph/badge.svg)](https://app.codecov.io/gh/bluenviron/gomavlib/tree/main)
[![PkgGoDev](https://pkg.go.dev/badge/github.com/bluenviron/gomavlib/v3)](https://pkg.go.dev/github.com/bluenviron/gomavlib/v3#pkg-index)
[![PkgGoDev](https://pkg.go.dev/badge/github.com/bluenviron/gomavlib/v4)](https://pkg.go.dev/github.com/bluenviron/gomavlib/v4#pkg-index)

gomavlib is a library that implements the Mavlink protocol (2.0 and 1.0) in the Go programming language. It can interact with Mavlink-capable devices through a serial port, UDP, TCP or a custom transport, and it can be used to power UGVs, UAVs, ground stations, monitoring systems or routers.

Expand Down Expand Up @@ -82,14 +82,14 @@ Features:

## API Documentation

[Click to open the API Documentation](https://pkg.go.dev/github.com/bluenviron/gomavlib/v3#pkg-index)
[Click to open the API Documentation](https://pkg.go.dev/github.com/bluenviron/gomavlib/v4#pkg-index)

## Dialect generation

Standard dialects are provided in the `pkg/dialects/` folder, but it's also possible to use custom dialects, that can be converted into Go files by running:

```
go install github.com/bluenviron/gomavlib/v3/cmd/dialect-import@latest
go install github.com/bluenviron/gomavlib/v4/cmd/dialect-import@latest
dialect-import my_dialect.xml
```

Expand Down
6 changes: 3 additions & 3 deletions channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"fmt"
"io"

"github.com/bluenviron/gomavlib/v3/pkg/frame"
"github.com/bluenviron/gomavlib/v3/pkg/message"
"github.com/bluenviron/gomavlib/v3/pkg/streamwriter"
"github.com/bluenviron/gomavlib/v4/pkg/frame"
"github.com/bluenviron/gomavlib/v4/pkg/message"
"github.com/bluenviron/gomavlib/v4/pkg/streamwriter"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion cmd/dialect-import/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/alecthomas/kong"

"github.com/bluenviron/gomavlib/v3/pkg/conversion"
"github.com/bluenviron/gomavlib/v4/pkg/conversion"
)

var cli struct {
Expand Down
4 changes: 2 additions & 2 deletions cmd/dialects-gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import (

"github.com/stretchr/testify/require"

"github.com/bluenviron/gomavlib/v3/pkg/dialects/common"
"github.com/bluenviron/gomavlib/v4/pkg/dialects/common"
)

var casesEnum = []struct {
Expand Down Expand Up @@ -81,7 +81,7 @@ import (

"github.com/stretchr/testify/require"

"github.com/bluenviron/gomavlib/v3/pkg/dialect"
"github.com/bluenviron/gomavlib/v4/pkg/dialect"
)

func TestDialect(t *testing.T) {
Expand Down
4 changes: 1 addition & 3 deletions endpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ import (

// Endpoint is an endpoint, which provides Channels.
type Endpoint interface {
// Conf returns the configuration used to initialize the endpoint
Conf() EndpointConf

init(node *Node) error
isEndpoint()
close()
oneChannelAtAtime() bool
Expand Down
93 changes: 0 additions & 93 deletions endpoint_client.go

This file was deleted.

Loading