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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,551 changes: 1,551 additions & 0 deletions COPYING

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,7 @@ ctest --test-dir build

`launch/goby/alpha` runs the alpha mission against Goby's basic frontseat simulator, with OpenCPN as a chart display: see its [README](launch/goby/alpha/README.md).


## License

The libraries (`src/lib`) are LGPL 2.1 or later, and the binaries and tests (`src/bin`, `src/test`) are GPL 2 or later. `src/lib/helm/helm.cpp`, which ports pHelmIvP's logic, is GPL 3 or later, as is MOOS-IvP, whose helm libraries IvPico links. See [COPYING](COPYING).
17 changes: 17 additions & 0 deletions src/bin/goby/groups.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Copyright 2026:
// GobySoft, LLC
//
// This file is part of IvPico.
//
// IvPico is free software: you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the Free Software
// Foundation, either version 2 of the License, or (at your option) any later
// version.
//
// IvPico is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with IvPico. If not, see <https://www.gnu.org/licenses/>.

#ifndef IVPICO_GOBY_GROUPS_H
#define IVPICO_GOBY_GROUPS_H

Expand Down
17 changes: 17 additions & 0 deletions src/bin/goby/helm_ivp/helm_ivp.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Copyright 2026:
// GobySoft, LLC
//
// This file is part of IvPico.
//
// IvPico is free software: you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the Free Software
// Foundation, either version 2 of the License, or (at your option) any later
// version.
//
// IvPico is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with IvPico. If not, see <https://www.gnu.org/licenses/>.

#include <goby/middleware/marshalling/protobuf.h>

#include <cmath>
Expand Down
17 changes: 17 additions & 0 deletions src/bin/goby/helm_ivp/helm_ivp_config.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Copyright 2026:
// GobySoft, LLC
//
// This file is part of IvPico.
//
// IvPico is free software: you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the Free Software
// Foundation, either version 2 of the License, or (at your option) any later
// version.
//
// IvPico is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with IvPico. If not, see <https://www.gnu.org/licenses/>.

syntax = "proto2";

import "goby/protobuf/option_extensions.proto";
Expand Down
17 changes: 17 additions & 0 deletions src/bin/goby/moos_gateway/moos_gateway.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Copyright 2026:
// GobySoft, LLC
//
// This file is part of IvPico.
//
// IvPico is free software: you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the Free Software
// Foundation, either version 2 of the License, or (at your option) any later
// version.
//
// IvPico is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with IvPico. If not, see <https://www.gnu.org/licenses/>.

// goby_moos_gateway plugin that gives a MOOS community what pHelmIvP and its
// navigation would post (NAV_*, the helm's postings, IVPHELM_*), so MOOS-IvP
// tools such as pNodeReporter and pMarineViewer work with goby_helm_ivp.
Expand Down
17 changes: 17 additions & 0 deletions src/bin/goby/moos_gateway/moos_gateway_config.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Copyright 2026:
// GobySoft, LLC
//
// This file is part of IvPico.
//
// IvPico is free software: you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the Free Software
// Foundation, either version 2 of the License, or (at your option) any later
// version.
//
// IvPico is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with IvPico. If not, see <https://www.gnu.org/licenses/>.

syntax = "proto2";

import "goby/moos/protobuf/moos_gateway_config.proto";
Expand Down
17 changes: 17 additions & 0 deletions src/lib/helm/conversions.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Copyright 2026:
// GobySoft, LLC
//
// This file is part of IvPico.
//
// IvPico is free software: you can redistribute it and/or modify it under the
// terms of the GNU Lesser General Public License as published by the Free Software
// Foundation, either version 2.1 of the License, or (at your option) any later
// version.
//
// IvPico is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with IvPico. If not, see <https://www.gnu.org/licenses/>.

#include "conversions.h"

#include <cmath>
Expand Down
17 changes: 17 additions & 0 deletions src/lib/helm/conversions.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Copyright 2026:
// GobySoft, LLC
//
// This file is part of IvPico.
//
// IvPico is free software: you can redistribute it and/or modify it under the
// terms of the GNU Lesser General Public License as published by the Free Software
// Foundation, either version 2.1 of the License, or (at your option) any later
// version.
//
// IvPico is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with IvPico. If not, see <https://www.gnu.org/licenses/>.

#ifndef IVPICO_HELM_CONVERSIONS_H
#define IVPICO_HELM_CONVERSIONS_H

Expand Down
19 changes: 19 additions & 0 deletions src/lib/helm/helm.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
// Copyright 2026:
// GobySoft, LLC
// Ports logic from MOOS-IvP's pHelmIvP (HelmIvP.cpp), by Michael Benjamin,
// Dept of Mechanical Engineering, MIT.
//
// This file is part of IvPico.
//
// IvPico is free software: you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the Free Software
// Foundation, either version 3 of the License, or (at your option) any later
// version.
//
// IvPico is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with IvPico. If not, see <https://www.gnu.org/licenses/>.

#include "helm.h"

