Skip to content

Commit

Permalink
fix #106
Browse files Browse the repository at this point in the history
  • Loading branch information
tmori committed Dec 28, 2023
1 parent 1745a9a commit b02a83d
Show file tree
Hide file tree
Showing 49 changed files with 94,356 additions and 96,534 deletions.
2 changes: 1 addition & 1 deletion hako-start.bash
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ fi
CURR_DIR=`pwd`
echo "INFO: Activating hakoniwa"
cd hakoniwa/cmake-build
./src/hako-px4sim 127.0.0.1 4560 asim &
./src/hako-px4sim 127.0.0.1 4560 sim &
pids+=($!)
cd ${CURR_DIR}

Expand Down
4 changes: 2 additions & 2 deletions hakoniwa/config/drone_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@
},
"mag": {
"sampleCount": 1,
"noise": 0.005
"noise": 0.05
},
"baro": {
"sampleCount": 1,
"noise": 0
"noise": 0.005
},
"gps": {
"sampleCount": 1,
Expand Down
10 changes: 0 additions & 10 deletions hakoniwa/dump.bash

This file was deleted.

2 changes: 1 addition & 1 deletion hakoniwa/run-win.bash
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ sleep 1

echo "INFO: ACTIVATING hako-px4sim"
cd cmake-build
./src/hako-px4sim ${CORE_IPADDR} 4560 asim
./src/hako-px4sim ${CORE_IPADDR} 4560 sim

echo "INFO: NOW STOPPING SIMULATION"

Expand Down
5 changes: 0 additions & 5 deletions hakoniwa/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ add_executable(
hako/pdu/hako_pdu_data.cpp
${HAKONIWA_SOURCE_DIR}/hako_capi.cpp
hako/runner/hako_px4_master.cpp
hako/runner/hako_px4_runner.cpp
hako/runner/hako_sim_runner.cpp
hako/runner/drone/drone_phys.cpp
hako/runner/drone/drone_phys_sensor.cpp
hako/runner/control/drone_control.cpp

threads/px4sim_thread_receiver.cpp
threads/px4sim_thread_sender.cpp
Expand Down
1 change: 0 additions & 1 deletion hakoniwa/src/assets/drone/mavlink/mavlink_io.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include "iaircraft.hpp"
#include "hako/pdu/hako_pdu_data.hpp"
#include "config/config.hpp"
#include <iostream>

namespace hako::assets::drone {
Expand Down
80 changes: 0 additions & 80 deletions hakoniwa/src/config/config.hpp

This file was deleted.

4 changes: 3 additions & 1 deletion hakoniwa/src/config/drone_config.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
#include <vector>

using json = nlohmann::json;

//#define DRONE_PX4_RX_DEBUG_ENABLE
//DRONE_PX4_TX_DEBUG_ENABLE
//DRONE_PID_CONTROL_CPP
struct RotorPosition {
std::vector<double> position;
double rotationDirection;
Expand Down
112 changes: 0 additions & 112 deletions hakoniwa/src/hako/runner/common/drone_types.hpp

This file was deleted.

Loading

0 comments on commit b02a83d

Please sign in to comment.