Fixing error related to unreferenced stime. Replacing with ctime resolves build issues, but might pose challenges down the road. Point to note, if things start looking weird
This commit is contained in:
parent
ce38cb6b1d
commit
2a68639632
|
@ -743,7 +743,7 @@ with size......... | /
|
|||
uint16_t tmphead[4];
|
||||
tmphead[1] = (uint16_t)message_number;
|
||||
// uint32_t stime = (uint32_t)(ros::Time::now().toSec()); //(uint32_t)(logical_clock.toSec() * 100000);
|
||||
memcpy((void*)(tmphead + 2), (void*)&stime, sizeof(uint32_t));
|
||||
memcpy((void*)(tmphead + 2), (void*)&ctime, sizeof(uint32_t));
|
||||
uint64_t rheader[1];
|
||||
rheader[0] = 0;
|
||||
payload_out.sysid = (uint8_t)robot_id;
|
||||
|
|
Loading…
Reference in New Issue