Skip to content

Commit

Permalink
remove testing stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Tyler-Lentz committed Apr 17, 2024
1 parent 14a9932 commit c831a6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
11 changes: 6 additions & 5 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
// See this page for reference of options: https://containers.dev/implementors/json_reference
{
"name": "Existing Dockerfile",
"image": "ghcr.io/tritonuas/obcpp:main",
"image": "ghcr.io/tritonuas/obcpp:x86",
// enable when need to connect over USB to pixhawk
// also: need to run obcpp with sudo or add tuas user to dialout group with
// `sudo usermod -aG dialout tuas && newgrp && bash`
// "runArgs": ["--device=/dev/ttyACM0"],

"appPort": [ "45906:45906/udp", "45907:45907/udp" ], // port forward airdrop ports for local testing
"runArgs": [
"--network=host"
],
// Enable network mode host if on Linux and testing airdrop connectivity
// "appPort": [ "45906:45906/udp", "45907:45907/udp" ], // port forward airdrop ports for local testing
// "runArgs": [
// "--network=host"
// ],

"customizations": {
"vscode": {
Expand Down
4 changes: 0 additions & 4 deletions src/ticks/mission_prep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ std::chrono::milliseconds MissionPrepTick::getWait() const {
using namespace std::chrono_literals;

Tick* MissionPrepTick::tick() {
if (this->state->getAirdrop() != nullptr) {
LOG_F(INFO, "%ld", this->state->getAirdrop()->getLostConnections(1s).size());
}

if (this->state->config.getCachedMission().has_value()) {
LOG_F(INFO, "Valid mission configuration detected");
return new PathGenTick(this->state);
Expand Down

0 comments on commit c831a6a

Please sign in to comment.