You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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"
Apologies, I needed to add the line: import com.github.jodersky.mavlink.sbt.MavlinkKeys._
Still haven't managed to generate the source though, I've added the line: sourceGenerators in Compile += mavlinkGenerate.taskValue to my build.sbt file but can't see where the source is being generated.
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.
My
build.sbt
file looks like this:plugins.sbt
looks like this:Thanks, Peter
The text was updated successfully, but these errors were encountered: