Comments (7)
Update: If I use CANFD at 1Mbps. I am getting continuous stream. The issue comes at 5Mbps.
from ardupilot.
How are you determining that it hangs? Just that the received count stops increasing? Does it always stop after the same count? It would be useful if you could also upload the script.
from ardupilot.
I ran luacheck on your script, it finds a few issues:
scripts/CAN test.lua:2:7: unused variable update_rate_ms
scripts/CAN test.lua:10:7: unused variable get_xy
scripts/CAN test.lua:11:1: setting read-only global variable type
scripts/CAN test.lua:41:16: unused function pow2
scripts/CAN test.lua:58:21: accessing undefined field ldexp of global math
scripts/CAN test.lua:94:10: setting read-only global variable type
It would be useful to double check the script is still running. Can you enable disarmed logging and set SCR_DEBUG_OPTS
bit 3 (value 8) for "log runtime memory usage and execution time".
from ardupilot.
Hi @ketanatzebu,
I'm not too familiar with this area of the code but I guess you tried modifying the CAN_P1_FDBITRATE parameters and it didn't help?
from ardupilot.
.. anyway, I guess this is resolved so I'm going to go ahead and close this issue if that's OK. I've ping'd other developers to get their input on whether we should support 5Mbps or not.
from ardupilot.
Hi @ketanatzebu,
I'm not too familiar with this area of the code but I guess you tried modifying the CAN_P1_FDBITRATE parameters and it didn't help?
Yes, I configured my sensor for 1Mbps and changed the param CAN_P1_FDBITRATE to 1M.
from ardupilot.
Hi @ketanatzebu ,
How did you configure the mmwave sensor and what lua scirpt you have added could you please inform?
Thanks
from ardupilot.
Related Issues (20)
- SITL not working on alpine for Copter 4.5 (still) HOT 11
- AP_Baro: Support MS5837-02BA
- SpeedyBeeF405WING building fail HOT 3
- Copter 4.5.5 MiniPix SDcard issue HOT 1
- Copter 4.5.5 MiniPix BlueJay BLHeli_S DShot 600 timing HOT 2
- IOMCU DShot incorrect when disarmed
- Ardupilot 4.5.5 - Kamera Gimbal Display doesn´t work HOT 1
- Support for A02YYUW ultrasonic sensor
- QuadPlane Frame Class Deca Not Supported HOT 2
- Temp sensor enable defines incorrect HOT 5
- AP_TemperatureSensor: sensor support not enabled on boards >2MB flash HOT 1
- Compiling with cygwin broken!? HOT 27
- plane_ship_landing.lua script bug.
- Plane: neurotic throttle behavior
- DroneCAN virtual serial: reported protocol incorrect HOT 6
- RCInput fails on Raspberry Pi 5: "Unknown Linux Board version!"
- AP_DDS - no tests HOT 1
- #26740 causes old params to appear on Wiki param pages HOT 4
- Potential thread stack overflow in `AP_InertialSensor_ADIS1647x::loop`
- DDVP tail rotor pitch actuator not working correctly
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 ardupilot.