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

Add quadrant photodiode sensor (without noises) #81

Merged
merged 33 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
c0d6786
create laser emitter
Dec 28, 2023
25ffa7a
add quadrant photodiode sensor
Dec 29, 2023
4bfd537
update ff_components
Dec 29, 2023
a76b351
fix qpd sensor
Dec 29, 2023
d936f38
fix clang-format
Dec 31, 2023
50d995b
add characteristics of the laser emitter
Jan 2, 2024
b12a584
add function to get laser beam radius
Jan 2, 2024
6a7bc14
add function to calculate QPD sensor output values
Jan 2, 2024
4287c90
add qpd_semsor_reference.csv
Jan 4, 2024
3f8d16b
enable to determine position displacement with qpd sensor
Jan 4, 2024
89a7668
fix name of functions and variables
Jan 4, 2024
f417847
fix small
Jan 4, 2024
559c2de
fix comment
Jan 5, 2024
ca830a8
fix functions
Jan 5, 2024
461b9fc
fix enum
Jan 5, 2024
dc36110
remove qpd_horizontal_direction_c and qpd_vertical_direction_c
Jan 5, 2024
335c724
create InitializeLaserEmitter
Jan 5, 2024
8d81a1d
use GaussianBeamBase
Jan 5, 2024
889c23b
fix small
Jan 5, 2024
c2ecd1d
simplify function: DeterminePositionDisplacement
Jan 5, 2024
87de6c1
rename function
Jan 5, 2024
bd73c38
add comment
Jan 5, 2024
3009874
fix enum
Jan 5, 2024
25bb1d5
fix comment
Jan 5, 2024
c57c9f1
add comment to explain reference_ratio_y_axis_list / reference_ratio_…
Jan 5, 2024
388fdd4
rename sensor
Jan 6, 2024
d3a80d3
fix based on the comment
Jan 8, 2024
b522c60
fix small
Jan 9, 2024
ce4c94d
fix comment
Jan 9, 2024
eeeb016
rename variables
Jan 9, 2024
94f96e4
fix comment
Jan 10, 2024
7d73315
remove QpdObservedPositionDirection
Jan 10, 2024
1dd9947
add sensitivity coefficient
Jan 10, 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
2 changes: 2 additions & 0 deletions s2e-ff/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ set(SOURCE_FILES
src/components/aocs/relative_velocity_sensor.cpp
src/components/aocs/initialize_relative_velocity_sensor.cpp
src/components/aocs/laser_distance_meter.cpp
src/components/aocs/laser_emitter.cpp
src/components/aocs/quadrant_photodiode_sensor.cpp
src/components/ideal/relative_attitude_controller.cpp
src/components/ideal/initialize_relative_attitude_controller.cpp
src/library/math/dual_quaternion.cpp
Expand Down
44 changes: 44 additions & 0 deletions s2e-ff/data/initialize_files/components/laser_emitter.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
[GENERAL]
number_of_laser_emitters = 2

[LASER_EMITTER_0]
quaternion_b2c(0) = 0.0
quaternion_b2c(1) = 0.7071
quaternion_b2c(2) = 0.0
quaternion_b2c(3) = 0.7071

position_b_m(0) = 0.5
position_b_m(1) = 0.0
position_b_m(2) = 0.0

emitting_direction_c(0) = 0
emitting_direction_c(1) = 0
emitting_direction_c(2) = 1.0

emission_angle_rad = 0.1
emission_power_W = 2.16

radius_beam_waist_m = 0.912e-3
rayleigh_length_m = 3.62
rayleigh_length_offset_m = 4.67

[LASER_EMITTER_1]
quaternion_b2c(0) = 0.0
quaternion_b2c(1) = 0.7071
quaternion_b2c(2) = 0.0
quaternion_b2c(3) = 0.7071

position_b_m(0) = 0.5
position_b_m(1) = 0.5
position_b_m(2) = 0.5

emitting_direction_c(0) = 0
emitting_direction_c(1) = 0
emitting_direction_c(2) = 1.0

emission_angle_rad = 0.1
emission_power_W = 2.16

radius_beam_waist_m = 0.912e-3
rayleigh_length_m = 3.62
rayleigh_length_offset_m = 4.67
Loading