AS: uploading recordings

This commit is contained in:
cha2080 2025-04-30 14:05:26 +02:00
commit 0878720de0
5 changed files with 5 additions and 1 deletions

BIN
.DS_Store vendored

Binary file not shown.

BIN
test/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -8,7 +8,11 @@ def main():
osc_startup() osc_startup()
# Make client channels to send packets # Make client channels to send packets
<<<<<<< HEAD
osc_udp_client("localhost", 8000, "osc_client") osc_udp_client("localhost", 8000, "osc_client")
=======
osc_udp_client("192.168.1.24", 8000, "osc_client")
>>>>>>> c77d75859fda8ac862323fbd1993c35f7f931973
# Example joint positions to send # Example joint positions to send
joint_positions1 = [0.0,0.0, 0.0, 0.0, 0.0, 0.0] joint_positions1 = [0.0,0.0, 0.0, 0.0, 0.0, 0.0]

View File

@ -195,7 +195,7 @@ class ScaledJointTrajectoryPublisher(Node):
continue continue
point = JointTrajectoryPoint() point = JointTrajectoryPoint()
point.positions = list(sol[0]) point.positions = list(sol[0])
duration *= 2 duration *= 5
duration += prev_duration duration += prev_duration
prev_duration = duration prev_duration = duration
point.time_from_start.sec = int(duration) point.time_from_start.sec = int(duration)