PMB-648 GPS object in one cog
bomber
Posts: 297
Hi all, I'm working on integrating the PMB-648 into the Eddie robot that I am working on. I originally was going to use a second Prop to interface with any additional electronics that I add, but the Python program running on Eddie's laptop cannot handle a second serial port (under powered CPU on the laptop and very inefficient python code). The default firmware on Eddie's control board uses 7 cogs including the main loop(1 for main loop, 1 for Ping sensors, 3 for motor PID loop and encoders, 1 for ADC, and 1 for UART. The default object for the GPS receiver uses 4 cogs including the main loop (1 for main loop, 1 for serial UART, 1 for managing the flow of serial input data, and one for NMEA decoding), and I was able to narrow that down to 2 cogs and a main loop. My attempts to consolidate further failed for anything less than 2 cogs. Does anyone out there know if there is an object for the PB-648 that can run in one cog and one main loop? I'll keep working on trying to condense the program further, but help would definitely be appreciated!
Comments