Comments (12)
The LED will actually not start flashing until you have established a serial connection with the Teensy, so it is possible that the code is running but you have simply not been able to connect to it.
The first thing I would try is making sure that in config.h the line #define USE_XBEE
is commented out. If it is not, the Teensy will be looking for communication from the XBee rather than the USB. Also make sure that your serial monitor is running at a baud rate of 115200.
from doggo.
Hi,Aaron, thank you for your reply. Now the teensy board starts to run after I comment the #define USE_XBEE, and it can output serial information for monitoring. However, the LED still not flash. And the serial output "IMU beginSPI failed (non-fatal)...". How can I enable the LED flashing? Why the SPI failed? Thanks. BEN
from doggo.
Hi, Aaron, I found the reason why the LED is not flashing after running. When the IMU thread fails, it will change the LED port to input type, so the LED will not flash. So, now I move the calling of BlinkThread after the calling of IMUThread in chSetup() , then the LED flashes normally.
from doggo.
Hi, Aaron, I found the reason why the LED is not flashing after running. When the IMU thread fails, it will change the LED port to input type, so the LED will not flash. So, now I move the calling of BlinkThread after the calling of IMUThread in chSetup() , then the LED flashes normally.
Hi, thanks for sharing your solution of the LED flashing problem. I spent much time there too.
But now, I meet another problem: when I send orders using USB Serial port, it seems the corresponding thread is working from the output in the Serial Monitor, but the motor has no action!
Do you have this problem too?
And I test on one motor, I connect teensy pin9 to Odrive GPIO1, pin10 to GPIO2. Is this right?
And I don't re-flash the ODrive firmware because the ODrive3.5 is perflashed with firmware.
from doggo.
from doggo.
@CS4Liu, you need to re-flash the odrives with the firmware we provide or else it will not work with our code. We modified the communications protocol in order to make it faster and also changed the closed-loop control code.
from doggo.
@CS4Liu, you need to re-flash the odrives with the firmware we provide or else it will not work with our code. We modified the communications protocol in order to make it faster and also changed the closed-loop control code.
OK, thanks very much. I missed this step.
from doggo.
Hi, I download the source code, make successfully and get the '.hex' file. But after I re-flashed, my ODrive is not be recognized when I start odrivetool. The screenshoot is like:
I follows the ODrive docs to find my serial number. And run "odrivetool --serial-number 'my_number' ",but it don't works.
So I 'make clean' and 'make' again ,reflash the ODrive again. But comes another problem:wait for ODrive all the time:
Do you know how to solve this?
from doggo.
Hi @caobencheng,
I am also following the same project. Flashed the firmware to odrive. But having issues with the Closed loop control. axis1 motor spis at a higher speed. Is there any solution for this?
Thank you.
Samith
from doggo.
from doggo.
Hi, Aaron,
I found I may have missed ordering the Sparkfun BNO080 IMU. I double check the Bom of Doggo project, and I have not found the Sparkfun BNO080 IMU listed in the BOM. Do I need to order the Sparkfun BNO080 IMU before I assembly the whole system?
Regards
BEN
from doggo.
It's weird that it is not in the BOM. You can assemble the whole system without it and add it later. The only thing you need it for right now is doing a backflip.
from doggo.
Related Issues (20)
- Take 'hero' shots.
- BEN HOT 22
- do you know how to buy a doggo? HOT 1
- Some Questions about Parameters HOT 1
- Some problem in ODrive config.
- Teensy pin 13 conflicted: BlinkThread & IMU SPI all use it HOT 4
- How to configure ODrive before connect it to teensy? HOT 9
- doggo codes don't run as well as expected HOT 4
- Turning HOT 1
- where is the relay coil control wires connected to? HOT 2
- Hi, Doggo team, I have finished my doggo robot, and it can right trot, jump, hop, and dance. However, it can not walk. When I send "W" command, it just move at the same location and not go forward. I check https://github.com/Nate711/Doggo , it says that "'W': (W)alk. Does not work currently". However I watch the youtube for the doggo project, in the video, it can walk. So, I just want to ask if the walk function included in the doggo code? HOT 2
- How to use PlateformIO serial motitor to send signal to teensy? HOT 1
- Doggo Can‘t Stand up?(current set 60A)
- FLIP command what's the parameters set?
- Motor no responding to teensy command HOT 2
- A Circuit diagram is needed!!!
- The Steps
- Add MIT license to github repo
- Isn't PCB open source?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from doggo.