Giter VIP home page Giter VIP logo

Comments (6)

plusk01 avatar plusk01 commented on July 4, 2024

Hi @vxgu86!

Any autopilot can be used as long as you can send velocity commands. The core code is autopilot agnostic. The code that interfaces with the autopilot is in saftey.cpp.

I would suggest writing your own node that subscribes to the /goal topic that comes from safety.cpp (using snapdragon_msgs). Then, use mavros (or whatever) to relay the goal msg to the pixhawk.

from aclswarm.

vxgu86 avatar vxgu86 commented on July 4, 2024

@plusk01 I have questions when running simulation.
I could post picture here so I send you a email at gmail, could you help me please?
thanks, it's about global status error with map error

from aclswarm.

vxgu86 avatar vxgu86 commented on July 4, 2024

@plusk01 I still have not solved this error,could you help please

from aclswarm.

plusk01 avatar plusk01 commented on July 4, 2024

From @vxgu86:


hi,really nice job. and thanks for sharing
I have got some questions, could you share some idea?

##1 you said the following in the github:
To run a simulation (referred to as a trial) use the following incantation. There must not be a roscore running before you run this step.
$ rosrun aclswarm_sim trials.sh -f swarm6_3d -i

but if I start a roscore first, the command above could not executed due to that: A roscore is already running. Shutdown roscore and try again.

##2 when I click start, the RViz and rqt pop out like in the picture, but I could not see any motors,
there is global status error, nothing show up in the right window. I do not know how to fix this?
image

##3 you make this great job with Qualcomm Snapdragon Flight, could I say that, the "Qualcomm Snapdragon Flight" is like a mini-computer+pixhawk?
the ros nodes are running on the mini-computer part and send commands like changespeed to the flying control part like pixhawk?
and the "Qualcomm Snapdragon Flight" is a mixer that combine them together?

I am not familiar with pixhawk, not to say the "Qualcomm Snapdragon Flight".

##4 I recall some algorithm called CBBA, also from MIT, do the consensus have something in common with it?

do you have any explaniation or documents that I can learn from for the job, really great job ,and I want to learn from it.

thanks!!!!!!!!!

from aclswarm.

plusk01 avatar plusk01 commented on July 4, 2024

Thanks for your kind words!

  1. The instructions say: "There must not be a roscore running before you run this step."
  2. I have added an rviz file that automatically configures the sim visualization in a3d00bb. Pull and run the same steps again.
  3. Correct, Snapdragon flight is a mini-computer + pixhawk autopilot. ROS runs on snapdragon flight Linux CPU side, sends motor commands to DSP/low-level microcontroller side.
  4. Yes, we utilize CBAA in our distributed task assignment algorithm. See our paper for more details.

Hope this helps!

from aclswarm.

plusk01 avatar plusk01 commented on July 4, 2024

closing, feel free to reopen if you're still having issues

from aclswarm.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.