-
Notifications
You must be signed in to change notification settings - Fork 25
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: rt-net/rt_usb_9axisimu_driver
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.1.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: rt-net/rt_usb_9axisimu_driver
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 3.0.0
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 8 commits
- 10 files changed
- 4 contributors
Commits on Apr 5, 2024
-
* Use pointer for SerialPort instance instead of inheritance * Add test using fakeit * Install git comand in indsutrial_ci * Refactoring * Update CI * Use AFTER_SETUP_TARGET_WORKSPACE * driverインスタンスのメンバ変数のテストを追加 * バイナリデータが読み込まれたことを確認するテストを追加 * ASCIIデータが読み込まれたことを確認するテストを追加 * バイナリでもASCIIでもないデータが読み込まれたことを確認するテストを追加 * テストが通る状態に修正 --------- Co-authored-by: ShotaAk <s.aoki@rt-net.jp>
Configuration menu - View commit details
-
Copy full SHA for faf39b0 - Browse repository at this point
Copy the full SHA faf39b0View commit details
Commits on Aug 6, 2024
-
checkDataFormat() and unit test updates (#54)
* Binaryデータ出力時は実機とテストの両方で動作確認完了、ASCIIデータには未対応、デバッグ用出力あり * 実機とテストの両方でBinaryとASCIIの判定に成功、BinaryでもASCIIでもないデータには未対応 * タイムアウト機能を追加&hasCompletedFormatCheck()と関係する変数を削除 * 不正なデータをチェックするようにテストを修正 * readを成功させるためにwhileループにsleep処理を追加 * 必要がなかったため、while文のsleep処理を削除 * テスト用データの作成で重複している箇所を関数化 * RCLCPP_INFOをWARNに変更&不要なコメントを削除 * const autoをできる限り使用 * actions/checkoutのバージョンを3から4に更新 * 読み取ったデータをある程度貯めてからデータ形式を判定するように変更 * 貯めるデータを更新するように修正 * メンバ変数の名前を修正&256を定数化
Configuration menu - View commit details
-
Copy full SHA for b22d060 - Browse repository at this point
Copy the full SHA b22d060View commit details
Commits on Aug 20, 2024
-
Add test for readSensorData() (#57)
* readSensorData()実行後のhasRefreshedImuData()の応答のテストを追加 * テストにコメントを追加 * 0.0を入力として与えたテストを追加 * ASCII形式のテストデータを作成する際、引数で値を渡せるように変更 * Binary形式でもテストデータを引数で渡せるように変更 * テストケースを使い回せるように変更 * readSensorData()実行時にセンサデータが正しく変換されたか検証するテストを追加 * デバッグ用の関数を削除 * short intをint16_tに変更 * int16を8bitずつに分ける関数をhighとlowそれぞれ用意 * 既存のテストに影響を与えないようにデータ作成の関数をオーバーロード * set_data関数をprivateに変更 * 変換後の数値を直打ち * data_format_を設定する関数を削除 * 不要な箇所を削除
Configuration menu - View commit details
-
Copy full SHA for c63da0b - Browse repository at this point
Copy the full SHA c63da0bView commit details
Commits on Aug 21, 2024
-
Fix to get the latest data (#58)
* 最新データ取得のテストを追加 * PR#50を参考に最新のデータを取得できるように変更 * 複数セットのデータ取得時に最新のデータをセットするように変更、テストは通るが挙動がおかしい * 最新データの取得方法を修正 * 取得するデータが適切な長さであることを保証する
Configuration menu - View commit details
-
Copy full SHA for 6d58d47 - Browse repository at this point
Copy the full SHA 6d58d47View commit details
Commits on Aug 23, 2024
-
2.1.0リリースのためにCHANGELOG.rstとpackage.xmlを更新 (#59)
* CHANGELOGを更新 * 2.1.0
Configuration menu - View commit details
-
Copy full SHA for 806ca07 - Browse repository at this point
Copy the full SHA 806ca07View commit details
Commits on Oct 31, 2024
-
* fix "ROS_DISTRO" of CI for Jazzy * Add authors * Update README for Jazzy * Modify CI to ensure compatibility with the act tool * Add messages of compiler version message for debug * add ccache setting * Set log level "debug" for CI * comment out env for debug * Replace "ROS_REPO: [ros]" with "ROS_REPO: [main]" for CI of "ROS 2" * Fix undefined behavior by storing `std::string` objects instead of `const char*` pointers Previously, the test code for the 9-axis IMU was storing `const char*` pointers obtained from temporary `std::string` objects into a vector. Since these temporary `std::string` objects are destroyed immediately after the expression, the stored pointers became invalid (dangling pointers), leading to undefined behavior and causing tests to fail. This commit fixes the issue by changing the vector to store *std::string* objects directly instead of `const char*` pointers. By maintaining the `std::string` objects, we ensure that the data remains valid throughout its usage, and any `c_str()` calls on these strings return valid pointers. This change resolves the test failures and prevents potential crashes or incorrect data processing due to invalid memory access. * Update copyright year
Configuration menu - View commit details
-
Copy full SHA for 9138e0d - Browse repository at this point
Copy the full SHA 9138e0dView commit details -
* Update CI for ROS 2 Rolling * Summarize setting "AFTER_SETUP_TARGET_WORKSPACE"
Configuration menu - View commit details
-
Copy full SHA for 6ffb0a9 - Browse repository at this point
Copy the full SHA 6ffb0a9View commit details
Commits on Nov 7, 2024
-
* Update CHANGELOG.rst * Update release version * Fix PR links * Fix date
Configuration menu - View commit details
-
Copy full SHA for 3766c9c - Browse repository at this point
Copy the full SHA 3766c9cView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 2.1.0...3.0.0