New Mavlink Message and mavproxy

Hi 

I am trying to add new mavlink message, pretty simple one:

<message id="159" name="LASER_LANDER">
<description>The data comming from laser landing aid</description>
<field type="uint64_t" name="time_usec">Timestamp (micros since boot or Unix epoch)</field>
<field type="uint16_t" name="distance">The distance from the run-way</field>
<field type="int16_t" name="azimuth">The azimuth to the run-way</field>
<field type="uint8_t" name="state">The laser sensor state</field>
<field type="uint16_t" name="base_rpm">The laser base RPM</field>
</message>

I edited the ArduPlane code to send it and edited Mission Planner to read it and it is all working when i am running SITL as 

ArduPlane.elf -S -I0 --home 32.8050684,35.0459039,10,340 --model jsbsim --speedup=1 --defaults ../Tools/autotest/ArduPlane.parm

and connecting MP via TCP (see the screen capture).

but when running with MAVPROXY i can't get it to read the message and forward it over UDP, when i check the status i see:

BAD_DATA {unknown MAVLink message ID 159, data: ....

so i am trying to update my pymavlink with the same XML i used for the plane and MP code so i ran "$ python setup.py install" from pymavlink and got what looks like a good result:

Installed /usr/lib/python2.7/site-packages/pymavlink-1.1.70-py2.7-cygwin-2.4.1-i686.egg
Processing dependencies for pymavlink==1.1.70
Finished processing dependencies for pymavlink==1.1.70

but still mavproxy wont read and forward my message... which is a bad way of doing a proxy it should push it forward even if it can't read ... just pass on the bytes level data.

any idea what else can i do?

thanks 

Capture.PNG

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Activity

DIY Robocars via Twitter
RT @SmallpixelCar: Wrote a program to find the light positions at @circuitlaunch. Here is the hypothesis of the light locations updating ba…
3 hours ago
DIY Robocars via Twitter
RT @SmallpixelCar: Broke my @HokuyoUsa Lidar today. Luckily the non-cone localization, based on @a1k0n LightSLAM idea, works. It will help…
yesterday
DIY Robocars via Twitter
@gclue_akira CC @NVIDIAEmbedded
Wednesday
DIY Robocars via Twitter
RT @luxonis: OAK-D PoE Autonomous Vehicle (Courtesy of zonyl in our Discord: https://discord.gg/EPsZHkg9Nx) https://t.co/PNDewvJdrb
Wednesday
DIY Robocars via Twitter
RT @f1tenth: It is getting dark and rainy on the F1TENTH racetrack in the @LGSVLSimulator. Testing out the new flood lights for the racetra…
Wednesday
DIY Robocars via Twitter
RT @JoeSpeeds: Live Now! Alex of @IndyAChallenge winning @TU_Muenchen team talking about their racing strategy and open source @OpenRobotic…
Nov 20
DIY Robocars via Twitter
RT @DAVGtech: Live NOW! Alexander Wischnewski of Indy Autonomous Challenge winning TUM team talking racing @diyrobocars @Heavy02011 @Ottawa…
Nov 20
DIY Robocars via Twitter
Incredible training performance with Donkeycar https://www.youtube.com/watch?v=9yy7ASttw04
Nov 9
DIY Robocars via Twitter
RT @JoeSpeeds: Sat Nov 6 Virtual DonkeyCar (and other cars, too) Race. So bring any car? @diyrobocars @IndyAChallenge https://t.co/nZQTff5…
Oct 31
DIY Robocars via Twitter
RT @JoeSpeeds: @chr1sa awesomely scary to see in person as our $1M robot almost clipped the walls as it spun at 140mph. But it was also awe…
Oct 29
DIY Robocars via Twitter
RT @chr1sa: Hey, @a1k0n's amazing "localize by the ceiling lights" @diyrobocars made @hackaday! It's consistently been the fastest in our…
Oct 25
DIY Robocars via Twitter
RT @IMS: It’s only fitting that @BostonDynamics Spot is waving the green flag for today’s @IndyAChallenge! Watch LIVE 👉 https://t.co/NtKnO…
Oct 23
DIY Robocars via Twitter
RT @IndyAChallenge: Congratulations to @TU_Muenchen the winners of the historic @IndyAChallenge and $1M. The first autonomous racecar comp…
Oct 23
DIY Robocars via Twitter
RT @JoeSpeeds: 🏎@TU_Muenchen #ROS 2 @EclipseCyclone #DDS #Zenoh 137mph. Saturday 10am EDT @IndyAChallenge @Twitch http://indyautonomouschallenge.com/stream
Oct 23
DIY Robocars via Twitter
RT @DAVGtech: Another incident: https://t.co/G1pTxQug6B
Oct 23
DIY Robocars via Twitter
RT @DAVGtech: What a great way to connect why @diyrobocars community is so valuable and important! Have to start somewhere @IndyAChallenge…
Oct 23
More…