Skip to content

Commit

Permalink
Update real_time_readings.py (#45)
Browse files Browse the repository at this point in the history
* Update real_time_readings.py

* Update real_time_readings.py

* Update real_time_readings.py
  • Loading branch information
Md-aliy7 authored Mar 29, 2023
1 parent 106c060 commit 9245b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/real_time_readings.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@
)
# velocity_X = round(signal_readings[3].data[i]*0.0953652489,3)
# acceleration_X = round(signal_readings[4].data[i]*0.5299145299,3)
readings_counter += readings_per_signal

# print(f"Position X = {Position_X} mm , Position Y = {Position_Y} , Position Z = {Position_Z} , Velocity X = {Velocity_X} mm/min, Acceleration X = {Accelera_X} mm/s^2")
fp.write(
"Position X = %f mm , Position Y = %f , Position Z = %f\n"
% (position_X, position_Y, position_Z)
)
readings_counter += readings_per_signal

print("a total of %d readings were taken" % readings_counter)

Expand Down

0 comments on commit 9245b6b

Please sign in to comment.