Comments (6)
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.
Related Issues (20)
- Can implement Custom Control in Plane HOT 2
- SIM_Plane.cpp uses torque as rotation acceleration when updating simulation dynamics
- Tools- Environment install fails on Ubunru 24.04, no package python-argparse
- DFU / USB Device Descriptor broken in Bootloader HOT 3
- Takeoff in GUIDED mode without GPS/GNSS but SLAM HOT 6
- Rover: SITL RTL_SPEED only allows 1m/s increments contrary to description HOT 1
- Copter: allow Loiter mode surface tracking to use the terrain database
- AP_Camera: 2nd camera should use different PWM output HOT 2
- AP_Mount: DJI RS2/3 should support "follow" during RC rate control
- Ardupilot v4.5.1 Batt4 Percentage Issue HOT 3
- Random values when sending mode switch request in SITL with ROS2 HOT 5
- Copter reverse motors via Lua
- ROS Guided control ambiguous behavior on which control commands have timeout or flyaway risk
- AP_GPS_GSOF: Supply 5Hz GPS for robust EKF
- AP_GPS_GSOF: Initial EAHRS support
- AP_Mount: add support for Siyi ZT6
- Ardupilot V4.5.x - ESC telemetry on the OSD has "stopped working" HOT 3
- ardu plane 4.5.2 flight modes not processed HOT 2
- AP_Mount: Siyi, SToRM32_serial and ViewPro drivers always use 1st gimbal serial device
- MOT_PWM_MIN, MOT_PWM_MAX are reset to default values automatically HOT 7
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.