Get SLAM Trajectory Position and Orientation in Python

Hi @figbar ,

You need first to retrieve the Client Side Object, then you can access to the outputs, so the python scripting for doing this would be the following :

slam_online = FindSource("SLAMonline1")
slam_cso = slam_online.GetClientSideObject()
traj = slam_cso.GetOutput(1) # the trajectory is the second output of the SLAM filter

You may also want to have a look at this regarding animations in LidarView

And in particular this example

Hope this helps,

Gatien

1 Like