How to change the cycle time of a parameter in gps fd
How to change the cycle time of a parameter in gps fd
Hello Team,
My GPS FD I wanted to edit the cycle time of a parameter which is defined in the symbols dbc file. I was trying to find where the function is defined in the source code. The function is GPS_course_speed, it is currently sending in 1000millisecs but i want to edit the seconds value. So to do that how to find the defined function for GPS_course_speed
Thanks,
Manju
My GPS FD I wanted to edit the cycle time of a parameter which is defined in the symbols dbc file. I was trying to find where the function is defined in the source code. The function is GPS_course_speed, it is currently sending in 1000millisecs but i want to edit the seconds value. So to do that how to find the defined function for GPS_course_speed
Thanks,
Manju
Thanks
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: How to change the cycle time of a parameter in gps fd
Hello Manju,
Which firmware are you referring to?
A bit more info would be welcome.
BR
Marvin
Which firmware are you referring to?
A bit more info would be welcome.
BR
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Re: How to change the cycle time of a parameter in gps fd
Hello,
Firmware of pcan gps-fd, which was given under this directory, "C:\Downloads\PEAK-DevPack\Hardware\PCAN-GPS_FD\Examples"
So according to the document, users can edit the firmware according to their requirement. In that part of i wanted to edit a time in function, GPS_course_speed, it is currently sending in 1000millisecs but i want to edit the seconds value. So to do that how to find the defined function for GPS_course_speed
Firmware of pcan gps-fd, which was given under this directory, "C:\Downloads\PEAK-DevPack\Hardware\PCAN-GPS_FD\Examples"
So according to the document, users can edit the firmware according to their requirement. In that part of i wanted to edit a time in function, GPS_course_speed, it is currently sending in 1000millisecs but i want to edit the seconds value. So to do that how to find the defined function for GPS_course_speed
Thanks
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: How to change the cycle time of a parameter in gps fd
Hi,
There are 13 firmware examples in there. which one?
There are 13 firmware examples in there. which one?
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Re: How to change the cycle time of a parameter in gps fd
Hello,
I wanted to edit in the 00_Standard_Firmware, In that i wanted to edit the time which is currently 1000 milliseconds for GPS_course_speed function
I wanted to edit in the 00_Standard_Firmware, In that i wanted to edit the time which is currently 1000 milliseconds for GPS_course_speed function
Thanks
Re: How to change the cycle time of a parameter in gps fd
Hello,
Inside standard firmware, I actually wanted to edit one the CAN messages cycle time. Is that possible to edit the cycle time. If yes, where is that function defined in the examples folder of standard firmware
Inside standard firmware, I actually wanted to edit one the CAN messages cycle time. Is that possible to edit the cycle time. If yes, where is that function defined in the examples folder of standard firmware
Thanks
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: How to change the cycle time of a parameter in gps fd
Hello,
check the variable:
#define UBLOX_PERIOD_MS 1000000
Change it accordingly, you can use strg+f to see where else it used
Note: the variable respresents Microseconds!
BR
Marvin
check the variable:
#define UBLOX_PERIOD_MS 1000000
Change it accordingly, you can use strg+f to see where else it used
Note: the variable respresents Microseconds!
BR
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Re: How to change the cycle time of a parameter in gps fd
Hello,
Inside standard firmware, I wanted to edit one of the CAN message's cycle time. Is it possible to edit the cycle time. If yes, where is that function defined in the examples folder of standard firmware.
Actually the function which im referring is mentioned in the DBC file with a proper cycle time, I just wnated to edit the cycle time based on my requirement
Inside standard firmware, I wanted to edit one of the CAN message's cycle time. Is it possible to edit the cycle time. If yes, where is that function defined in the examples folder of standard firmware.
Actually the function which im referring is mentioned in the DBC file with a proper cycle time, I just wnated to edit the cycle time based on my requirement
Thanks
-
- Sales & Support
- Posts: 1083
- Joined: Fri 20. Sep 2019, 13:31
Re: How to change the cycle time of a parameter in gps fd
Hello,
I told you which variable is used to determine the cycle time, i tested it and it works.
What isn't clear to you?
BR
Marvin
I told you which variable is used to determine the cycle time, i tested it and it works.
What isn't clear to you?
BR
Marvin
---
Marvin Heidemann
PEAK-Support Team
Marvin Heidemann
PEAK-Support Team
Re: How to change the cycle time of a parameter in gps fd
Hello,
It worked Thank you for your time
It worked Thank you for your time
Thanks