View Single Post
  #1   Spotlight this post!  
Unread 01-06-2015, 06:34 PM
jreneew2's Avatar
jreneew2 jreneew2 is offline
Alumni of Team 2053 Tigertronics
AKA: Drew Williams
FRC #2053 (TigerTronics)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Vestal, NY
Posts: 189
jreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura aboutjreneew2 has a spectacular aura about
Exclamation CANJaguar error with 2015 C++ port sendMessage

Hello again!

I have another error with the CANJaguar code when enabling the robot. All of our code compiles and deploys successfully, however, when we enable the robot our driver station spits out this error

Code:
Error on line 492 of CANJaguar.cpp: sendMessage
	at /home/lvuser/FRCUserProgram() [0x17088]
	at /home/lvuser/FRCUserProgram() [0x17250]
	at /home/lvuser/FRCUserProgram() [0x187e8]
	at /home/lvuser/FRCUserProgram() [0x16b64]
	at /home/lvuser/FRCUserProgram() [0x1d9b4]
	at /home/lvuser/FRCUserProgram() [0xf754]
	at /home/lvuser/FRCUserProgram() [0x134f4]
	at /home/lvuser/FRCUserProgram() [0x29f90]
	at /home/lvuser/FRCUserProgram() [0x30e54]
	at /home/lvuser/FRCUserProgram() [0xfdd8]
	at /home/lvuser/FRCUserProgram() [0x155b4]
	at /home/lvuser/FRCUserProgram() [0x1bbfc]
	at /home/lvuser/FRCUserProgram() [0xfee4]
	at __libc_start_main
And I went to look at CANJaguar at line 492 and this is the function:

Code:
void CANJaguar::sendMessage(uint32_t messageID, const uint8_t *data, uint8_t dataSize, int32_t period)
{
	int32_t localStatus = sendMessageHelper(messageID | m_deviceNumber, data, dataSize, period);

	if(localStatus < 0)
	{
		wpi_setErrorWithContext(localStatus, "sendMessage");
	}
}
Do you guys have any ideas on what this error actually is and how we could fix it?

Thanks,
Drew
Reply With Quote