hey...
my problem is, that all outgoing values go out twice.
i just changed a bit in the eMPL
original:
if (sensor_config[state.cur_sensor] == INV_NINE_AXIS ||
sensor_config[state.cur_sensor] == INV_SIX_AXIS_GYRO_ACCEL)
send_quat();
if (timestamp < (last_send + SEND_DATA_MS))
continue;
msp430_get_clock_count(&last_send);
if (state.data_send)
send_data();
and i changed it to:
//if (sensor_config[state.cur_sensor] == INV_NINE_AXIS ||
// sensor_config[state.cur_sensor] == INV_SIX_AXIS_GYRO_ACCEL)
if (state.data_send)
send_data();
if (timestamp < (last_send + SEND_DATA_MS))
continue;
msp430_get_clock_count(&last_send);
so that all and each data i get looks like
accel: -0.02954 -0.28882 1.12671 packet count: 23.0000
accel: -0.02954 -0.28882 1.12671 packet count: 24.0000
accel: -0.15161 -0.34155 1.06128 packet count: 25.0000
accel: -0.15161 -0.34155 1.06128 packet count: 26.0000
accel: 0.06396 -0.14453 0.75098 packet count: 27.0000
accel: 0.06396 -0.14453 0.75098 packet count: 28.0000
i have no idea whats going wrong here =(
Re: Re: all Values twice
Make sure you're adjusting the FIFO rate, not just the transmission rate of the device. There's a more detailed explanation here: viewtopic.php?f=7&t=497