-
Notifications
You must be signed in to change notification settings - Fork 6
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM great! Thanks. Just have to remember to enable this on the helis. :)
Awesome! There is a LIDAR using PTP? Sounds like Christmas to me :). A note on @ZacharyTaylor suggestion of how to edit systemd's service config: In any case (including editing |
Thanks for the tip about how to set up the service. |
Hi appreciate the ptp info. We are trying to implement the cartographer 3D SLAM with ouster....and having problems. From reviewing the boards and manuals, it appears we need to be using a master clock either implementing a software or hardware version to produce time compatible epoch ros bags. Is this approach to implement a software ptp solution the hidden solution. I thought it was an option to implement ptp, but it sounds like more of a best practice. |
If you are not fusing it with a second sensor I am surprised this is needed, however you can always start ptp4l using software timestamps with the -S option, which should work on pretty much any linux system. |
I agree. We were trying to visualize/configure the TF tree and reading the recommend solution ouster-lidar#1
|
@dsb6063 Using ptp is an essential step and best practice if you have multi device or multi-host system. |
Adds in setting to use ptp timesync on startup and rejects measurements until the sync happens.
To use ptp install with
sudo apt install linuxptp
edit the parameters for starting the service
sudo vim /lib/systemd/system/ptp4l.service
all you need to set is
ExecStart=/usr/sbin/ptp4l -i <your ethernet interface>
in my case
ExecStart=/usr/sbin/ptp4l -i enp0s25
then start the service
service ptp4l start
and make it run on boot
sudo systemctl enable ptp4l