#include <cmath>
Expand Down
17 changes: 17 additions & 0 deletions src/lib/helm/helm.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Copyright 2026:
// GobySoft, LLC
//
// This file is part of IvPico.
//
// IvPico is free software: you can redistribute it and/or modify it under the
// terms of the GNU Lesser General Public License as published by the Free Software
// Foundation, either version 2.1 of the License, or (at your option) any later
// version.
//
// IvPico is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with IvPico. If not, see <https://www.gnu.org/licenses/>.

#ifndef IVPICO_HELM_HELM_H
#define IVPICO_HELM_HELM_H

Expand Down
17 changes: 17 additions & 0 deletions src/lib/helm/status_strings.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Copyright 2026:
// GobySoft, LLC
//
// This file is part of IvPico.
//
// IvPico is free software: you can redistribute it and/or modify it under the
// terms of the GNU Lesser General Public License as published by the Free Software
// Foundation, either version 2.1 of the License, or (at your option) any later
// version.
//
// IvPico is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with IvPico. If not, see <https://www.gnu.org/licenses/>.

#include "status_strings.h"

namespace ivpico
Expand Down
17 changes: 17 additions & 0 deletions src/lib/helm/status_strings.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Copyright 2026:
// GobySoft, LLC
//
// This file is part of IvPico.
//
// IvPico is free software: you can redistribute it and/or modify it under the
// terms of the GNU Lesser General Public License as published by the Free Software
// Foundation, either version 2.1 of the License, or (at your option) any later
// version.
//
// IvPico is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with IvPico. If not, see <https://www.gnu.org/licenses/>.

#ifndef IVPICO_HELM_STATUS_STRINGS_H
#define IVPICO_HELM_STATUS_STRINGS_H

Expand Down
17 changes: 17 additions & 0 deletions src/lib/interface/config.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Copyright 2026:
// GobySoft, LLC
//
// This file is part of IvPico.
//
// IvPico is free software: you can redistribute it and/or modify it under the
// terms of the GNU Lesser General Public License as published by the Free Software
// Foundation, either version 2.1 of the License, or (at your option) any later
// version.
//
// IvPico is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with IvPico. If not, see <https://www.gnu.org/licenses/>.

syntax = "proto3";

package ivp.interface;
Expand Down
17 changes: 17 additions & 0 deletions src/lib/interface/ivp.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Copyright 2026:
// GobySoft, LLC
//
// This file is part of IvPico.
//
// IvPico is free software: you can redistribute it and/or modify it under the
// terms of the GNU Lesser General Public License as published by the Free Software
// Foundation, either version 2.1 of the License, or (at your option) any later
// version.
//
// IvPico is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with IvPico. If not, see <https://www.gnu.org/licenses/>.

syntax = "proto3";

package ivp.interface;
Expand Down
17 changes: 17 additions & 0 deletions src/lib/interface/options.proto
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Copyright 2026:
// GobySoft, LLC
//
// This file is part of IvPico.
//
// IvPico is free software: you can redistribute it and/or modify it under the
// terms of the GNU Lesser General Public License as published by the Free Software
// Foundation, either version 2.1 of the License, or (at your option) any later
// version.
//
// IvPico is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with IvPico. If not, see <https://www.gnu.org/licenses/>.

syntax = "proto3";

package ivp;
Expand Down
19 changes: 18 additions & 1 deletion src/test/check_helm_libs.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,21 @@
// Checks that IvPico can use MOOS-IvP's helm libraries (external/moos-ivp, built by build.sh):
// Copyright 2026:
// GobySoft, LLC
//
// This file is part of IvPico.
//
// IvPico is free software: you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the Free Software
// Foundation, either version 2 of the License, or (at your option) any later
// version.
//
// IvPico is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with IvPico. If not, see <https://www.gnu.org/licenses/>.

// Checks that IvPico can use MOOS-IvP's helm libraries (libivp-helm-dev):
//
// 1. The static behavior factory creates behaviors from lib_behaviors-marine
// and lib_behaviors-colregs, which loads every helm library.
Expand Down
17 changes: 17 additions & 0 deletions src/test/helm/test_helm.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Copyright 2026:
// GobySoft, LLC
//
// This file is part of IvPico.
//
// IvPico is free software: you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the Free Software
// Foundation, either version 2 of the License, or (at your option) any later
// version.
//
// IvPico is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with IvPico. If not, see <https://www.gnu.org/licenses/>.

// Scenario tests for ivpico::helm::Helm, the MOOS-free port of pHelmIvP.
//
// Each scenario writes a small .bhv file, configures a helm with a course and
Expand Down
17 changes: 17 additions & 0 deletions src/test/missions/replay.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
// Copyright 2026:
// GobySoft, LLC
//
// This file is part of IvPico.
//
// IvPico is free software: you can redistribute it and/or modify it under the
// terms of the GNU General Public License as published by the Free Software
// Foundation, either version 2 of the License, or (at your option) any later
// version.
//
// IvPico is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
// FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with IvPico. If not, see <https://www.gnu.org/licenses/>.

// Replays a MOOS-IvP mission recorded under pHelmIvP (see record.sh) against
// ivpico::helm::Helm, and checks that the helm makes the same decisions and
// posts the same things.
Expand Down