Skip to content

not found: value mavlinkDialect #3

Open
@peteretep

Description

@peteretep

I'm trying to connect ardupilot / px4 to a custom simulator developed in Scala, and was hoping to use sbt-mavlink
I've started a demo project to try to get it up and running but I'm getting the following error.
I'm probably doing something stupid as I don't have much Scala / sbt experience yet.
Any help would be great.

Error while importing sbt project:

OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=384M; support was removed in 8.0
[info] Loading global plugins from /home/peter/.sbt/0.13/plugins
[info] Loading project definition from /home/peter/IdeaProjects/mavlink-demo-oldsbt/project
/home/peter/IdeaProjects/mavlink-demo-oldsbt/build.sbt:9: error: not found: value mavlinkDialect
mavlinkDialect := "/home/peter/IdeaProjects/mavlink-demo-oldsbt/mavlink/common.xml"
^
[error] Type error in expression

My build.sbt file looks like this:

name := "mavlink-demo-oldsbt"
version := "0.1"
scalaVersion := "2.10.6"
enablePlugins(SbtMavlink)
mavlinkDialect := baseDirectory.value / "mavlink" / "common.xml"

plugins.sbt looks like this:

addSbtPlugin("com.github.jodersky" % "sbt-mavlink" % "0.5.1")

Thanks, Peter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions