Currently, using OSAL I'm able to convert (Milli-,Micro-)Seconds into system ticks but not vice versa.
It would be nice to get the current time in milliseconds without doing the conversion by hand or depending on the OS's time conversion.
My use case is a ROSSerial client driver for ChibiOS HAL using nothing but the HAL. (https://github.com/ros-drivers/rosserial/pull/493)
Time conversion functions in OSAL Topic is solved
- stertingen
- Posts: 21
- Joined: Mon Jan 13, 2020 10:55 pm
- Has thanked: 7 times
- Been thanked: 7 times
Re: Time conversion functions in OSAL
I agree with you.
When I did my rosserial_chibios I used the version found in lwip_binding but it is not very handy. Nice macros like in RT would be nice.
When I did my rosserial_chibios I used the version found in lwip_binding but it is not very handy. Nice macros like in RT would be nice.
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Return to “Small Change Requests”
Who is online
Users browsing this forum: No registered users and 35 guests