This was something I temporarily added to handle the problem of trying to access RM46 registers while running in MinGW where such an attempt would cause a memory access error and crash the test case. Jim from VC finally gave me a way to do this from inside VC so I don't have to add this code - so I've since removed it.
I considered that. The flow rate ultimately needs to be converted to an unsigned PWM duty cycle for pump speed and a direction signal to the motor controller. This seemed to be a more natural way to achieve these ends. Also, with this approach there is no ambiguity about which direction is being commanded.
it's eChlid_HD. it has been defined in the header file as enum. e : is for enum Chl : is for Channel id : is id _HD : is HD device So it's a message recieved from HD channel id whcih has been defined as 0x020 in header file enum
it has been defined in the header file as enum. if the command or message Id which has been received is not known by the Message Handler then it is 'isUnknow'
it's eChlid_HD. it has been defined in the header file as enum. e : is for enum Chl : is for Channel id : is id _UI : is UI device So it's a message sent out from UI channel id which has been defined as 0x100 in header file enum
t's eChlid_HD. it has been defined in the header file as enum. e : is for enum Chl : is for Channel id : is id _UI : is UI device So it's a message sent out from UI channel id which has been defined as 0x100 in header file enum
Yes, we will stop listening to the can interface. This is the destructor of the class. Once we are done, it is game over. Also made the thread a daemon so it will autoclose when the program exits.
I see a change to 0xA000, but then another 0xA100. I assume this is normal messages starting at 0xA000 and dialin at 0xA100? I would recommend starting DG normal messages at something lower like 0x2000 and then DG dialin messages at 0xA000.
There are so many hex values roaming around the code which has not been defined in one place to be able to refer to. Please collect them in one place with a line of description. Or even if it is referring to the "X:\Engineering\Denali\06- Software Design\Messaging\Message List.xlsx" (which I found some there) please make a note to refer to that one if group of them can be read in that excel sheet.
Spaces between arithmetic sign and arguments, also did you want to add spaces between (v, l, and u)? If so, we need to do it everywhere in this code and everywhere else.
These hex values were assigned by Sean. I have an idea why? He is making sure that the number used is the one bit move to the left. Done. Please resolve.