Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(hesai_hw_interface): change to synchronous requests to prevent undefined sensor behavior #126

Merged
merged 42 commits into from
Mar 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
f71026f
add initial support for ot128/128e4x
amc-nu Nov 13, 2023
05a3b24
Initial support for QT128
amc-nu Nov 13, 2023
fbab6ef
hesai. automotive ptp support
amc-nu Dec 11, 2023
c402492
Merge branch 'ot-128' into hesai_ptp_params
amc-nu Dec 25, 2023
8959294
nebula_decoder. hesai tokenize the calibration file to avoid errors a…
amc-nu Dec 27, 2023
c89d763
Merge branch 'main' into hesai_ptp_params
amc-nu Dec 27, 2023
7a7e981
hesai_w. fix spellcheck
amc-nu Dec 27, 2023
2616779
Merge branch 'hesai_ptp_params' of github.com:tier4/nebula into hesai…
amc-nu Dec 27, 2023
b06b023
nebula_ros. add xml based component launcher
amc-nu Jan 9, 2024
6cfee93
launch. launch typo
amc-nu Jan 9, 2024
05aa364
launch. match target container
amc-nu Jan 9, 2024
9f12b90
hesai_hw. replace publisher with move operator
amc-nu Jan 9, 2024
87cd40a
Merge branch 'ot-128' into hesai_ptp_params
amc-nu Jan 17, 2024
38cef59
Merge branch 'main' into hesai_ptp_params
amc-nu Jan 17, 2024
bc02e2d
launch. add ptp support to all launch systems
amc-nu Jan 31, 2024
fc8ff51
launch. component_launch reset namespace
amc-nu Jan 31, 2024
8a39024
Merge branch 'main' into hesai_ptp_params
amc-nu Mar 6, 2024
0c9f810
fix(ot128): update timing correction tables to latest datasheet version
mojomex Mar 7, 2024
0e20f02
Merge remote-tracking branch 'upstream/hesai_ptp_params' into ot128-2…
mojomex Mar 7, 2024
362ab00
testing
mojomex Mar 7, 2024
6428c13
feat: add tsn settings for hesai (AT128 and OT128)
drwnz Mar 11, 2024
87227c3
Merge branch 'main' into ot128-2second-drops-fix
mojomex Mar 11, 2024
2bc5cb4
Merge remote-tracking branch 'upstream/feat/hesai_ptp_tsn_settings' i…
mojomex Mar 11, 2024
0b13f57
fix(hesai_hw_interface): remove obsolete setup_sensor mutex
mojomex Mar 11, 2024
4301e4d
fix(hesai_hw_interface): validate and rewrite OT128's PTP mode in PTC…
mojomex Mar 11, 2024
62df70b
refactor(hesai_hw_interface): remove local_tcp_driver-versions of fun…
mojomex Mar 11, 2024
3287abe
fix: special handling for OT128 needing a different definition for PT…
drwnz Mar 11, 2024
9a28e34
fix: move defaults in ptp config functions to header files
drwnz Mar 11, 2024
37d7b0f
fix: correctly assign header size in PTP config
drwnz Mar 11, 2024
05990d1
fix: spelling miss
drwnz Mar 11, 2024
7a9ae33
Merge branch 'feat/hesai_ptp_tsn_settings' into ot128-2second-drops-fix
mojomex Mar 12, 2024
021a3a5
fix: [reword later] somehow this works
mojomex Mar 13, 2024
80eb042
fix(hesai_hw_interface): tcp communication works with dummy server now
mojomex Mar 14, 2024
44364e9
fix(qt128): correctly send PTP switch_mode
mojomex Mar 14, 2024
12b12b1
fix(ot128): revert timing correction to old datasheet
mojomex Mar 14, 2024
074cde0
chore(scripts): delete defunct debug script
mojomex Mar 14, 2024
f949127
Merge remote-tracking branch 'origin/main' into ot128-2second-drops-fix
mojomex Mar 14, 2024
27448e6
fix(hesai_hw_interface): remove excessive debug logging
mojomex Mar 14, 2024
a809559
fix: rollback erroneous changes in velodyne launch
mojomex Mar 14, 2024
6004d41
fix(hesai_hw_interface): remove unused params/variables
mojomex Mar 14, 2024
adf43fe
style: fix weird spacings
mojomex Mar 14, 2024
d56b77e
fix: spelling, whitespace
mojomex Mar 14, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ struct Packet128E3X : public PacketBase<2, 128, 2, 100>

} // namespace hesai_packet

// FIXME(mojomex) support high resolution mode
class Pandar128E3X : public HesaiSensor<hesai_packet::Packet128E3X>
{
private:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@ typedef Packet128E3X Packet128E4X;

} // namespace hesai_packet

// FIXME(mojomex) support high resolution mode
// FIXME(mojomex):
// The OT128 datasheet has entirely different numbers (and more azimuth states).
// With the current sensor version, the numbers from the new datasheet are incorrect
// (clouds do not sync to ToS but ToS+.052s)
class Pandar128E4X : public HesaiSensor<hesai_packet::Packet128E4X>
{
private:
enum OperationalState { HIGH_RESOLUTION = 0, STANDARD = 1 };
enum OperationalState { HIGH_RESOLUTION = 0, STANDARD = 1 };

static constexpr int firing_time_offset_static_ns_[128] = {
49758, 43224, 36690, 30156, 21980, 15446, 8912, 2378, 49758, 43224, 36690, 30156, 2378,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,40 +235,30 @@ struct HesaiInventory
switch (model) {
case 0:
return "Pandar40P";
break;
case 2:
return "Pandar64";
break;
case 3:
return "Pandar128";
break;
case 15:
return "PandarQT";
break;
case 17:
return "Pandar40M";
break;
case 20:
return "PandarMind(PM64)";
break;
case 25:
return "PandarXT32";
break;
case 26:
return "PandarXT16";
break;
case 32:
return "QT128C2X";
break;
case 38:
return "PandarXT32M";
break;
case 42:
return "OT128";
case 48:
return "PandarAT128";
break;
default:
return "Unknown(" + std::to_string(model) + ")";
break;
}
}
};
Expand Down

Large diffs are not rendered by default.

Loading
Loading