You need to be a member of diydrones to add comments!
This reply was deleted.
Activity
RT @Heavy02011: @diyrobocars : A Home-brew computer club* for Connected Autonomous Driving. talk at #piandmore @PiAndMore on Jan 23rd h…
RT @a1k0n: New blog post! Deep dive into my ceiling light based localization algorithm which runs in 1ms on a Raspberry Pi 3:
https://t.co/…
Great new guide to using @donkey_car
https://custom-build-robots.com/donkey-car-e-book-en
RT @chr1sa: The next @DIYRobocars virtual AI race is tomorrow morn at 9:00am PT. You can watch live on Twitch
https://www.meetup.com/DIYRobocars/events/275268196/
New version of Intel OpenBot! This resolves many of the issues with the first version, including a much smoother tr… https://twitter.com/i/web/status/1352395636369313798
RT @Heavy02011: @diyrobocars : A Home-brew computer club* for Connected Autonomous Driving on Jan 23rd, 2021 https://www.meetup.com/Connected-Autonomous-Driving/events/275728684/ #Meetu…
RT @Heavy02011: @diyrobocars Autonomous Driving Assembly at #rC3. join us at https://rc3.world/rc3/assembly/diyrobocars-f1tenth/ @f1tenth @DAVGtech @DWalmroth…
Replies
But i never can see any response in the hyperterminal in my computer.
you put the value of txchar into U1TXREG variable,but i can not see U1TXREG value in debug mode.
this register is always 0.
what problem is that?
van you kindly explain it?
thank you and regards
starsos
I noticed in option.h that I can select #define SERIAL_OUTPUT_FORMAT/Serial_Ardustation.
Would this mean that the Ardustation work with his actual code?
Are the received data the same as from Ardupilot?
If yes I suppose that antenna tracking works too, right?
Thanks and best reards,
Ric
As I am quite new in C30
But I just wondering about db_index it seems to be declared local in void debug_output( void )
I suppose its declared global somewhere else to be modified in _U1TXInterrupt(void)
so the code could be :
void debug_output( void )
{
unsigned char txchar ;
// commented db_index = 0 ;
sprintf( debug_buffer , "lat: %li, long: %li, alt: %li\r\nrmat: %i, %i, %i, %i, %i, %i, %i, %i, %i\r\n" ,
lat_gps.WW , long_gps.WW , alt_sl_gps.WW ,
rmat[0] , rmat[1] , rmat[2] ,
rmat[3] , rmat[4] , rmat[5] ,
rmat[6] , rmat[7] , rmat[8] ) ;
txchar = debug_buffer[ 0] ; // modified im am not sure about it ??
U1TXREG = txchar ;
return ;
}
Sandra